0s autopkgtest [14:53:21]: starting date: 2024-03-09 0s autopkgtest [14:53:21]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [14:53:21]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3nil8tb0/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:dbus,src:glib2.0 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 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-30.secgroup --name adt-noble-arm64-glib2.0-20240309-145321-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/ 220s autopkgtest [14:57:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup 221s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 222s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 222s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 222s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2631 kB] 226s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 226s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [573 kB] 227s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 227s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 227s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 227s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2876 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] 238s Fetched 6739 kB in 9s (733 kB/s) 239s Reading package lists... 251s Reading package lists... 252s Building dependency tree... 252s Reading state information... 254s Calculating upgrade... 255s The following package was automatically installed and is no longer required: 255s ubuntu-advantage-tools 255s Use 'sudo apt autoremove' to remove it. 255s The following packages will be REMOVED: 255s libglib2.0-0 255s The following NEW packages will be installed: 255s libglib2.0-0t64 xdg-user-dirs 255s The following packages will be upgraded: 255s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 255s dbus-user-session efibootmgr gir1.2-glib-2.0 libdbus-1-3 libglib2.0-data 255s ubuntu-minimal ubuntu-standard 256s 12 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 256s Need to get 2386 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] 256s 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 dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 257s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-user-session arm64 1.14.10-4ubuntu2 [9960 B] 257s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-daemon arm64 1.14.10-4ubuntu2 [115 kB] 257s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-bin arm64 1.14.10-4ubuntu2 [38.8 kB] 257s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 257s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus arm64 1.14.10-4ubuntu2 [23.9 kB] 257s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdbus-1-3 arm64 1.14.10-4ubuntu2 [210 kB] 257s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 257s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 257s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 257s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 257s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 259s Fetched 2386 kB in 2s (1515 kB/s) 260s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 260s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 260s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 260s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 260s udisks2 depends on libglib2.0-0 (>= 2.77.0). 260s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 260s python3-gi depends on libglib2.0-0 (>= 2.77.0). 260s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 260s netplan.io depends on libglib2.0-0 (>= 2.70.0). 260s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 260s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 260s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 260s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 260s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 260s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 260s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 260s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 260s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 260s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 260s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 260s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 260s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 260s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 260s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 260s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 260s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 260s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 260s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 260s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 260s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 260s fwupd depends on libglib2.0-0 (>= 2.79.0). 260s bolt depends on libglib2.0-0 (>= 2.56.0). 260s 260s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 260s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 260s Selecting previously unselected package libglib2.0-0t64:arm64. 260s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 261s Preparing to unpack .../00-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 261s 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... 261s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 261s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 261s Preparing to unpack .../01-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 261s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 261s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_arm64.deb ... 261s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 261s Preparing to unpack .../03-dbus-daemon_1.14.10-4ubuntu2_arm64.deb ... 261s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 261s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_arm64.deb ... 261s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 261s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 261s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 261s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_arm64.deb ... 262s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 262s Preparing to unpack .../07-libdbus-1-3_1.14.10-4ubuntu2_arm64.deb ... 262s Unpacking libdbus-1-3:arm64 (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 262s Preparing to unpack .../08-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 262s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 262s Preparing to unpack .../09-ubuntu-minimal_1.535_arm64.deb ... 262s Unpacking ubuntu-minimal (1.535) over (1.534) ... 262s Selecting previously unselected package xdg-user-dirs. 262s Preparing to unpack .../10-xdg-user-dirs_0.18-1_arm64.deb ... 262s Unpacking xdg-user-dirs (0.18-1) ... 262s Preparing to unpack .../11-ubuntu-standard_1.535_arm64.deb ... 262s Unpacking ubuntu-standard (1.535) over (1.534) ... 262s Preparing to unpack .../12-efibootmgr_18-1build1_arm64.deb ... 262s Unpacking efibootmgr (18-1build1) over (18-1) ... 262s Setting up efibootmgr (18-1build1) ... 262s Setting up ubuntu-minimal (1.535) ... 262s Setting up xdg-user-dirs (0.18-1) ... 262s Setting up ubuntu-standard (1.535) ... 262s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 262s No schema files found: doing nothing. 262s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 262s Setting up libdbus-1-3:arm64 (1.14.10-4ubuntu2) ... 262s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 262s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 262s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 263s Setting up dbus-bin (1.14.10-4ubuntu2) ... 263s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 263s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 263s Setting up dbus (1.14.10-4ubuntu2) ... 263s A reboot is required to replace the running dbus-daemon. 263s Please reboot the system when convenient. 264s Processing triggers for man-db (2.12.0-3) ... 266s Processing triggers for libc-bin (2.39-0ubuntu2) ... 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s 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 268s Reading package lists... 269s Building dependency tree... 269s Reading state information... 271s The following packages will be REMOVED: 271s ubuntu-advantage-tools* 272s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 272s After this operation, 71.7 kB disk space will be freed. 273s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 273s Removing ubuntu-advantage-tools (31.1) ... 273s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 273s Purging configuration files for ubuntu-advantage-tools (31.1) ... 277s sh: Attempting to set up Debian/Ubuntu apt sources automatically 277s sh: Distribution appears to be Ubuntu 287s Reading package lists... 288s Building dependency tree... 288s Reading state information... 290s eatmydata is already the newest version (131-1). 290s dbus is already the newest version (1.14.10-4ubuntu2). 290s dbus set to manually installed. 290s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 290s 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 291s Reading package lists... 292s Building dependency tree... 292s Reading state information... 294s rng-tools-debian is already the newest version (2.4). 294s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 294s Reading package lists... 295s Building dependency tree... 295s Reading state information... 297s haveged is already the newest version (1.9.14-1ubuntu1). 297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 297s Reading package lists... 298s Building dependency tree... 298s Reading state information... 300s The following packages will be REMOVED: 300s cloud-init* python3-configobj* python3-debconf* 301s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 301s After this operation, 3248 kB disk space will be freed. 301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 301s Removing cloud-init (24.1-0ubuntu1) ... 303s Removing python3-configobj (5.0.8-3) ... 304s Removing python3-debconf (1.5.86) ... 304s Processing triggers for man-db (2.12.0-3) ... 305s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 305s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 308s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 308s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 310s Reading package lists... 311s Building dependency tree... 311s Reading state information... 313s linux-generic is already the newest version (6.8.0-11.11+1). 313s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 314s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 314s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 314s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 314s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 314s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 327s Reading package lists... 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s 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 327s Reading package lists... 328s Building dependency tree... 328s Reading state information... 330s Calculating upgrade... 331s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 331s Reading package lists... 332s Building dependency tree... 332s Reading state information... 334s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 335s autopkgtest [14:58:56]: rebooting testbed after setup commands that affected boot 507s autopkgtest [15:01:48]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 508s autopkgtest [15:01:49]: testbed dpkg architecture: arm64 510s autopkgtest [15:01:51]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 511s 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 532s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (dsc) [4729 B] 532s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (tar) [263 kB] 532s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (tar) [5507 kB] 532s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (diff) [129 kB] 532s gpgv: Signature made Thu Mar 7 18:10:17 2024 UTC 532s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 532s gpgv: Can't check signature: No public key 532s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu3.dsc: no acceptable signature found 535s autopkgtest [15:02:16]: testing package glib2.0 version 2.79.3-3ubuntu3 535s autopkgtest [15:02:16]: build not needed 538s autopkgtest [15:02:19]: test build: preparing testbed 546s Reading package lists... 546s Building dependency tree... 546s Reading state information... 547s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 548s Starting 2 pkgProblemResolver with broken count: 0 548s Done 549s Done 550s Starting pkgProblemResolver with broken count: 0 551s Starting 2 pkgProblemResolver with broken count: 0 551s Done 553s The following additional packages will be installed: 553s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 553s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 553s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 553s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 553s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 553s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 553s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 553s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 553s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 553s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 553s Suggested packages: 553s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 553s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 553s glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 553s libxml2-utils libstdc++-13-doc 553s Recommended packages: 553s manpages manpages-dev libc-devtools 553s The following packages will be REMOVED: 553s libelf1 553s The following NEW packages will be installed: 553s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 553s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 553s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 553s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 553s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 553s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 553s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 553s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 553s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 553s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 554s 0 upgraded, 53 newly installed, 1 to remove and 0 not upgraded. 554s 1 not fully installed or removed. 554s Need to get 67.0 MB of archives. 554s After this operation, 244 MB of additional disk space will be used. 554s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 554s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build1 [57.9 kB] 554s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu3 [97.1 kB] 554s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 554s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu3 [71.5 kB] 554s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu3 [215 kB] 554s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 554s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 555s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 555s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 555s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 555s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 555s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 555s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 555s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 555s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 555s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 555s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 555s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 555s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 555s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 555s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 555s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 555s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 555s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 555s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 555s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev arm64 2.79.3-3ubuntu3 [1888 kB] 556s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 556s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 556s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 557s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 557s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 557s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 557s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 557s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 557s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 557s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 557s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 557s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 557s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 558s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 558s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 558s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 558s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 561s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 561s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 561s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 561s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 561s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 562s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 562s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 562s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 562s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 564s Fetched 67.0 MB in 8s (7969 kB/s) 564s Selecting previously unselected package libffi-dev:arm64. 565s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 565s Preparing to unpack .../libffi-dev_3.4.6-1_arm64.deb ... 565s Unpacking libffi-dev:arm64 (3.4.6-1) ... 565s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 565s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 565s libbpf1:arm64 depends on libelf1 (>= 0.144). 565s iproute2 depends on libelf1 (>= 0.131). 565s 565s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 565s Removing libelf1:arm64 (0.190-1) ... 565s Selecting previously unselected package libelf1t64:arm64. 565s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 565s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_arm64.deb ... 565s Unpacking libelf1t64:arm64 (0.190-1.1build1) ... 565s Selecting previously unselected package libglib2.0-bin. 565s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu3_arm64.deb ... 565s Unpacking libglib2.0-bin (2.79.3-3ubuntu3) ... 566s Selecting previously unselected package python3-packaging. 566s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 566s Unpacking python3-packaging (23.2-1) ... 566s Selecting previously unselected package libgirepository-2.0-0:arm64. 566s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu3_arm64.deb ... 566s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 566s Selecting previously unselected package libglib2.0-dev-bin. 566s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu3_arm64.deb ... 566s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 566s Selecting previously unselected package libc-dev-bin. 566s Preparing to unpack .../05-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 566s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 566s Selecting previously unselected package linux-libc-dev:arm64. 566s Preparing to unpack .../06-linux-libc-dev_6.8.0-11.11_arm64.deb ... 566s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 568s Selecting previously unselected package libcrypt-dev:arm64. 568s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 568s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 568s Selecting previously unselected package libtirpc-dev:arm64. 568s Preparing to unpack .../08-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 568s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 568s Selecting previously unselected package libnsl-dev:arm64. 568s Preparing to unpack .../09-libnsl-dev_1.3.0-3_arm64.deb ... 568s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 569s Selecting previously unselected package rpcsvc-proto. 569s Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 569s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 569s Selecting previously unselected package libc6-dev:arm64. 569s Preparing to unpack .../11-libc6-dev_2.39-0ubuntu2_arm64.deb ... 569s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 570s Selecting previously unselected package uuid-dev:arm64. 570s Preparing to unpack .../12-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 570s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 570s Selecting previously unselected package libblkid-dev:arm64. 570s Preparing to unpack .../13-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 570s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 570s Selecting previously unselected package libsepol-dev:arm64. 570s Preparing to unpack .../14-libsepol-dev_3.5-2_arm64.deb ... 570s Unpacking libsepol-dev:arm64 (3.5-2) ... 570s Selecting previously unselected package libpcre2-16-0:arm64. 570s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 570s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 570s Selecting previously unselected package libpcre2-32-0:arm64. 571s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 571s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 571s Selecting previously unselected package libpcre2-posix3:arm64. 571s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 571s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 571s Selecting previously unselected package libpcre2-dev:arm64. 571s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 571s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 571s Selecting previously unselected package libselinux1-dev:arm64. 571s Preparing to unpack .../19-libselinux1-dev_3.5-2build1_arm64.deb ... 571s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 571s Selecting previously unselected package libmount-dev:arm64. 571s Preparing to unpack .../20-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 571s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 572s Selecting previously unselected package libpkgconf3:arm64. 572s Preparing to unpack .../21-libpkgconf3_1.8.1-2_arm64.deb ... 572s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 572s Selecting previously unselected package pkgconf-bin. 572s Preparing to unpack .../22-pkgconf-bin_1.8.1-2_arm64.deb ... 572s Unpacking pkgconf-bin (1.8.1-2) ... 572s Selecting previously unselected package pkgconf:arm64. 572s Preparing to unpack .../23-pkgconf_1.8.1-2_arm64.deb ... 572s Unpacking pkgconf:arm64 (1.8.1-2) ... 572s Selecting previously unselected package zlib1g-dev:arm64. 572s Preparing to unpack .../24-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 572s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 572s Selecting previously unselected package libglib2.0-dev:arm64. 572s Preparing to unpack .../25-libglib2.0-dev_2.79.3-3ubuntu3_arm64.deb ... 572s Unpacking libglib2.0-dev:arm64 (2.79.3-3ubuntu3) ... 573s Selecting previously unselected package libisl23:arm64. 573s Preparing to unpack .../26-libisl23_0.26-3_arm64.deb ... 573s Unpacking libisl23:arm64 (0.26-3) ... 573s Selecting previously unselected package libmpc3:arm64. 573s Preparing to unpack .../27-libmpc3_1.3.1-1_arm64.deb ... 573s Unpacking libmpc3:arm64 (1.3.1-1) ... 573s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 573s Preparing to unpack .../28-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 573s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 574s Selecting previously unselected package cpp-13. 574s Preparing to unpack .../29-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 574s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 574s Selecting previously unselected package cpp-aarch64-linux-gnu. 574s Preparing to unpack .../30-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 574s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 574s Selecting previously unselected package cpp. 574s Preparing to unpack .../31-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 574s Unpacking cpp (4:13.2.0-7ubuntu1) ... 574s Selecting previously unselected package libcc1-0:arm64. 574s Preparing to unpack .../32-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 574s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 575s Selecting previously unselected package libgomp1:arm64. 575s Preparing to unpack .../33-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 575s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 575s Selecting previously unselected package libitm1:arm64. 575s Preparing to unpack .../34-libitm1_14-20240303-1ubuntu1_arm64.deb ... 575s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 575s Selecting previously unselected package libatomic1:arm64. 575s Preparing to unpack .../35-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 575s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 575s Selecting previously unselected package libasan8:arm64. 575s Preparing to unpack .../36-libasan8_14-20240303-1ubuntu1_arm64.deb ... 575s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 575s Selecting previously unselected package liblsan0:arm64. 575s Preparing to unpack .../37-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 575s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 575s Selecting previously unselected package libtsan2:arm64. 575s Preparing to unpack .../38-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 575s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 576s Selecting previously unselected package libubsan1:arm64. 576s Preparing to unpack .../39-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 576s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 576s Selecting previously unselected package libhwasan0:arm64. 576s Preparing to unpack .../40-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 576s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 576s Selecting previously unselected package libgcc-13-dev:arm64. 576s Preparing to unpack .../41-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 576s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 577s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 577s Preparing to unpack .../42-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 577s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 579s Selecting previously unselected package gcc-13. 579s Preparing to unpack .../43-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 579s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 579s Selecting previously unselected package gcc-aarch64-linux-gnu. 579s Preparing to unpack .../44-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 579s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 579s Selecting previously unselected package gcc. 579s Preparing to unpack .../45-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 579s Unpacking gcc (4:13.2.0-7ubuntu1) ... 579s Selecting previously unselected package libstdc++-13-dev:arm64. 579s Preparing to unpack .../46-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 579s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 580s Selecting previously unselected package g++-13-aarch64-linux-gnu. 580s Preparing to unpack .../47-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 580s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 581s Selecting previously unselected package g++-13. 581s Preparing to unpack .../48-g++-13_13.2.0-17ubuntu2_arm64.deb ... 581s Unpacking g++-13 (13.2.0-17ubuntu2) ... 581s Selecting previously unselected package g++-aarch64-linux-gnu. 581s Preparing to unpack .../49-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 581s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 581s Selecting previously unselected package g++. 581s Preparing to unpack .../50-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 581s Unpacking g++ (4:13.2.0-7ubuntu1) ... 581s Selecting previously unselected package build-essential. 581s Preparing to unpack .../51-build-essential_12.10ubuntu1_arm64.deb ... 581s Unpacking build-essential (12.10ubuntu1) ... 582s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 582s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 582s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libffi-dev:arm64 (3.4.6-1) ... 582s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 582s Setting up libelf1t64:arm64 (0.190-1.1build1) ... 582s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 582s Setting up python3-packaging (23.2-1) ... 582s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 582s Setting up libpkgconf3:arm64 (1.8.1-2) ... 582s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 582s Setting up libmpc3:arm64 (1.3.1-1) ... 582s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libsepol-dev:arm64 (3.5-2) ... 582s Setting up pkgconf-bin (1.8.1-2) ... 582s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 582s Setting up libnsl-dev:arm64 (1.3.0-3) ... 582s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 582s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libisl23:arm64 (0.26-3) ... 582s Setting up libc-dev-bin (2.39-0ubuntu2) ... 582s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 582s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 582s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 583s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 583s Setting up libglib2.0-bin (2.79.3-3ubuntu3) ... 583s Setting up pkgconf:arm64 (1.8.1-2) ... 583s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 583s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 583s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 583s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 583s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 583s Setting up cpp-13 (13.2.0-17ubuntu2) ... 583s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 583s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 583s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 583s Setting up gcc-13 (13.2.0-17ubuntu2) ... 583s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 583s Setting up cpp (4:13.2.0-7ubuntu1) ... 583s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 583s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 583s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 583s Setting up g++-13 (13.2.0-17ubuntu2) ... 583s Setting up gcc (4:13.2.0-7ubuntu1) ... 583s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 583s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 583s Setting up libglib2.0-dev:arm64 (2.79.3-3ubuntu3) ... 583s Setting up g++ (4:13.2.0-7ubuntu1) ... 583s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 583s Setting up build-essential (12.10ubuntu1) ... 583s Processing triggers for libc-bin (2.39-0ubuntu2) ... 583s Processing triggers for man-db (2.12.0-3) ... 586s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 586s No schema files found: doing nothing. 586s Processing triggers for install-info (7.1-3) ... 586s Setting up autopkgtest-satdep (0) ... 594s (Reading database ... 79220 files and directories currently installed.) 594s Removing autopkgtest-satdep (0) ... 596s autopkgtest [15:03:17]: test build: [----------------------- 597s + mode=dynamic 597s + getopt -o --long static -n debian/tests/build -- 597s + getopt_temp= -- 597s + eval set -- -- 597s + set -- -- 597s + true 597s + shift 597s + break 597s + mktemp -d 597s + WORKDIR=/tmp/tmp.wZFbz2FhBV 597s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 597s + cd /tmp/tmp.wZFbz2FhBV 597s + [ -n ] 597s + CROSS_COMPILE= 597s + cat 597s + cat 597s + cat 597s + cat 597s + cat 597s + cat 597s + cflags= 597s + pcflags= 597s + packages=glib-2.0 597s + pkg-config --cflags --libs glib-2.0 597s + 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 597s + build (glib, dynamic): OK 597s run (glib, dynamic): OK 597s echo build (glib, dynamic): OK 597s + [ -x glib-dynamic ] 597s + foo=bar ./glib-dynamic 597s + echo run (glib, dynamic): OK 597s + cflags= 597s + pcflags= 597s + packages=gobject-2.0 597s + pkg-config --cflags --libs gobject-2.0 597s + 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 598s build (gobject, dynamic): OK 598s + echo build (gobject, dynamic): OK 598s + [ -x gobject-dynamic ] 598s + foo=bar ./gobject-dynamic 598s + run (gobject, dynamic): OK 598s echo run (gobject, dynamic): OK 598s + cflags= 598s + pcflags= 598s + packages=gio-2.0 598s + pkg-config --cflags --libs gio-2.0 598s + 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 598s + echo build (gio, dynamic): OK 598s build (gio, dynamic): OK 598s + [ -x gio-dynamic ] 598s + foo=bar ./gio-dynamic 598s + echo run (gio, dynamic): OK 598s + cflags= 598s + pcflags= 598s + packages=gio-unix-2.0 598s + pkg-config --cflags --libs gio-unix-2.0 598s run (gio, dynamic): OK 598s + 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 599s build (gio-unix, dynamic): OK 599s + echo build (gio-unix, dynamic): OK 599s + [ -x gio-unix-dynamic ] 599s + foo=bar ./gio-unix-dynamic 599s + echo run (gio-unix, dynamic): OK 599s + cflags= 599s + pcflags= 599s + packages=gmodule-2.0 599s + pkg-config --cflags --libs gmodule-2.0 599s run (gio-unix, dynamic): OK 599s + 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 599s + echo build (gmodule, dynamic): OK 599s + [ -x gmodule-dynamic ] 599s + foo=bar ./gmodule-dynamic 599s build (gmodule, dynamic): OK 599s + echo run (gmodule, dynamic): OK 599s + cflags= 599s + pcflags= 599s + packages=gthread-2.0 600s run (gmodule, dynamic): OK 600s + pkg-config --cflags --libs gthread-2.0 600s + 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 600s build (gthread, dynamic): OK 600s + echo build (gthread, dynamic): OK 600s + [ -x gthread-dynamic ] 600s + foo=bar ./gthread-dynamic 600s + echo run (gthread, dynamic): OK 600s + rm -rf /tmp/tmp.wZFbz2FhBV 600s run (gthread, dynamic): OK 600s autopkgtest [15:03:21]: test build: -----------------------] 601s autopkgtest [15:03:22]: test build: - - - - - - - - - - results - - - - - - - - - - 601s build PASS (superficial) 602s autopkgtest [15:03:23]: test build-static: preparing testbed 605s Reading package lists... 606s Building dependency tree... 606s Reading state information... 607s Starting pkgProblemResolver with broken count: 0 607s Starting 2 pkgProblemResolver with broken count: 0 607s Done 610s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 610s 1 not fully installed or removed. 610s After this operation, 0 B of additional disk space will be used. 610s Setting up autopkgtest-satdep (0) ... 618s (Reading database ... 79220 files and directories currently installed.) 618s Removing autopkgtest-satdep (0) ... 621s autopkgtest [15:03:42]: test build-static: [----------------------- 622s + mode=dynamic 622s + getopt -o --long static -n debian/tests/build -- --static 622s + getopt_temp= --static -- 622s + eval set -- --static -- 622s + set -- --static -- 622s + true 622s + mode=static 622s + shift 622s + continue 622s + true 622s + shift 622s + break 622s + mktemp -d 622s + WORKDIR=/tmp/tmp.clrGnQYdeC 622s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 622s + cd /tmp/tmp.clrGnQYdeC 622s + [ -n ] 622s + CROSS_COMPILE= 622s + cat 622s + cat 622s + cat 622s + cat 622s + cat 622s + cat 622s + cflags= 622s + pcflags= 622s + packages=glib-2.0 622s + cflags=-static 622s + pcflags=--static 622s + pkg-config --static --cflags --libs glib-2.0 622s + 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 622s /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': 622s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 622s /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 622s /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 622s + echo build (glib, static): OK 622s + [ -x glib-staticbuild (glib, static): OK 622s ] 622s + run (glib, static): OK 622s foo=bar ./glib-static 622s + echo run (glib, static): OK 622s + cflags= 622s + pcflags= 622s + packages=gobject-2.0 622s + cflags=-static 622s + pcflags=--static 622s + pkg-config --static --cflags --libs gobject-2.0 622s + 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 623s /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': 623s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 623s /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 623s /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 623s + echo build (gobject, static): OK 623s + [ -x gobject-static ] 623s + foo=bar ./gobject-static 623s build (gobject, static): OK 623s + run (gobject, static): OK 623s echo run (gobject, static): OK 623s + cflags= 623s + pcflags= 623s + packages=gio-2.0 623s + cflags=-static 623s + pcflags=--static 623s + continue 623s + cflags= 623s + pcflags= 623s + packages=gio-unix-2.0 623s + cflags=-static 623s + pcflags=--static 623s + continue 623s + cflags= 623s + pcflags= 623s + packages=gmodule-2.0 623s + cflags=-static 623s + pcflags=--static 623s + pkg-config --static --cflags --libs gmodule-2.0 623s + 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 624s /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': 624s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 624s /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': 624s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 624s /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 624s /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 624s + echobuild (gmodule, static): OK 624s build (gmodule, static): OK 624s + [ -x gmodule-static ] 624s + foo=bar ./gmodule-static 624s run (gmodule, static): OK 624s + echo run (gmodule, static): OK 624s + cflags= 624s + pcflags= 624s + packages=gthread-2.0 624s + cflags=-static 624s + pcflags=--static 624s + pkg-config --static --cflags --libs gthread-2.0 624s + 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 624s /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': 624s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 624s /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 624s /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 625s + echo build (gthread, static): OK 625s build (gthread, static): OK 625s + [ -x gthread-static ] 625s + foo=bar ./gthread-static 625s + run (gthread, static): OK 625s echo run (gthread, static): OK 625s + rm -rf /tmp/tmp.clrGnQYdeC 625s autopkgtest [15:03:46]: test build-static: -----------------------] 626s autopkgtest [15:03:47]: test build-static: - - - - - - - - - - results - - - - - - - - - - 626s build-static PASS (superficial) 626s autopkgtest [15:03:47]: test installed-tests: preparing testbed 772s autopkgtest [15:06:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 773s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 774s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 774s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 774s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 774s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2631 kB] 775s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [573 kB] 775s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 775s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 775s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 775s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2876 kB] 775s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 775s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.2 kB] 775s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 785s Fetched 6739 kB in 5s (1485 kB/s) 786s Reading package lists... 800s Reading package lists... 800s Building dependency tree... 800s Reading state information... 802s Calculating upgrade... 803s The following package was automatically installed and is no longer required: 803s ubuntu-advantage-tools 803s Use 'sudo apt autoremove' to remove it. 804s The following packages will be REMOVED: 804s libglib2.0-0 804s The following NEW packages will be installed: 804s libglib2.0-0t64 xdg-user-dirs 804s The following packages will be upgraded: 804s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 804s dbus-user-session efibootmgr gir1.2-glib-2.0 libdbus-1-3 libglib2.0-data 804s ubuntu-minimal ubuntu-standard 804s 12 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 804s Need to get 2386 kB of archives. 804s After this operation, 138 kB of additional disk space will be used. 804s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 804s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 805s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 805s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-user-session arm64 1.14.10-4ubuntu2 [9960 B] 805s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-daemon arm64 1.14.10-4ubuntu2 [115 kB] 805s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-bin arm64 1.14.10-4ubuntu2 [38.8 kB] 805s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 805s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus arm64 1.14.10-4ubuntu2 [23.9 kB] 805s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdbus-1-3 arm64 1.14.10-4ubuntu2 [210 kB] 805s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 805s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 805s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 805s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 805s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 806s Fetched 2386 kB in 1s (2738 kB/s) 807s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 807s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 807s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 807s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 807s udisks2 depends on libglib2.0-0 (>= 2.77.0). 807s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 807s python3-gi depends on libglib2.0-0 (>= 2.77.0). 807s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 807s netplan.io depends on libglib2.0-0 (>= 2.70.0). 807s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 807s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 807s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 807s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 807s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 807s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 807s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 807s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 807s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 807s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 807s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 807s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 807s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 807s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 807s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 807s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 807s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 807s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 807s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 807s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 807s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 807s fwupd depends on libglib2.0-0 (>= 2.79.0). 807s bolt depends on libglib2.0-0 (>= 2.56.0). 807s 807s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 807s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 807s Selecting previously unselected package libglib2.0-0t64:arm64. 807s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 807s Preparing to unpack .../00-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 807s 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... 807s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 807s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 808s Preparing to unpack .../01-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 808s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 808s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_arm64.deb ... 808s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 808s Preparing to unpack .../03-dbus-daemon_1.14.10-4ubuntu2_arm64.deb ... 808s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 808s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_arm64.deb ... 808s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 808s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 808s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 808s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_arm64.deb ... 808s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 808s Preparing to unpack .../07-libdbus-1-3_1.14.10-4ubuntu2_arm64.deb ... 808s Unpacking libdbus-1-3:arm64 (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 809s Preparing to unpack .../08-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 809s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 809s Preparing to unpack .../09-ubuntu-minimal_1.535_arm64.deb ... 809s Unpacking ubuntu-minimal (1.535) over (1.534) ... 809s Selecting previously unselected package xdg-user-dirs. 809s Preparing to unpack .../10-xdg-user-dirs_0.18-1_arm64.deb ... 809s Unpacking xdg-user-dirs (0.18-1) ... 809s Preparing to unpack .../11-ubuntu-standard_1.535_arm64.deb ... 809s Unpacking ubuntu-standard (1.535) over (1.534) ... 809s Preparing to unpack .../12-efibootmgr_18-1build1_arm64.deb ... 809s Unpacking efibootmgr (18-1build1) over (18-1) ... 809s Setting up efibootmgr (18-1build1) ... 809s Setting up ubuntu-minimal (1.535) ... 809s Setting up xdg-user-dirs (0.18-1) ... 809s Setting up ubuntu-standard (1.535) ... 809s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 809s No schema files found: doing nothing. 809s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 809s Setting up libdbus-1-3:arm64 (1.14.10-4ubuntu2) ... 809s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 809s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 809s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 809s Setting up dbus-bin (1.14.10-4ubuntu2) ... 809s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 809s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 809s Setting up dbus (1.14.10-4ubuntu2) ... 809s A reboot is required to replace the running dbus-daemon. 809s Please reboot the system when convenient. 811s Processing triggers for man-db (2.12.0-3) ... 813s Processing triggers for libc-bin (2.39-0ubuntu2) ... 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s 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 814s Reading package lists... 815s Building dependency tree... 815s Reading state information... 817s The following packages will be REMOVED: 817s ubuntu-advantage-tools* 818s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 818s After this operation, 71.7 kB disk space will be freed. 818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 818s Removing ubuntu-advantage-tools (31.1) ... 818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 818s Purging configuration files for ubuntu-advantage-tools (31.1) ... 822s sh: Attempting to set up Debian/Ubuntu apt sources automatically 822s sh: Distribution appears to be Ubuntu 831s Reading package lists... 832s Building dependency tree... 832s Reading state information... 834s eatmydata is already the newest version (131-1). 834s dbus is already the newest version (1.14.10-4ubuntu2). 834s dbus set to manually installed. 834s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s 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 834s Reading package lists... 835s Building dependency tree... 835s Reading state information... 836s rng-tools-debian is already the newest version (2.4). 836s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 837s Reading package lists... 837s Building dependency tree... 837s Reading state information... 839s haveged is already the newest version (1.9.14-1ubuntu1). 839s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 840s Reading package lists... 840s Building dependency tree... 840s Reading state information... 842s The following packages will be REMOVED: 842s cloud-init* python3-configobj* python3-debconf* 843s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 843s After this operation, 3248 kB disk space will be freed. 843s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 843s Removing cloud-init (24.1-0ubuntu1) ... 846s Removing python3-configobj (5.0.8-3) ... 846s Removing python3-debconf (1.5.86) ... 846s Processing triggers for man-db (2.12.0-3) ... 847s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 847s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 850s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 850s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 852s Reading package lists... 853s Building dependency tree... 853s Reading state information... 854s linux-generic is already the newest version (6.8.0-11.11+1). 854s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 855s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 855s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 855s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 855s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 856s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 868s Reading package lists... 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s 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 868s Reading package lists... 869s Building dependency tree... 869s Reading state information... 870s Calculating upgrade... 871s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 872s Reading package lists... 872s Building dependency tree... 872s Reading state information... 875s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 875s autopkgtest [15:07:56]: rebooting testbed after setup commands that affected boot 1034s autopkgtest [15:10:35]: testbed dpkg architecture: arm64 1039s Reading package lists... 1040s Building dependency tree... 1040s Reading state information... 1040s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 1041s Starting 2 pkgProblemResolver with broken count: 0 1041s Done 1041s Done 1042s Starting pkgProblemResolver with broken count: 0 1043s Starting 2 pkgProblemResolver with broken count: 0 1043s Done 1044s The following additional packages will be installed: 1044s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1044s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 1044s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1044s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 1044s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1044s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1044s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1044s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1044s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1044s Suggested packages: 1044s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 1044s Recommended packages: 1044s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 1044s xfonts-base 1044s The following packages will be REMOVED: 1044s libelf1 1044s The following NEW packages will be installed: 1044s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 1044s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 1044s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 1044s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 1044s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 1044s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 1044s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 1044s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 1044s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 1045s 0 upgraded, 50 newly installed, 1 to remove and 0 not upgraded. 1045s 1 not fully installed or removed. 1045s Need to get 38.8 MB of archives. 1045s After this operation, 194 MB of additional disk space will be used. 1045s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-x11 arm64 1.14.10-4ubuntu2 [23.2 kB] 1045s Get:2 http://ftpmaster.internal/ubuntu noble/universe arm64 gnome-desktop-testing arm64 2021.1-3 [15.7 kB] 1045s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 desktop-file-utils arm64 0.26-1ubuntu5 [53.5 kB] 1045s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1build1 [57.9 kB] 1045s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu3 [97.1 kB] 1045s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 1045s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu3 [71.5 kB] 1045s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu3 [215 kB] 1045s Get:9 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 1045s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libglib2.0-tests arm64 2.79.3-3ubuntu3 [2059 kB] 1045s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 1045s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 1045s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 1045s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 1045s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] 1045s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libxpm4 arm64 1:3.5.17-1 [34.5 kB] 1045s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] 1045s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 1045s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 1045s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 1045s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 x11-xkb-utils arm64 7.7+8 [165 kB] 1045s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 1045s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 1045s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 1045s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 1045s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 1045s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 1045s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 1045s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 1045s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 1045s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 1045s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 1045s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 1045s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 1045s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 1045s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 1045s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 1045s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 1045s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 1046s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 1046s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 1047s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 1047s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 1047s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 1047s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 1047s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 1047s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 1047s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.4-1build3 [14.1 kB] 1047s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 1047s Get:50 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 1049s Fetched 38.8 MB in 3s (13.1 MB/s) 1049s Selecting previously unselected package dbus-x11. 1049s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75426 files and directories currently installed.) 1049s Preparing to unpack .../dbus-x11_1.14.10-4ubuntu2_arm64.deb ... 1049s Unpacking dbus-x11 (1.14.10-4ubuntu2) ... 1049s Selecting previously unselected package gnome-desktop-testing. 1049s Preparing to unpack .../gnome-desktop-testing_2021.1-3_arm64.deb ... 1049s Unpacking gnome-desktop-testing (2021.1-3) ... 1049s Selecting previously unselected package desktop-file-utils. 1049s Preparing to unpack .../desktop-file-utils_0.26-1ubuntu5_arm64.deb ... 1049s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 1050s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 1050s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 1050s libbpf1:arm64 depends on libelf1 (>= 0.144). 1050s iproute2 depends on libelf1 (>= 0.131). 1050s 1050s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1050s Removing libelf1:arm64 (0.190-1) ... 1050s Selecting previously unselected package libelf1t64:arm64. 1050s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 1050s Preparing to unpack .../00-libelf1t64_0.190-1.1build1_arm64.deb ... 1050s Unpacking libelf1t64:arm64 (0.190-1.1build1) ... 1050s Selecting previously unselected package libglib2.0-bin. 1050s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu3_arm64.deb ... 1050s Unpacking libglib2.0-bin (2.79.3-3ubuntu3) ... 1050s Selecting previously unselected package python3-packaging. 1050s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 1050s Unpacking python3-packaging (23.2-1) ... 1050s Selecting previously unselected package libgirepository-2.0-0:arm64. 1050s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu3_arm64.deb ... 1050s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 1050s Selecting previously unselected package libglib2.0-dev-bin. 1050s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu3_arm64.deb ... 1050s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 1051s Selecting previously unselected package python3-dbusmock. 1051s Preparing to unpack .../05-python3-dbusmock_0.31.1-1_all.deb ... 1051s Unpacking python3-dbusmock (0.31.1-1) ... 1051s Selecting previously unselected package libglib2.0-tests. 1051s Preparing to unpack .../06-libglib2.0-tests_2.79.3-3ubuntu3_arm64.deb ... 1051s Unpacking libglib2.0-tests (2.79.3-3ubuntu3) ... 1052s Selecting previously unselected package x11-common. 1052s Preparing to unpack .../07-x11-common_1%3a7.7+23ubuntu2_all.deb ... 1052s Unpacking x11-common (1:7.7+23ubuntu2) ... 1052s Selecting previously unselected package libice6:arm64. 1052s Preparing to unpack .../08-libice6_2%3a1.0.10-1build2_arm64.deb ... 1052s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 1052s Selecting previously unselected package libsm6:arm64. 1052s Preparing to unpack .../09-libsm6_2%3a1.2.3-1build2_arm64.deb ... 1052s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 1052s Selecting previously unselected package libxt6:arm64. 1052s Preparing to unpack .../10-libxt6_1%3a1.2.1-1.1_arm64.deb ... 1052s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 1052s Selecting previously unselected package libxmu6:arm64. 1052s Preparing to unpack .../11-libxmu6_2%3a1.1.3-3_arm64.deb ... 1052s Unpacking libxmu6:arm64 (2:1.1.3-3) ... 1052s Selecting previously unselected package libxpm4:arm64. 1052s Preparing to unpack .../12-libxpm4_1%3a3.5.17-1_arm64.deb ... 1052s Unpacking libxpm4:arm64 (1:3.5.17-1) ... 1052s Selecting previously unselected package libxaw7:arm64. 1052s Preparing to unpack .../13-libxaw7_2%3a1.0.14-1_arm64.deb ... 1052s Unpacking libxaw7:arm64 (2:1.0.14-1) ... 1052s Selecting previously unselected package libxkbfile1:arm64. 1052s Preparing to unpack .../14-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 1052s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 1053s Selecting previously unselected package libxrender1:arm64. 1053s Preparing to unpack .../15-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 1053s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 1053s Selecting previously unselected package libxrandr2:arm64. 1053s Preparing to unpack .../16-libxrandr2_2%3a1.5.2-2_arm64.deb ... 1053s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 1053s Selecting previously unselected package x11-xkb-utils. 1053s Preparing to unpack .../17-x11-xkb-utils_7.7+8_arm64.deb ... 1053s Unpacking x11-xkb-utils (7.7+8) ... 1053s Selecting previously unselected package xserver-common. 1053s Preparing to unpack .../18-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 1053s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 1053s Selecting previously unselected package libglvnd0:arm64. 1053s Preparing to unpack .../19-libglvnd0_1.7.0-1_arm64.deb ... 1053s Unpacking libglvnd0:arm64 (1.7.0-1) ... 1053s Selecting previously unselected package libglapi-mesa:arm64. 1053s Preparing to unpack .../20-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 1053s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 1053s Selecting previously unselected package libx11-xcb1:arm64. 1053s Preparing to unpack .../21-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 1053s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 1053s Selecting previously unselected package libxcb-dri2-0:arm64. 1053s Preparing to unpack .../22-libxcb-dri2-0_1.15-1_arm64.deb ... 1053s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 1053s Selecting previously unselected package libxcb-dri3-0:arm64. 1053s Preparing to unpack .../23-libxcb-dri3-0_1.15-1_arm64.deb ... 1053s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 1053s Selecting previously unselected package libxcb-glx0:arm64. 1054s Preparing to unpack .../24-libxcb-glx0_1.15-1_arm64.deb ... 1054s Unpacking libxcb-glx0:arm64 (1.15-1) ... 1054s Selecting previously unselected package libxcb-present0:arm64. 1054s Preparing to unpack .../25-libxcb-present0_1.15-1_arm64.deb ... 1054s Unpacking libxcb-present0:arm64 (1.15-1) ... 1054s Selecting previously unselected package libxcb-randr0:arm64. 1054s Preparing to unpack .../26-libxcb-randr0_1.15-1_arm64.deb ... 1054s Unpacking libxcb-randr0:arm64 (1.15-1) ... 1054s Selecting previously unselected package libxcb-shm0:arm64. 1054s Preparing to unpack .../27-libxcb-shm0_1.15-1_arm64.deb ... 1054s Unpacking libxcb-shm0:arm64 (1.15-1) ... 1054s Selecting previously unselected package libxcb-sync1:arm64. 1054s Preparing to unpack .../28-libxcb-sync1_1.15-1_arm64.deb ... 1054s Unpacking libxcb-sync1:arm64 (1.15-1) ... 1054s Selecting previously unselected package libxcb-xfixes0:arm64. 1054s Preparing to unpack .../29-libxcb-xfixes0_1.15-1_arm64.deb ... 1054s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 1054s Selecting previously unselected package libxfixes3:arm64. 1054s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2_arm64.deb ... 1054s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 1054s Selecting previously unselected package libxshmfence1:arm64. 1054s Preparing to unpack .../31-libxshmfence1_1.3-1build4_arm64.deb ... 1054s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 1054s Selecting previously unselected package libxxf86vm1:arm64. 1054s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 1054s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 1054s Selecting previously unselected package libvulkan1:arm64. 1054s Preparing to unpack .../33-libvulkan1_1.3.275.0-1_arm64.deb ... 1054s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 1054s Selecting previously unselected package libdrm-amdgpu1:arm64. 1054s Preparing to unpack .../34-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 1054s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 1054s Selecting previously unselected package libdrm-nouveau2:arm64. 1054s Preparing to unpack .../35-libdrm-nouveau2_2.4.120-2_arm64.deb ... 1054s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 1055s Selecting previously unselected package libdrm-radeon1:arm64. 1055s Preparing to unpack .../36-libdrm-radeon1_2.4.120-2_arm64.deb ... 1055s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 1055s Selecting previously unselected package libllvm17:arm64. 1055s Preparing to unpack .../37-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 1055s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 1057s Selecting previously unselected package libgl1-mesa-dri:arm64. 1057s Preparing to unpack .../38-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 1057s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 1058s Selecting previously unselected package libglx-mesa0:arm64. 1058s Preparing to unpack .../39-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 1058s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 1058s Selecting previously unselected package libglx0:arm64. 1058s Preparing to unpack .../40-libglx0_1.7.0-1_arm64.deb ... 1058s Unpacking libglx0:arm64 (1.7.0-1) ... 1058s Selecting previously unselected package libgl1:arm64. 1058s Preparing to unpack .../41-libgl1_1.7.0-1_arm64.deb ... 1058s Unpacking libgl1:arm64 (1.7.0-1) ... 1058s Selecting previously unselected package libpixman-1-0:arm64. 1058s Preparing to unpack .../42-libpixman-1-0_0.42.2-1_arm64.deb ... 1058s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 1058s Selecting previously unselected package libunwind8:arm64. 1058s Preparing to unpack .../43-libunwind8_1.6.2-3_arm64.deb ... 1058s Unpacking libunwind8:arm64 (1.6.2-3) ... 1058s Selecting previously unselected package libfontenc1:arm64. 1059s Preparing to unpack .../44-libfontenc1_1%3a1.1.4-1build3_arm64.deb ... 1059s Unpacking libfontenc1:arm64 (1:1.1.4-1build3) ... 1059s Selecting previously unselected package libxfont2:arm64. 1059s Preparing to unpack .../45-libxfont2_1%3a2.0.6-1_arm64.deb ... 1059s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 1059s Selecting previously unselected package xvfb. 1059s Preparing to unpack .../46-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 1059s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 1059s Setting up gnome-desktop-testing (2021.1-3) ... 1059s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 1059s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 1059s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 1059s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 1059s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 1059s Setting up desktop-file-utils (0.26-1ubuntu5) ... 1059s Setting up libxpm4:arm64 (1:3.5.17-1) ... 1059s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 1059s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 1059s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 1059s Setting up libglvnd0:arm64 (1.7.0-1) ... 1059s Setting up libxcb-glx0:arm64 (1.15-1) ... 1059s Setting up x11-common (1:7.7+23ubuntu2) ... 1061s Setting up libxcb-shm0:arm64 (1.15-1) ... 1061s Setting up libunwind8:arm64 (1.6.2-3) ... 1061s Setting up libelf1t64:arm64 (0.190-1.1build1) ... 1061s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 1061s Setting up libxcb-present0:arm64 (1.15-1) ... 1061s Setting up libfontenc1:arm64 (1:1.1.4-1build3) ... 1061s Setting up python3-packaging (23.2-1) ... 1061s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 1061s Setting up libxcb-sync1:arm64 (1.15-1) ... 1061s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 1061s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 1061s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 1061s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 1061s Setting up libxshmfence1:arm64 (1.3-1build4) ... 1061s Setting up dbus-x11 (1.14.10-4ubuntu2) ... 1061s Setting up libxcb-randr0:arm64 (1.15-1) ... 1061s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 1061s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 1061s Setting up libxfont2:arm64 (1:2.0.6-1) ... 1061s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 1061s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 1062s Setting up libice6:arm64 (2:1.0.10-1build2) ... 1062s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 1062s Setting up libglib2.0-bin (2.79.3-3ubuntu3) ... 1062s Setting up python3-dbusmock (0.31.1-1) ... 1063s Setting up libglib2.0-tests (2.79.3-3ubuntu3) ... 1063s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 1063s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 1063s Setting up libglx0:arm64 (1.7.0-1) ... 1063s Setting up libgl1:arm64 (1.7.0-1) ... 1063s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 1063s Setting up libxmu6:arm64 (2:1.1.3-3) ... 1063s Setting up libxaw7:arm64 (2:1.0.14-1) ... 1063s Setting up x11-xkb-utils (7.7+8) ... 1063s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 1063s Setting up xvfb (2:21.1.11-2ubuntu1) ... 1063s Setting up autopkgtest-satdep (0) ... 1063s Processing triggers for man-db (2.12.0-3) ... 1064s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1076s (Reading database ... 76914 files and directories currently installed.) 1076s Removing autopkgtest-satdep (0) ... 1088s autopkgtest [15:11:29]: test installed-tests: [----------------------- 1088s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1088s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1088s group entry: ubuntu:x:1000: 1088s Environment: 1088s ADTTMP=/tmp/autopkgtest.c20Xp8/autopkgtest_tmp 1088s ADT_ARTIFACTS=/tmp/autopkgtest.c20Xp8/installed-tests-artifacts 1088s ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3 1088s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.c20Xp8/installed-tests-artifacts 1088s AUTOPKGTEST_TMP=/tmp/autopkgtest.c20Xp8/autopkgtest_tmp 1088s DEBIAN_FRONTEND=noninteractive 1088s DEB_BUILD_OPTIONS=parallel=1 1088s GIO_USE_VFS=local 1088s GIO_USE_VOLUME_MONITOR=unix 1088s HOME=/home/ubuntu 1088s LANG=C.UTF-8 1088s LOGNAME=ubuntu 1088s MAIL=/var/mail/ubuntu 1088s OLDPWD=/home/ubuntu 1088s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1088s PWD=/tmp/autopkgtest.c20Xp8/build.lkm/src 1088s SHELL=/bin/bash 1088s SHLVL=2 1088s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export 'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout); 1088s SUDO_GID=1000 1088s SUDO_UID=1000 1088s SUDO_USER=ubuntu 1088s TERM=linux 1088s USER=ubuntu 1088s XDG_RUNTIME_DIR=/tmp/autopkgtest.c20Xp8/autopkgtest_tmp 1088s _=/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 1088s http_proxy=http://squid.internal:3128 1088s https_proxy=http://squid.internal:3128 1088s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 1089s run-with-locales: de_DE=ISO-8859-1... 1089s Character set: ISO-8859-1 1089s Source file: de_DE 1089s Output: /tmp/tmp.O2XJG9MpWs/de_DE 1090s run-with-locales: de_DE.utf8... 1090s Character set: UTF-8 1090s Source file: de_DE 1090s Output: /tmp/tmp.O2XJG9MpWs/de_DE.utf8 1100s run-with-locales: de_DE@euro.utf8... 1100s Character set: UTF-8 1100s Source file: de_DE@euro 1100s Output: /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8 1110s run-with-locales: el_GR.utf8... 1110s Character set: UTF-8 1110s Source file: el_GR 1110s Output: /tmp/tmp.O2XJG9MpWs/el_GR.utf8 1119s run-with-locales: en_GB=ISO-8859-1... 1119s Character set: ISO-8859-1 1119s Source file: en_GB 1119s Output: /tmp/tmp.O2XJG9MpWs/en_GB 1120s run-with-locales: en_GB.utf8... 1120s Character set: UTF-8 1120s Source file: en_GB 1120s Output: /tmp/tmp.O2XJG9MpWs/en_GB.utf8 1130s run-with-locales: en_US=ISO-8859-1... 1130s Character set: ISO-8859-1 1130s Source file: en_US 1130s Output: /tmp/tmp.O2XJG9MpWs/en_US 1132s run-with-locales: en_US.utf8... 1132s Character set: UTF-8 1132s Source file: en_US 1132s Output: /tmp/tmp.O2XJG9MpWs/en_US.utf8 1142s run-with-locales: es_ES.utf8... 1142s Character set: UTF-8 1142s Source file: es_ES 1142s Output: /tmp/tmp.O2XJG9MpWs/es_ES.utf8 1151s run-with-locales: fa_IR=UTF-8... 1151s Character set: UTF-8 1151s Source file: fa_IR 1151s Output: /tmp/tmp.O2XJG9MpWs/fa_IR 1162s run-with-locales: fa_IR.utf8... 1162s Character set: UTF-8 1162s Source file: fa_IR 1162s Output: /tmp/tmp.O2XJG9MpWs/fa_IR.utf8 1172s run-with-locales: fr_FR.utf8... 1172s Character set: UTF-8 1172s Source file: fr_FR 1172s Output: /tmp/tmp.O2XJG9MpWs/fr_FR.utf8 1182s run-with-locales: hr_HR.utf8... 1182s Character set: UTF-8 1182s Source file: hr_HR 1182s Output: /tmp/tmp.O2XJG9MpWs/hr_HR.utf8 1193s run-with-locales: ja_JP.utf8... 1193s Character set: UTF-8 1193s Source file: ja_JP 1193s Output: /tmp/tmp.O2XJG9MpWs/ja_JP.utf8 1197s run-with-locales: ja_JP.EUC-JP... 1197s Character set: EUC-JP 1197s Source file: ja_JP 1197s Output: /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp 1199s run-with-locales: lt_LT.utf8... 1199s Character set: UTF-8 1199s Source file: lt_LT 1199s Output: /tmp/tmp.O2XJG9MpWs/lt_LT.utf8 1209s run-with-locales: pl_PL=ISO-8859-2... 1209s Character set: ISO-8859-2 1209s Source file: pl_PL 1209s Output: /tmp/tmp.O2XJG9MpWs/pl_PL 1211s run-with-locales: pl_PL.ISO-8859-2... 1211s Character set: ISO-8859-2 1211s Source file: pl_PL 1211s Output: /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592 1212s run-with-locales: pl_PL.utf8... 1212s Character set: UTF-8 1212s Source file: pl_PL 1212s Output: /tmp/tmp.O2XJG9MpWs/pl_PL.utf8 1223s run-with-locales: ru_RU=ISO-8859-5... 1223s Character set: ISO-8859-5 1223s Source file: ru_RU 1223s Output: /tmp/tmp.O2XJG9MpWs/ru_RU 1224s run-with-locales: ru_RU.utf8... 1224s Character set: UTF-8 1224s Source file: ru_RU 1224s Output: /tmp/tmp.O2XJG9MpWs/ru_RU.utf8 1235s run-with-locales: sr_RS=UTF-8... 1235s Character set: UTF-8 1235s Source file: sr_RS 1235s Output: /tmp/tmp.O2XJG9MpWs/sr_RS 1244s run-with-locales: sr_RS@latin=UTF-8... 1244s Character set: UTF-8 1244s Source file: sr_RS@latin 1244s Output: /tmp/tmp.O2XJG9MpWs/sr_RS@latin 1254s run-with-locales: sv_SE=ISO-8859-1... 1254s Character set: ISO-8859-1 1254s Source file: sv_SE 1254s Output: /tmp/tmp.O2XJG9MpWs/sv_SE 1255s run-with-locales: sv_SE.utf8... 1255s Character set: UTF-8 1255s Source file: sv_SE 1255s Output: /tmp/tmp.O2XJG9MpWs/sv_SE.utf8 1265s run-with-locales: tr_TR=ISO-8859-9... 1265s Character set: ISO-8859-9 1265s Source file: tr_TR 1265s Output: /tmp/tmp.O2XJG9MpWs/tr_TR 1266s run-with-locales: tr_TR.utf8... 1266s Character set: UTF-8 1266s Source file: tr_TR 1266s Output: /tmp/tmp.O2XJG9MpWs/tr_TR.utf8 1275s run-with-locales: tt_RU=UTF-8... 1275s Character set: UTF-8 1275s Source file: tt_RU 1275s Output: /tmp/tmp.O2XJG9MpWs/tt_RU 1284s run-with-locales: tt_RU.utf8... 1284s Character set: UTF-8 1284s Source file: tt_RU 1284s Output: /tmp/tmp.O2XJG9MpWs/tt_RU.utf8 1293s run-with-locales: tt_RU@iqtelif=UTF-8... 1293s Character set: UTF-8 1293s Source file: tt_RU@iqtelif 1293s Output: /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif 1302s /tmp/tmp.O2XJG9MpWs 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/ru_RU.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/el_GR.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/sv_SE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/sv_SE/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/sv_SE.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/tt_RU.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/sr_RS@latin/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/de_DE 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/de_DE/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/lt_LT.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/de_DE@euro.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/pl_PL 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/pl_PL/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/es_ES.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/fr_FR.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/fa_IR 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/fa_IR/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/tr_TR 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/tr_TR/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/en_US.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.iso88592/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/hr_HR.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/ru_RU 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/ru_RU/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/tt_RU 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/tt_RU/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/pl_PL.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/fa_IR.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/sr_RS 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/sr_RS/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/en_GB 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/en_GB/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/ja_JP.eucjp/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/en_GB.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/tt_RU@iqtelif/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/en_US 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/en_US/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/de_DE.utf8/LC_ADDRESS 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_NAME 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_IDENTIFICATION 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_CTYPE 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_PAPER 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_COLLATE 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_TIME 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_MEASUREMENT 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_NUMERIC 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_TELEPHONE 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_MONETARY 1302s /tmp/tmp.O2XJG9MpWs/tr_TR.utf8/LC_ADDRESS 1302s 1..316 1302s # Running test: glib/testing.test 1302s TAP version 13 1302s # random seed: R02S5c3e615a714f06032fba823775e77b02 1302s 1..1 1302s # Start of assert tests 1302s ok 1 /assert/finalize_object 1302s # Start of finalize_object tests 1302s # Start of subprocess tests 1302s # End of subprocess tests 1302s # End of finalize_object tests 1302s # End of assert tests 1302s ok - glib/testing.test 1302s # Running test: glib/regex.test 1302s TAP version 13 1302s # random seed: R02Sda28e69a57b178a996b9a10ed81c09df 1302s 1..848 1302s # Start of regex tests 1302s ok 1 /regex/properties 1302s ok 2 /regex/class 1302s ok 3 /regex/lookahead 1302s ok 4 /regex/lookbehind 1302s ok 5 /regex/subpattern 1302s ok 6 /regex/condition 1302s ok 7 /regex/recursion 1302s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1302s ok 8 /regex/multiline 1302s ok 9 /regex/explicit-crlf 1302s ok 10 /regex/max-lookbehind 1302s ok 11 /regex/compile-errors 1302s ok 12 /regex/jit-unsupported-matching 1302s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1302s ok 13 /regex/unmatched-named-subpattern 1302s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1302s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1303s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1303s ok 14 /regex/compiled-regex-after-jit-failure 1303s # Start of new tests 1303s ok 15 /regex/new/1 1303s ok 16 /regex/new/2 1303s ok 17 /regex/new/3 1303s ok 18 /regex/new/4 1303s ok 19 /regex/new/5 1303s ok 20 /regex/new/6 1303s ok 21 /regex/new/7 1303s ok 22 /regex/new/8 1303s ok 23 /regex/new/9 1303s ok 24 /regex/new/10 1303s ok 25 /regex/new/11 1303s ok 26 /regex/new/12 1303s ok 27 /regex/new/13 1303s ok 28 /regex/new/14 1303s ok 29 /regex/new/15 1303s ok 30 /regex/new/16 1303s ok 31 /regex/new/17 1303s ok 32 /regex/new/18 1303s ok 33 /regex/new/19 1303s ok 34 /regex/new/71 1303s ok 35 /regex/new/80 1303s ok 36 /regex/new/82 1303s # End of new tests 1303s # Start of new-check-flags tests 1303s ok 37 /regex/new-check-flags/20 1303s ok 38 /regex/new-check-flags/21 1303s ok 39 /regex/new-check-flags/22 1303s ok 40 /regex/new-check-flags/23 1303s ok 41 /regex/new-check-flags/24 1303s ok 42 /regex/new-check-flags/25 1303s ok 43 /regex/new-check-flags/26 1303s ok 44 /regex/new-check-flags/27 1303s ok 45 /regex/new-check-flags/28 1303s ok 46 /regex/new-check-flags/29 1303s ok 47 /regex/new-check-flags/30 1303s ok 48 /regex/new-check-flags/31 1303s ok 49 /regex/new-check-flags/32 1303s ok 50 /regex/new-check-flags/33 1303s ok 51 /regex/new-check-flags/34 1303s ok 52 /regex/new-check-flags/35 1303s ok 53 /regex/new-check-flags/36 1303s # End of new-check-flags tests 1303s # Start of new-fail tests 1303s ok 54 /regex/new-fail/37 1303s ok 55 /regex/new-fail/38 1303s ok 56 /regex/new-fail/39 1303s ok 57 /regex/new-fail/40 1303s ok 58 /regex/new-fail/41 1303s ok 59 /regex/new-fail/42 1303s ok 60 /regex/new-fail/43 1303s ok 61 /regex/new-fail/44 1303s ok 62 /regex/new-fail/45 1303s ok 63 /regex/new-fail/46 1303s ok 64 /regex/new-fail/47 1303s ok 65 /regex/new-fail/48 1303s ok 66 /regex/new-fail/49 1303s ok 67 /regex/new-fail/50 1303s ok 68 /regex/new-fail/51 1303s ok 69 /regex/new-fail/52 1303s ok 70 /regex/new-fail/53 1303s ok 71 /regex/new-fail/54 1303s ok 72 /regex/new-fail/55 1303s ok 73 /regex/new-fail/56 1303s ok 74 /regex/new-fail/57 1303s ok 75 /regex/new-fail/58 1303s ok 76 /regex/new-fail/59 1303s ok 77 /regex/new-fail/60 1303s ok 78 /regex/new-fail/61 1303s ok 79 /regex/new-fail/62 1303s ok 80 /regex/new-fail/63 1303s ok 81 /regex/new-fail/64 1303s ok 82 /regex/new-fail/65 1303s ok 83 /regex/new-fail/66 1303s ok 84 /regex/new-fail/67 1303s ok 85 /regex/new-fail/68 1303s ok 86 /regex/new-fail/69 1303s ok 87 /regex/new-fail/70 1303s ok 88 /regex/new-fail/72 1303s ok 89 /regex/new-fail/73 1303s ok 90 /regex/new-fail/74 1303s ok 91 /regex/new-fail/75 1303s ok 92 /regex/new-fail/76 1303s ok 93 /regex/new-fail/77 1303s ok 94 /regex/new-fail/78 1303s ok 95 /regex/new-fail/79 1303s ok 96 /regex/new-fail/81 1303s ok 97 /regex/new-fail/83 1303s ok 98 /regex/new-fail/84 1303s ok 99 /regex/new-fail/85 1303s ok 100 /regex/new-fail/86 1303s ok 101 /regex/new-fail/87 1303s ok 102 /regex/new-fail/88 1303s ok 103 /regex/new-fail/89 1303s ok 104 /regex/new-fail/90 1303s ok 105 /regex/new-fail/91 1303s # End of new-fail tests 1303s # Start of match-simple tests 1303s ok 106 /regex/match-simple/92 1303s ok 107 /regex/match-simple/93 1303s ok 108 /regex/match-simple/94 1303s ok 109 /regex/match-simple/95 1303s ok 110 /regex/match-simple/96 1303s ok 111 /regex/match-simple/97 1303s ok 112 /regex/match-simple/98 1303s ok 113 /regex/match-simple/99 1303s ok 114 /regex/match-simple/100 1303s ok 115 /regex/match-simple/101 1303s ok 116 /regex/match-simple/102 1303s ok 117 /regex/match-simple/103 1303s ok 118 /regex/match-simple/104 1303s ok 119 /regex/match-simple/105 1303s ok 120 /regex/match-simple/106 1303s ok 121 /regex/match-simple/107 1303s ok 122 /regex/match-simple/108 1303s ok 123 /regex/match-simple/109 1303s ok 124 /regex/match-simple/110 1303s ok 125 /regex/match-simple/111 1303s ok 126 /regex/match-simple/112 1303s ok 127 /regex/match-simple/113 1303s ok 128 /regex/match-simple/114 1303s ok 129 /regex/match-simple/115 1303s ok 130 /regex/match-simple/116 1303s ok 131 /regex/match-simple/117 1303s ok 132 /regex/match-simple/118 1303s ok 133 /regex/match-simple/119 1303s ok 134 /regex/match-simple/120 1303s ok 135 /regex/match-simple/121 1303s ok 136 /regex/match-simple/122 1303s ok 137 /regex/match-simple/123 1303s ok 138 /regex/match-simple/124 1303s ok 139 /regex/match-simple/125 1303s ok 140 /regex/match-simple/126 1303s ok 141 /regex/match-simple/127 1303s ok 142 /regex/match-simple/128 1303s ok 143 /regex/match-simple/129 1303s ok 144 /regex/match-simple/130 1303s ok 145 /regex/match-simple/131 1303s ok 146 /regex/match-simple/132 1303s ok 147 /regex/match-simple/133 1303s ok 148 /regex/match-simple/134 1303s ok 149 /regex/match-simple/135 1303s ok 150 /regex/match-simple/136 1303s ok 151 /regex/match-simple/137 1303s ok 152 /regex/match-simple/138 1303s ok 153 /regex/match-simple/139 1303s ok 154 /regex/match-simple/140 1303s ok 155 /regex/match-simple/141 1303s ok 156 /regex/match-simple/142 1303s ok 157 /regex/match-simple/143 1303s ok 158 /regex/match-simple/144 1303s ok 159 /regex/match-simple/145 1303s ok 160 /regex/match-simple/146 1303s ok 161 /regex/match-simple/147 1303s ok 162 /regex/match-simple/148 1303s ok 163 /regex/match-simple/149 1303s ok 164 /regex/match-simple/150 1303s ok 165 /regex/match-simple/151 1303s ok 166 /regex/match-simple/152 1303s ok 167 /regex/match-simple/153 1303s ok 168 /regex/match-simple/154 1303s ok 169 /regex/match-simple/155 1303s ok 170 /regex/match-simple/156 1303s ok 171 /regex/match-simple/157 1303s ok 172 /regex/match-simple/158 1303s ok 173 /regex/match-simple/159 1303s ok 174 /regex/match-simple/160 1303s ok 175 /regex/match-simple/161 1303s ok 176 /regex/match-simple/162 1303s ok 177 /regex/match-simple/163 1303s ok 178 /regex/match-simple/164 1303s # End of match-simple tests 1303s # Start of match-simple-optimized tests 1303s ok 179 /regex/match-simple-optimized/92 1303s ok 180 /regex/match-simple-optimized/93 1303s ok 181 /regex/match-simple-optimized/94 1303s ok 182 /regex/match-simple-optimized/95 1303s ok 183 /regex/match-simple-optimized/96 1303s ok 184 /regex/match-simple-optimized/97 1303s ok 185 /regex/match-simple-optimized/98 1303s ok 186 /regex/match-simple-optimized/99 1303s ok 187 /regex/match-simple-optimized/100 1303s ok 188 /regex/match-simple-optimized/101 1303s ok 189 /regex/match-simple-optimized/102 1303s ok 190 /regex/match-simple-optimized/103 1303s ok 191 /regex/match-simple-optimized/104 1303s ok 192 /regex/match-simple-optimized/105 1303s ok 193 /regex/match-simple-optimized/106 1303s ok 194 /regex/match-simple-optimized/107 1303s ok 195 /regex/match-simple-optimized/108 1303s ok 196 /regex/match-simple-optimized/109 1303s ok 197 /regex/match-simple-optimized/110 1303s ok 198 /regex/match-simple-optimized/111 1303s ok 199 /regex/match-simple-optimized/112 1303s ok 200 /regex/match-simple-optimized/113 1303s ok 201 /regex/match-simple-optimized/114 1303s ok 202 /regex/match-simple-optimized/115 1303s ok 203 /regex/match-simple-optimized/116 1303s ok 204 /regex/match-simple-optimized/117 1303s ok 205 /regex/match-simple-optimized/118 1303s ok 206 /regex/match-simple-optimized/119 1303s ok 207 /regex/match-simple-optimized/120 1303s ok 208 /regex/match-simple-optimized/121 1303s ok 209 /regex/match-simple-optimized/122 1303s ok 210 /regex/match-simple-optimized/123 1303s ok 211 /regex/match-simple-optimized/124 1303s ok 212 /regex/match-simple-optimized/125 1303s ok 213 /regex/match-simple-optimized/126 1303s ok 214 /regex/match-simple-optimized/127 1303s ok 215 /regex/match-simple-optimized/128 1303s ok 216 /regex/match-simple-optimized/129 1303s ok 217 /regex/match-simple-optimized/130 1303s ok 218 /regex/match-simple-optimized/131 1303s ok 219 /regex/match-simple-optimized/132 1303s ok 220 /regex/match-simple-optimized/133 1303s ok 221 /regex/match-simple-optimized/134 1303s ok 222 /regex/match-simple-optimized/135 1303s ok 223 /regex/match-simple-optimized/136 1303s ok 224 /regex/match-simple-optimized/137 1303s ok 225 /regex/match-simple-optimized/138 1303s ok 226 /regex/match-simple-optimized/139 1303s ok 227 /regex/match-simple-optimized/140 1303s ok 228 /regex/match-simple-optimized/141 1303s ok 229 /regex/match-simple-optimized/142 1303s ok 230 /regex/match-simple-optimized/143 1303s ok 231 /regex/match-simple-optimized/144 1303s ok 232 /regex/match-simple-optimized/145 1303s ok 233 /regex/match-simple-optimized/146 1303s ok 234 /regex/match-simple-optimized/147 1303s ok 235 /regex/match-simple-optimized/148 1303s ok 236 /regex/match-simple-optimized/149 1303s ok 237 /regex/match-simple-optimized/150 1303s ok 238 /regex/match-simple-optimized/151 1303s ok 239 /regex/match-simple-optimized/152 1303s ok 240 /regex/match-simple-optimized/153 1303s ok 241 /regex/match-simple-optimized/154 1303s ok 242 /regex/match-simple-optimized/155 1303s ok 243 /regex/match-simple-optimized/156 1303s ok 244 /regex/match-simple-optimized/157 1303s ok 245 /regex/match-simple-optimized/158 1303s ok 246 /regex/match-simple-optimized/159 1303s ok 247 /regex/match-simple-optimized/160 1303s ok 248 /regex/match-simple-optimized/161 1303s ok 249 /regex/match-simple-optimized/162 1303s ok 250 /regex/match-simple-optimized/163 1303s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1303s ok 251 /regex/match-simple-optimized/164 1303s # End of match-simple-optimized tests 1303s # Start of match tests 1303s ok 252 /regex/match/165 1303s ok 253 /regex/match/166 1303s ok 254 /regex/match/167 1303s ok 255 /regex/match/168 1303s ok 256 /regex/match/169 1303s ok 257 /regex/match/170 1303s ok 258 /regex/match/171 1303s ok 259 /regex/match/172 1303s ok 260 /regex/match/173 1303s ok 261 /regex/match/174 1303s ok 262 /regex/match/175 1303s ok 263 /regex/match/176 1303s ok 264 /regex/match/177 1303s ok 265 /regex/match/178 1303s ok 266 /regex/match/179 1303s ok 267 /regex/match/180 1303s ok 268 /regex/match/181 1303s ok 269 /regex/match/182 1303s ok 270 /regex/match/183 1303s ok 271 /regex/match/184 1303s ok 272 /regex/match/185 1303s ok 273 /regex/match/186 1303s ok 274 /regex/match/187 1303s ok 275 /regex/match/188 1303s ok 276 /regex/match/189 1303s ok 277 /regex/match/190 1303s ok 278 /regex/match/191 1303s ok 279 /regex/match/192 1303s ok 280 /regex/match/193 1303s ok 281 /regex/match/194 1303s ok 282 /regex/match/195 1303s ok 283 /regex/match/196 1303s ok 284 /regex/match/197 1303s ok 285 /regex/match/198 1303s ok 286 /regex/match/199 1303s ok 287 /regex/match/200 1303s ok 288 /regex/match/201 1303s ok 289 /regex/match/202 1303s ok 290 /regex/match/203 1303s ok 291 /regex/match/204 1303s ok 292 /regex/match/205 1303s ok 293 /regex/match/206 1303s ok 294 /regex/match/207 1303s ok 295 /regex/match/208 1303s ok 296 /regex/match/209 1303s ok 297 /regex/match/210 1303s ok 298 /regex/match/211 1303s ok 299 /regex/match/212 1303s ok 300 /regex/match/213 1303s ok 301 /regex/match/214 1303s ok 302 /regex/match/215 1303s ok 303 /regex/match/216 1303s ok 304 /regex/match/217 1303s ok 305 /regex/match/218 1303s ok 306 /regex/match/219 1303s ok 307 /regex/match/220 1303s ok 308 /regex/match/221 1303s ok 309 /regex/match/222 1303s ok 310 /regex/match/223 1303s ok 311 /regex/match/224 1303s ok 312 /regex/match/225 1303s ok 313 /regex/match/226 1303s ok 314 /regex/match/227 1303s ok 315 /regex/match/228 1303s ok 316 /regex/match/229 1303s ok 317 /regex/match/230 1303s ok 318 /regex/match/231 1303s ok 319 /regex/match/232 1303s ok 320 /regex/match/233 1303s ok 321 /regex/match/234 1303s ok 322 /regex/match/235 1303s ok 323 /regex/match/236 1303s ok 324 /regex/match/237 1303s ok 325 /regex/match/238 1303s ok 326 /regex/match/239 1303s ok 327 /regex/match/240 1303s ok 328 /regex/match/241 1303s ok 329 /regex/match/242 1303s ok 330 /regex/match/243 1303s ok 331 /regex/match/244 1303s ok 332 /regex/match/245 1303s ok 333 /regex/match/246 1303s ok 334 /regex/match/partial281 1303s ok 335 /regex/match/partial282 1303s ok 336 /regex/match/partial283 1303s ok 337 /regex/match/partial284 1303s ok 338 /regex/match/partial285 1303s ok 339 /regex/match/partial286 1303s ok 340 /regex/match/partial287 1303s ok 341 /regex/match/partial288 1303s ok 342 /regex/match/partial289 1303s ok 343 /regex/match/partial290 1303s ok 344 /regex/match/partial291 1303s ok 345 /regex/match/partial292 1303s ok 346 /regex/match/partial293 1303s ok 347 /regex/match/partial294 1303s ok 348 /regex/match/partial295 1303s ok 349 /regex/match/partial296 1303s ok 350 /regex/match/partial297 1303s ok 351 /regex/match/partial298 1303s ok 352 /regex/match/partial299 1303s ok 353 /regex/match/partial300 1303s ok 354 /regex/match/partial301 1303s ok 355 /regex/match/partial302 1303s # Start of next0 tests 1303s ok 356 /regex/match/next0/247 1303s ok 357 /regex/match/next0/248 1303s ok 358 /regex/match/next0/249 1303s ok 359 /regex/match/next0/250 1303s # End of next0 tests 1303s # Start of next1 tests 1303s ok 360 /regex/match/next1/251 1303s ok 361 /regex/match/next1/252 1303s ok 362 /regex/match/next1/253 1303s ok 363 /regex/match/next1/254 1303s ok 364 /regex/match/next1/255 1303s # End of next1 tests 1303s # Start of next2 tests 1303s ok 365 /regex/match/next2/256 1303s ok 366 /regex/match/next2/257 1303s ok 367 /regex/match/next2/258 1303s ok 368 /regex/match/next2/259 1303s ok 369 /regex/match/next2/260 1303s ok 370 /regex/match/next2/261 1303s ok 371 /regex/match/next2/262 1303s ok 372 /regex/match/next2/263 1303s # End of next2 tests 1303s # Start of next3 tests 1303s ok 373 /regex/match/next3/264 1303s ok 374 /regex/match/next3/265 1303s ok 375 /regex/match/next3/266 1303s ok 376 /regex/match/next3/267 1303s ok 377 /regex/match/next3/268 1303s ok 378 /regex/match/next3/269 1303s # End of next3 tests 1303s # Start of next4 tests 1303s ok 379 /regex/match/next4/270 1303s # End of next4 tests 1303s # Start of count tests 1303s ok 380 /regex/match/count/271 1303s ok 381 /regex/match/count/272 1303s ok 382 /regex/match/count/273 1303s ok 383 /regex/match/count/274 1303s ok 384 /regex/match/count/275 1303s ok 385 /regex/match/count/276 1303s ok 386 /regex/match/count/277 1303s ok 387 /regex/match/count/278 1303s ok 388 /regex/match/count/279 1303s ok 389 /regex/match/count/280 1303s # End of count tests 1303s # Start of count-optimized tests 1303s ok 390 /regex/match/count-optimized/271 1303s ok 391 /regex/match/count-optimized/272 1303s ok 392 /regex/match/count-optimized/273 1303s ok 393 /regex/match/count-optimized/274 1303s ok 394 /regex/match/count-optimized/275 1303s ok 395 /regex/match/count-optimized/276 1303s ok 396 /regex/match/count-optimized/277 1303s ok 397 /regex/match/count-optimized/278 1303s ok 398 /regex/match/count-optimized/279 1303s ok 399 /regex/match/count-optimized/280 1303s # End of count-optimized tests 1303s # Start of partial-optimized tests 1303s ok 400 /regex/match/partial-optimized/281 1303s ok 401 /regex/match/partial-optimized/282 1303s ok 402 /regex/match/partial-optimized/283 1303s ok 403 /regex/match/partial-optimized/284 1303s ok 404 /regex/match/partial-optimized/285 1303s ok 405 /regex/match/partial-optimized/286 1303s ok 406 /regex/match/partial-optimized/287 1303s ok 407 /regex/match/partial-optimized/288 1303s ok 408 /regex/match/partial-optimized/289 1303s ok 409 /regex/match/partial-optimized/290 1303s ok 410 /regex/match/partial-optimized/291 1303s ok 411 /regex/match/partial-optimized/292 1303s ok 412 /regex/match/partial-optimized/293 1303s ok 413 /regex/match/partial-optimized/294 1303s ok 414 /regex/match/partial-optimized/295 1303s ok 415 /regex/match/partial-optimized/296 1303s ok 416 /regex/match/partial-optimized/297 1303s ok 417 /regex/match/partial-optimized/298 1303s ok 418 /regex/match/partial-optimized/299 1303s ok 419 /regex/match/partial-optimized/300 1303s ok 420 /regex/match/partial-optimized/301 1303s ok 421 /regex/match/partial-optimized/302 1303s # End of partial-optimized tests 1303s # Start of subpattern tests 1303s ok 422 /regex/match/subpattern/303 1303s ok 423 /regex/match/subpattern/304 1303s ok 424 /regex/match/subpattern/305 1303s ok 425 /regex/match/subpattern/306 1303s ok 426 /regex/match/subpattern/307 1303s ok 427 /regex/match/subpattern/308 1303s ok 428 /regex/match/subpattern/309 1303s ok 429 /regex/match/subpattern/310 1303s ok 430 /regex/match/subpattern/311 1303s ok 431 /regex/match/subpattern/312 1303s ok 432 /regex/match/subpattern/313 1303s ok 433 /regex/match/subpattern/314 1303s ok 434 /regex/match/subpattern/315 1303s # Start of named tests 1303s # Start of dupnames tests 1303s ok 435 /regex/match/subpattern/named/dupnames/325 1303s ok 436 /regex/match/subpattern/named/dupnames/326 1303s ok 437 /regex/match/subpattern/named/dupnames/327 1303s ok 438 /regex/match/subpattern/named/dupnames/328 1303s ok 439 /regex/match/subpattern/named/dupnames/329 1303s # End of dupnames tests 1303s # End of named tests 1303s # End of subpattern tests 1303s # Start of subpattern-optimized tests 1303s ok 440 /regex/match/subpattern-optimized/303 1303s ok 441 /regex/match/subpattern-optimized/304 1303s ok 442 /regex/match/subpattern-optimized/305 1303s ok 443 /regex/match/subpattern-optimized/306 1303s ok 444 /regex/match/subpattern-optimized/307 1303s ok 445 /regex/match/subpattern-optimized/308 1303s ok 446 /regex/match/subpattern-optimized/309 1303s ok 447 /regex/match/subpattern-optimized/310 1303s ok 448 /regex/match/subpattern-optimized/311 1303s ok 449 /regex/match/subpattern-optimized/312 1303s ok 450 /regex/match/subpattern-optimized/313 1303s ok 451 /regex/match/subpattern-optimized/314 1303s ok 452 /regex/match/subpattern-optimized/315 1303s # End of subpattern-optimized tests 1303s # Start of named tests 1303s # Start of subpattern tests 1303s ok 453 /regex/match/named/subpattern/316 1303s ok 454 /regex/match/named/subpattern/317 1303s ok 455 /regex/match/named/subpattern/318 1303s ok 456 /regex/match/named/subpattern/319 1303s ok 457 /regex/match/named/subpattern/320 1303s ok 458 /regex/match/named/subpattern/321 1303s ok 459 /regex/match/named/subpattern/322 1303s ok 460 /regex/match/named/subpattern/323 1303s ok 461 /regex/match/named/subpattern/324 1303s ok 462 /regex/match/named/subpattern/330 1303s ok 463 /regex/match/named/subpattern/331 1303s ok 464 /regex/match/named/subpattern/332 1303s ok 465 /regex/match/named/subpattern/333 1303s ok 466 /regex/match/named/subpattern/334 1303s # End of subpattern tests 1303s # End of named tests 1303s # End of match tests 1303s # Start of match-optimized tests 1303s ok 467 /regex/match-optimized/165 1303s ok 468 /regex/match-optimized/166 1303s ok 469 /regex/match-optimized/167 1303s ok 470 /regex/match-optimized/168 1303s ok 471 /regex/match-optimized/169 1303s ok 472 /regex/match-optimized/170 1303s ok 473 /regex/match-optimized/171 1303s ok 474 /regex/match-optimized/172 1303s ok 475 /regex/match-optimized/173 1303s ok 476 /regex/match-optimized/174 1303s ok 477 /regex/match-optimized/175 1303s ok 478 /regex/match-optimized/176 1303s ok 479 /regex/match-optimized/177 1303s ok 480 /regex/match-optimized/178 1303s ok 481 /regex/match-optimized/179 1303s ok 482 /regex/match-optimized/180 1303s ok 483 /regex/match-optimized/181 1303s ok 484 /regex/match-optimized/182 1303s ok 485 /regex/match-optimized/183 1303s ok 486 /regex/match-optimized/184 1303s ok 487 /regex/match-optimized/185 1303s ok 488 /regex/match-optimized/186 1303s ok 489 /regex/match-optimized/187 1303s ok 490 /regex/match-optimized/188 1303s ok 491 /regex/match-optimized/189 1303s ok 492 /regex/match-optimized/190 1303s ok 493 /regex/match-optimized/191 1303s ok 494 /regex/match-optimized/192 1303s ok 495 /regex/match-optimized/193 1303s ok 496 /regex/match-optimized/194 1303s ok 497 /regex/match-optimized/195 1303s ok 498 /regex/match-optimized/196 1303s ok 499 /regex/match-optimized/197 1303s ok 500 /regex/match-optimized/198 1303s ok 501 /regex/match-optimized/199 1303s ok 502 /regex/match-optimized/200 1303s ok 503 /regex/match-optimized/201 1303s ok 504 /regex/match-optimized/202 1303s ok 505 /regex/match-optimized/203 1303s ok 506 /regex/match-optimized/204 1303s ok 507 /regex/match-optimized/205 1303s ok 508 /regex/match-optimized/206 1303s ok 509 /regex/match-optimized/207 1303s ok 510 /regex/match-optimized/208 1303s ok 511 /regex/match-optimized/209 1303s ok 512 /regex/match-optimized/210 1303s ok 513 /regex/match-optimized/211 1303s ok 514 /regex/match-optimized/212 1303s ok 515 /regex/match-optimized/213 1303s ok 516 /regex/match-optimized/214 1303s ok 517 /regex/match-optimized/215 1303s ok 518 /regex/match-optimized/216 1303s ok 519 /regex/match-optimized/217 1303s ok 520 /regex/match-optimized/218 1303s ok 521 /regex/match-optimized/219 1303s ok 522 /regex/match-optimized/220 1303s ok 523 /regex/match-optimized/221 1303s ok 524 /regex/match-optimized/222 1303s ok 525 /regex/match-optimized/223 1303s ok 526 /regex/match-optimized/224 1303s ok 527 /regex/match-optimized/225 1303s ok 528 /regex/match-optimized/226 1303s ok 529 /regex/match-optimized/227 1303s ok 530 /regex/match-optimized/228 1303s ok 531 /regex/match-optimized/229 1303s ok 532 /regex/match-optimized/230 1303s ok 533 /regex/match-optimized/231 1303s ok 534 /regex/match-optimized/232 1303s ok 535 /regex/match-optimized/233 1303s ok 536 /regex/match-optimized/234 1303s ok 537 /regex/match-optimized/235 1303s ok 538 /regex/match-optimized/236 1303s ok 539 /regex/match-optimized/237 1303s ok 540 /regex/match-optimized/238 1303s ok 541 /regex/match-optimized/239 1303s ok 542 /regex/match-optimized/240 1303s ok 543 /regex/match-optimized/241 1303s ok 544 /regex/match-optimized/242 1303s ok 545 /regex/match-optimized/243 1303s ok 546 /regex/match-optimized/244 1303s ok 547 /regex/match-optimized/245 1303s ok 548 /regex/match-optimized/246 1303s # End of match-optimized tests 1303s # Start of fetch-all0 tests 1303s ok 549 /regex/fetch-all0/335 1303s ok 550 /regex/fetch-all0/336 1303s # End of fetch-all0 tests 1303s # Start of fetch-all1 tests 1303s ok 551 /regex/fetch-all1/337 1303s ok 552 /regex/fetch-all1/338 1303s ok 553 /regex/fetch-all1/339 1303s # End of fetch-all1 tests 1303s # Start of fetch-all2 tests 1303s ok 554 /regex/fetch-all2/340 1303s ok 555 /regex/fetch-all2/341 1303s ok 556 /regex/fetch-all2/342 1303s # End of fetch-all2 tests 1303s # Start of fetch-all3 tests 1303s ok 557 /regex/fetch-all3/343 1303s ok 558 /regex/fetch-all3/344 1303s ok 559 /regex/fetch-all3/345 1303s ok 560 /regex/fetch-all3/346 1303s ok 561 /regex/fetch-all3/347 1303s # End of fetch-all3 tests 1303s # Start of split tests 1303s # Start of simple0 tests 1303s ok 562 /regex/split/simple0/348 1303s ok 563 /regex/split/simple0/349 1303s ok 564 /regex/split/simple0/364 1303s ok 565 /regex/split/simple0/365 1303s # End of simple0 tests 1303s # Start of simple1 tests 1303s ok 566 /regex/split/simple1/350 1303s ok 567 /regex/split/simple1/351 1303s # End of simple1 tests 1303s # Start of simple2 tests 1303s ok 568 /regex/split/simple2/352 1303s ok 569 /regex/split/simple2/358 1303s ok 570 /regex/split/simple2/360 1303s # End of simple2 tests 1303s # Start of simple3 tests 1303s ok 571 /regex/split/simple3/353 1303s ok 572 /regex/split/simple3/354 1303s ok 573 /regex/split/simple3/355 1303s ok 574 /regex/split/simple3/356 1303s ok 575 /regex/split/simple3/357 1303s ok 576 /regex/split/simple3/359 1303s ok 577 /regex/split/simple3/361 1303s ok 578 /regex/split/simple3/362 1303s ok 579 /regex/split/simple3/363 1303s # End of simple3 tests 1303s # End of split tests 1303s # Start of split0 tests 1303s ok 580 /regex/split0/366 1303s ok 581 /regex/split0/368 1303s # End of split0 tests 1303s # Start of full-split0 tests 1303s ok 582 /regex/full-split0/367 1303s ok 583 /regex/full-split0/369 1303s ok 584 /regex/full-split0/370 1303s ok 585 /regex/full-split0/371 1303s ok 586 /regex/full-split0/372 1303s # End of full-split0 tests 1303s # Start of split1 tests 1303s ok 587 /regex/split1/373 1303s ok 588 /regex/split1/376 1303s # End of split1 tests 1303s # Start of full-split1 tests 1303s ok 589 /regex/full-split1/374 1303s ok 590 /regex/full-split1/375 1303s ok 591 /regex/full-split1/377 1303s ok 592 /regex/full-split1/378 1303s ok 593 /regex/full-split1/404 1303s # End of full-split1 tests 1303s # Start of split2 tests 1303s ok 594 /regex/split2/379 1303s ok 595 /regex/split2/383 1303s ok 596 /regex/split2/395 1303s # End of split2 tests 1303s # Start of full-split2 tests 1303s ok 597 /regex/full-split2/380 1303s ok 598 /regex/full-split2/381 1303s ok 599 /regex/full-split2/382 1303s ok 600 /regex/full-split2/384 1303s ok 601 /regex/full-split2/396 1303s ok 602 /regex/full-split2/399 1303s ok 603 /regex/full-split2/405 1303s # End of full-split2 tests 1303s # Start of split3 tests 1303s ok 604 /regex/split3/385 1303s ok 605 /regex/split3/387 1303s ok 606 /regex/split3/389 1303s ok 607 /regex/split3/391 1303s ok 608 /regex/split3/393 1303s ok 609 /regex/split3/397 1303s ok 610 /regex/split3/400 1303s ok 611 /regex/split3/402 1303s # End of split3 tests 1303s # Start of full-split3 tests 1303s ok 612 /regex/full-split3/386 1303s ok 613 /regex/full-split3/388 1303s ok 614 /regex/full-split3/390 1303s ok 615 /regex/full-split3/392 1303s ok 616 /regex/full-split3/394 1303s ok 617 /regex/full-split3/398 1303s ok 618 /regex/full-split3/401 1303s ok 619 /regex/full-split3/403 1303s ok 620 /regex/full-split3/406 1303s ok 621 /regex/full-split3/407 1303s # End of full-split3 tests 1303s # Start of check-repacement tests 1303s ok 622 /regex/check-repacement/408 1303s ok 623 /regex/check-repacement/409 1303s ok 624 /regex/check-repacement/410 1303s ok 625 /regex/check-repacement/411 1303s ok 626 /regex/check-repacement/412 1303s ok 627 /regex/check-repacement/413 1303s ok 628 /regex/check-repacement/414 1303s ok 629 /regex/check-repacement/415 1303s # End of check-repacement tests 1303s # Start of expand tests 1303s ok 630 /regex/expand/416 1303s ok 631 /regex/expand/417 1303s ok 632 /regex/expand/418 1303s ok 633 /regex/expand/419 1303s ok 634 /regex/expand/420 1303s ok 635 /regex/expand/421 1303s ok 636 /regex/expand/422 1303s ok 637 /regex/expand/423 1303s ok 638 /regex/expand/424 1303s ok 639 /regex/expand/425 1303s ok 640 /regex/expand/426 1303s ok 641 /regex/expand/427 1303s ok 642 /regex/expand/428 1303s ok 643 /regex/expand/429 1303s ok 644 /regex/expand/430 1303s ok 645 /regex/expand/431 1303s ok 646 /regex/expand/432 1303s ok 647 /regex/expand/433 1303s ok 648 /regex/expand/434 1303s ok 649 /regex/expand/435 1303s ok 650 /regex/expand/436 1303s ok 651 /regex/expand/437 1303s ok 652 /regex/expand/438 1303s ok 653 /regex/expand/439 1303s ok 654 /regex/expand/440 1303s ok 655 /regex/expand/441 1303s ok 656 /regex/expand/442 1303s ok 657 /regex/expand/443 1303s ok 658 /regex/expand/444 1303s ok 659 /regex/expand/445 1303s ok 660 /regex/expand/446 1303s ok 661 /regex/expand/447 1303s ok 662 /regex/expand/448 1303s ok 663 /regex/expand/449 1303s ok 664 /regex/expand/450 1303s ok 665 /regex/expand/451 1303s ok 666 /regex/expand/452 1303s ok 667 /regex/expand/453 1303s ok 668 /regex/expand/454 1303s ok 669 /regex/expand/455 1303s ok 670 /regex/expand/456 1303s ok 671 /regex/expand/457 1303s ok 672 /regex/expand/458 1303s ok 673 /regex/expand/459 1303s ok 674 /regex/expand/460 1303s ok 675 /regex/expand/461 1303s ok 676 /regex/expand/462 1303s ok 677 /regex/expand/463 1303s ok 678 /regex/expand/464 1303s ok 679 /regex/expand/465 1303s ok 680 /regex/expand/466 1303s ok 681 /regex/expand/467 1303s ok 682 /regex/expand/468 1303s ok 683 /regex/expand/469 1303s ok 684 /regex/expand/470 1303s ok 685 /regex/expand/471 1303s ok 686 /regex/expand/472 1303s ok 687 /regex/expand/473 1303s ok 688 /regex/expand/474 1303s ok 689 /regex/expand/475 1303s ok 690 /regex/expand/476 1303s ok 691 /regex/expand/477 1303s ok 692 /regex/expand/478 1303s ok 693 /regex/expand/479 1303s ok 694 /regex/expand/480 1303s ok 695 /regex/expand/481 1303s # End of expand tests 1303s # Start of replace tests 1303s ok 696 /regex/replace/482 1303s ok 697 /regex/replace/483 1303s ok 698 /regex/replace/484 1303s ok 699 /regex/replace/485 1303s ok 700 /regex/replace/486 1303s ok 701 /regex/replace/487 1303s ok 702 /regex/replace/488 1303s ok 703 /regex/replace/489 1303s ok 704 /regex/replace/490 1303s ok 705 /regex/replace/491 1303s ok 706 /regex/replace/492 1303s ok 707 /regex/replace/493 1303s ok 708 /regex/replace/494 1303s ok 709 /regex/replace/495 1303s ok 710 /regex/replace/496 1303s ok 711 /regex/replace/497 1303s ok 712 /regex/replace/498 1303s ok 713 /regex/replace/499 1303s ok 714 /regex/replace/500 1303s ok 715 /regex/replace/501 1303s ok 716 /regex/replace/502 1303s ok 717 /regex/replace/503 1303s ok 718 /regex/replace/504 1303s ok 719 /regex/replace/505 1303s ok 720 /regex/replace/506 1303s ok 721 /regex/replace/507 1303s ok 722 /regex/replace/508 1303s ok 723 /regex/replace/509 1303s # End of replace tests 1303s # Start of replace-optimized tests 1303s ok 724 /regex/replace-optimized/482 1303s ok 725 /regex/replace-optimized/483 1303s ok 726 /regex/replace-optimized/484 1303s ok 727 /regex/replace-optimized/485 1303s ok 728 /regex/replace-optimized/486 1303s ok 729 /regex/replace-optimized/487 1303s ok 730 /regex/replace-optimized/488 1303s ok 731 /regex/replace-optimized/489 1303s ok 732 /regex/replace-optimized/490 1303s ok 733 /regex/replace-optimized/491 1303s ok 734 /regex/replace-optimized/492 1303s ok 735 /regex/replace-optimized/493 1303s ok 736 /regex/replace-optimized/494 1303s ok 737 /regex/replace-optimized/495 1303s ok 738 /regex/replace-optimized/496 1303s ok 739 /regex/replace-optimized/497 1303s ok 740 /regex/replace-optimized/498 1303s ok 741 /regex/replace-optimized/499 1303s ok 742 /regex/replace-optimized/500 1303s ok 743 /regex/replace-optimized/501 1303s ok 744 /regex/replace-optimized/502 1303s ok 745 /regex/replace-optimized/503 1303s ok 746 /regex/replace-optimized/504 1303s ok 747 /regex/replace-optimized/505 1303s ok 748 /regex/replace-optimized/506 1303s ok 749 /regex/replace-optimized/507 1303s ok 750 /regex/replace-optimized/508 1303s ok 751 /regex/replace-optimized/509 1303s # End of replace-optimized tests 1303s # Start of replace-literally tests 1303s ok 752 /regex/replace-literally/510 1303s ok 753 /regex/replace-literally/511 1303s ok 754 /regex/replace-literally/512 1303s ok 755 /regex/replace-literally/513 1303s ok 756 /regex/replace-literally/514 1303s ok 757 /regex/replace-literally/515 1303s ok 758 /regex/replace-literally/516 1303s ok 759 /regex/replace-literally/517 1303s ok 760 /regex/replace-literally/518 1303s ok 761 /regex/replace-literally/519 1303s ok 762 /regex/replace-literally/520 1303s ok 763 /regex/replace-literally/521 1303s ok 764 /regex/replace-literally/522 1303s ok 765 /regex/replace-literally/523 1303s ok 766 /regex/replace-literally/524 1303s ok 767 /regex/replace-literally/525 1303s ok 768 /regex/replace-literally/526 1303s ok 769 /regex/replace-literally/527 1303s ok 770 /regex/replace-literally/528 1303s ok 771 /regex/replace-literally/529 1303s # End of replace-literally tests 1303s # Start of string-number tests 1303s ok 772 /regex/string-number/530 1303s ok 773 /regex/string-number/531 1303s ok 774 /regex/string-number/532 1303s ok 775 /regex/string-number/533 1303s ok 776 /regex/string-number/534 1303s ok 777 /regex/string-number/535 1303s ok 778 /regex/string-number/536 1303s ok 779 /regex/string-number/537 1303s ok 780 /regex/string-number/538 1303s ok 781 /regex/string-number/539 1303s ok 782 /regex/string-number/540 1303s ok 783 /regex/string-number/541 1303s ok 784 /regex/string-number/542 1303s ok 785 /regex/string-number/543 1303s ok 786 /regex/string-number/544 1303s # End of string-number tests 1303s # Start of escape_nul tests 1303s ok 787 /regex/escape_nul/545 1303s ok 788 /regex/escape_nul/546 1303s ok 789 /regex/escape_nul/547 1303s ok 790 /regex/escape_nul/548 1303s ok 791 /regex/escape_nul/549 1303s ok 792 /regex/escape_nul/550 1303s ok 793 /regex/escape_nul/551 1303s ok 794 /regex/escape_nul/552 1303s ok 795 /regex/escape_nul/553 1303s ok 796 /regex/escape_nul/554 1303s ok 797 /regex/escape_nul/555 1303s ok 798 /regex/escape_nul/556 1303s ok 799 /regex/escape_nul/557 1303s ok 800 /regex/escape_nul/558 1303s ok 801 /regex/escape_nul/559 1303s # End of escape_nul tests 1303s # Start of escape tests 1303s ok 802 /regex/escape/560 1303s ok 803 /regex/escape/561 1303s ok 804 /regex/escape/562 1303s ok 805 /regex/escape/563 1303s ok 806 /regex/escape/564 1303s ok 807 /regex/escape/565 1303s ok 808 /regex/escape/566 1303s ok 809 /regex/escape/567 1303s ok 810 /regex/escape/568 1303s ok 811 /regex/escape/569 1303s ok 812 /regex/escape/570 1303s ok 813 /regex/escape/571 1303s ok 814 /regex/escape/572 1303s ok 815 /regex/escape/573 1303s ok 816 /regex/escape/574 1303s ok 817 /regex/escape/575 1303s ok 818 /regex/escape/576 1303s ok 819 /regex/escape/577 1303s # End of escape tests 1303s # Start of match-all0 tests 1303s ok 820 /regex/match-all0/578 1303s ok 821 /regex/match-all0/580 1303s # End of match-all0 tests 1303s # Start of match-all-full0 tests 1303s ok 822 /regex/match-all-full0/579 1303s ok 823 /regex/match-all-full0/581 1303s ok 824 /regex/match-all-full0/582 1303s ok 825 /regex/match-all-full0/583 1303s # End of match-all-full0 tests 1303s # Start of match-all1 tests 1303s ok 826 /regex/match-all1/584 1303s ok 827 /regex/match-all1/586 1303s ok 828 /regex/match-all1/591 1303s # End of match-all1 tests 1303s # Start of match-all-full1 tests 1303s ok 829 /regex/match-all-full1/585 1303s ok 830 /regex/match-all-full1/587 1303s ok 831 /regex/match-all-full1/588 1303s ok 832 /regex/match-all-full1/589 1303s ok 833 /regex/match-all-full1/590 1303s ok 834 /regex/match-all-full1/592 1303s # End of match-all-full1 tests 1303s # Start of match-all2 tests 1303s ok 835 /regex/match-all2/593 1303s ok 836 /regex/match-all2/595 1303s ok 837 /regex/match-all2/597 1303s # End of match-all2 tests 1303s # Start of match-all-full2 tests 1303s ok 838 /regex/match-all-full2/594 1303s ok 839 /regex/match-all-full2/596 1303s ok 840 /regex/match-all-full2/598 1303s # End of match-all-full2 tests 1303s # Start of match-all3 tests 1303s ok 841 /regex/match-all3/599 1303s ok 842 /regex/match-all3/601 1303s # End of match-all3 tests 1303s # Start of match-all-full3 tests 1303s ok 843 /regex/match-all-full3/600 1303s ok 844 /regex/match-all-full3/602 1303s # End of match-all-full3 tests 1303s # Start of match-notempty tests 1303s ok 845 /regex/match-notempty/603 1303s # End of match-notempty tests 1303s # Start of match-notempty-optimized tests 1303s ok 846 /regex/match-notempty-optimized/603 1303s # End of match-notempty-optimized tests 1303s # Start of match-notempty-atstart tests 1303s ok 847 /regex/match-notempty-atstart/604 1303s # End of match-notempty-atstart tests 1303s # Start of match-notempty-atstart-optimized tests 1303s ok 848 /regex/match-notempty-atstart-optimized/604 1303s # End of match-notempty-atstart-optimized tests 1303s # End of regex tests 1303s ok - glib/regex.test 1303s # Running test: glib/gdbus-peer-object-manager.test 1303s TAP version 13 1303s # random seed: R02S84e3c5672638dd233a88196824cd401a 1303s 1..2 1303s # Start of gdbus tests 1303s # Start of peer-object-manager tests 1303s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/home 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/cache 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/system-config2 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/config 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/system-data2 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/data 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/state 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/normal/.dirs/runtime 1303s ok 1 /gdbus/peer-object-manager/normal 1303s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/home 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/cache 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/system-config2 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/config 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/system-data2 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/data 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/state 1303s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_B381J2/gdbus/peer-object-manager/root/.dirs/runtime 1303s ok 2 /gdbus/peer-object-manager/root 1303s # End of peer-object-manager tests 1303s # End of gdbus tests 1303s ok - glib/gdbus-peer-object-manager.test 1303s # Running test: glib/properties-introspection.test 1303s TAP version 13 1303s # random seed: R02Sb414e2fd82d9c09cd30190a861846c5f 1303s 1..2 1303s # Start of properties tests 1303s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1303s ok 1 /properties/introspection 1303s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1303s ok 2 /properties/collision 1303s # End of properties tests 1303s ok - glib/properties-introspection.test 1303s # Running test: glib/performance.test 1303s Running test simple-construction 1308s # Executing: glib/performance.test 1310s Millions of constructed objects per second: 3.659 1310s Running test simple-construction1 1313s # Executing: glib/performance.test 1316s Millions of constructed objects per second: 29.653 1316s Running test complex-construction 1318s # Executing: glib/performance.test 1320s Millions of constructed objects per second: 1.637 1320s Running test complex-construction1 1323s # Executing: glib/performance.test 1325s Millions of constructed objects per second: 2.785 1325s Running test complex-construction2 1328s # Executing: glib/performance.test 1330s Millions of constructed objects per second: 2.959 1330s Running test finalization 1333s Millions of finalized objects per second: 0.845 1333s Running test type-check 1333s Million type checks per second: inf 1333s Running test emit-unhandled 1333s # Executing: glib/performance.test 1334s Emissions per second: 1177778 1334s Running test emit-unhandled-empty 1335s Emissions per second: 6975699 1335s Running test emit-unhandled-generic 1337s Emissions per second: 1613185 1337s Running test emit-unhandled-generic-empty 1338s # Executing: glib/performance.test 1338s Emissions per second: 6968944 1338s Running test emit-unhandled-args 1339s Emissions per second: 1035070 1339s Running test emit-handled 1341s Emissions per second: 822868 1341s Running test emit-handled-empty 1343s # Executing: glib/performance.test 1343s Emissions per second: 850843 1343s Running test emit-handled-generic 1344s Emissions per second: 841296 1344s Running test emit-handled-generic-empty 1346s Emissions per second: 1432517 1346s Running test emit-handled-args 1348s Emissions per second: 752228 1348s Running test notify-unhandled 1348s # Executing: glib/performance.test 1349s Notify (unhandled) per second: 7081965 1349s Running test notify-by-pspec-unhandled 1350s Notify (unhandled) per second: 26524058 1350s Running test notify-handled 1352s Notify per second: 471882 1352s Running test notify-by-pspec-handled 1353s # Executing: glib/performance.test 1354s Notify per second: 497473 1354s Running test property-set 1355s Property set per second: 2569160 1355s Running test property-get 1356s Property get per second: 2514415 1356s Running test refcount 1358s # Executing: glib/performance.test 1361s Million refs+unref per second: 7.45 1361s ok - glib/performance.test 1361s # Running test: glib/autoptr-gio.test 1361s TAP version 13 1361s # random seed: R02S1ef04fb48a7b4510fb28b2ef08376209 1361s 1..1 1361s # Start of autoptr tests 1361s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1361s ok 1 /autoptr/autoptr 1361s # End of autoptr tests 1361s ok - glib/autoptr-gio.test 1361s # Running test: glib/buffered-output-stream.test 1361s TAP version 13 1361s # random seed: R02S941f59f60f4b2afea7fb65b3a3b5caa8 1361s 1..5 1361s # Start of buffered-output-stream tests 1361s ok 1 /buffered-output-stream/write 1361s ok 2 /buffered-output-stream/grow 1361s ok 3 /buffered-output-stream/seek 1361s ok 4 /buffered-output-stream/truncate 1361s # End of buffered-output-stream tests 1361s # Start of filter-output-stream tests 1361s ok 5 /filter-output-stream/close 1361s # End of filter-output-stream tests 1361s ok - glib/buffered-output-stream.test 1361s # Running test: glib/atomic-c-99.test 1361s TAP version 13 1361s # random seed: R02S9d2c2620b081219b234f1c557012105a 1361s 1..2 1361s # Start of atomic tests 1361s ok 1 /atomic/types 1362s ok 2 /atomic/threaded 1362s # slow test /atomic/threaded executed in 0.69 secs 1362s # End of atomic tests 1362s ok - glib/atomic-c-99.test 1362s # Running test: glib/cond.test 1362s TAP version 13 1362s # random seed: R02S4e53101b93cb60e5c0ada18292fb9f46 1362s 1..4 1362s # Start of thread tests 1362s ok 1 /thread/cond1 1362s ok 2 /thread/cond2 1362s # Start of cond tests 1363s # Executing: glib/cond.test 1363s ok 3 /thread/cond/wait-until 1363s # slow test /thread/cond/wait-until executed in 1.02 secs 1363s # Start of wait-until tests 1363s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1363s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1364s ok 4 /thread/cond/wait-until/contended-and-interrupted 1364s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1364s # End of wait-until tests 1364s # End of cond tests 1364s # End of thread tests 1364s ok - glib/cond.test 1364s # Running test: glib/dynamictype.test 1364s TAP version 13 1364s # random seed: R02S7a284ce81047e45a528788daa296b79e 1364s 1..2 1364s # Start of gobject tests 1364s ok 1 /gobject/dynamic-type 1364s # Start of dynamic-type tests 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1364s ok 2 /gobject/dynamic-type/query 1364s # End of dynamic-type tests 1364s # End of gobject tests 1364s ok - glib/dynamictype.test 1364s # Running test: glib/gdbus-threading.test 1364s TAP version 13 1364s # random seed: R02S9f5fb6758c551efcdcf718ec9c8e44e5 1364s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1364s ok - glib/gdbus-threading.test 1364s # Running test: glib/file.test 1364s TAP version 13 1364s # random seed: R02S037aeafbed2d3875e645cfcc9651352e 1364s 1..50 1364s # Start of file tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/basic/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/basic/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/basic/.dirs/system-config1:/tmp/test_file_4T95J2/file/basic/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/basic/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/basic/.dirs/system-data1:/tmp/test_file_4T95J2/file/basic/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/basic/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/basic/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/basic/.dirs/runtime 1364s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1364s ok 1 /file/basic 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/build-filename/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/build-filename/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/build-filename/.dirs/system-config1:/tmp/test_file_4T95J2/file/build-filename/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/build-filename/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/build-filename/.dirs/system-data1:/tmp/test_file_4T95J2/file/build-filename/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/build-filename/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/build-filename/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/build-filename/.dirs/runtime 1364s ok 2 /file/build-filename 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_4T95J2/file/build-filenamev/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_4T95J2/file/build-filenamev/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/build-filenamev/.dirs/runtime 1364s ok 3 /file/build-filenamev 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/parent/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/parent/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/parent/.dirs/system-config1:/tmp/test_file_4T95J2/file/parent/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/parent/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/parent/.dirs/system-data1:/tmp/test_file_4T95J2/file/parent/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/parent/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/parent/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/parent/.dirs/runtime 1364s ok 4 /file/parent 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/child/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/child/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/child/.dirs/system-config1:/tmp/test_file_4T95J2/file/child/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/child/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/child/.dirs/system-data1:/tmp/test_file_4T95J2/file/child/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/child/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/child/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/child/.dirs/runtime 1364s ok 5 /file/child 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/empty-path/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/empty-path/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/empty-path/.dirs/system-config1:/tmp/test_file_4T95J2/file/empty-path/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/empty-path/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/empty-path/.dirs/system-data1:/tmp/test_file_4T95J2/file/empty-path/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/empty-path/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/empty-path/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/empty-path/.dirs/runtime 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1364s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1364s ok 6 /file/empty-path 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/type/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/type/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/type/.dirs/system-config1:/tmp/test_file_4T95J2/file/type/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/type/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/type/.dirs/system-data1:/tmp/test_file_4T95J2/file/type/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/type/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/type/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/type/.dirs/runtime 1364s ok 7 /file/type 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/parse-name/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/parse-name/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/parse-name/.dirs/system-config1:/tmp/test_file_4T95J2/file/parse-name/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/parse-name/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/parse-name/.dirs/system-data1:/tmp/test_file_4T95J2/file/parse-name/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/parse-name/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/parse-name/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/parse-name/.dirs/runtime 1364s ok 8 /file/parse-name 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/replace-load/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/replace-load/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/replace-load/.dirs/system-config1:/tmp/test_file_4T95J2/file/replace-load/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/replace-load/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/replace-load/.dirs/system-data1:/tmp/test_file_4T95J2/file/replace-load/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/replace-load/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/replace-load/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/replace-load/.dirs/runtime 1364s ok 9 /file/replace-load 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_4T95J2/file/replace-cancel/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_4T95J2/file/replace-cancel/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/replace-cancel/.dirs/runtime 1364s # Bug Reference: https://bugzilla.gnome.org/629301 1364s ok 10 /file/replace-cancel 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_4T95J2/file/replace-symlink/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_4T95J2/file/replace-symlink/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/replace-symlink/.dirs/runtime 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1364s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1364s # Using temporary directory /tmp/test_file_4T95J2/g_file_replace_symlink_YYT6J2 1364s ok 11 /file/replace-symlink 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-new-tmp/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-new-tmp/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-new-tmp/.dirs/runtime 1364s ok 12 /file/async-new-tmp 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-new-tmp-dir/.dirs/runtime 1364s ok 13 /file/async-new-tmp-dir 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-delete/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-delete/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-delete/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-delete/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-delete/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-delete/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-delete/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-delete/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-delete/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-delete/.dirs/runtime 1364s ok 14 /file/async-delete 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-make-symlink/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-make-symlink/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-make-symlink/.dirs/runtime 1364s ok 15 /file/async-make-symlink 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/copy-preserve-mode/.dirs/runtime 1364s # Current umask: 2 1364s # Vector 0 1364s # Vector 1 1364s # Vector 2 1364s # Vector 3 1364s # Vector 4 1364s # Vector 5 1364s # Vector 6 1364s # Vector 7 1364s # Vector 8 1364s # Vector 9 1364s # Vector 10 1364s ok 16 /file/copy-preserve-mode 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/measure/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/measure/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/measure/.dirs/system-config1:/tmp/test_file_4T95J2/file/measure/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/measure/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/measure/.dirs/system-data1:/tmp/test_file_4T95J2/file/measure/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/measure/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/measure/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/measure/.dirs/runtime 1364s ok 17 /file/measure 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/measure-async/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/measure-async/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/measure-async/.dirs/system-config1:/tmp/test_file_4T95J2/file/measure-async/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/measure-async/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/measure-async/.dirs/system-data1:/tmp/test_file_4T95J2/file/measure-async/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/measure-async/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/measure-async/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/measure-async/.dirs/runtime 1364s ok 18 /file/measure-async 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/load-bytes/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/load-bytes/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/load-bytes/.dirs/system-config1:/tmp/test_file_4T95J2/file/load-bytes/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/load-bytes/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/load-bytes/.dirs/system-data1:/tmp/test_file_4T95J2/file/load-bytes/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/load-bytes/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/load-bytes/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/load-bytes/.dirs/runtime 1364s ok 19 /file/load-bytes 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_4T95J2/file/load-bytes-async/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_4T95J2/file/load-bytes-async/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/load-bytes-async/.dirs/runtime 1364s ok 20 /file/load-bytes-async 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/.dirs/runtime 1364s ok 21 /file/writev 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/build-attribute-list-for-copy/.dirs/runtime 1364s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1364s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1364s # 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::* 1364s # 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::* 1364s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1364s # Attributes for copy: standard::size,xattr::* 1364s # Attributes for copy: standard::size,unix::mode,xattr::* 1364s ok 22 /file/build-attribute-list-for-copy 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/move_async/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/move_async/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/move_async/.dirs/system-config1:/tmp/test_file_4T95J2/file/move_async/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/move_async/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/move_async/.dirs/system-data1:/tmp/test_file_4T95J2/file/move_async/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/move_async/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/move_async/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/move_async/.dirs/runtime 1364s ok 23 /file/move_async 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/query-zero-length-content-type/.dirs/runtime 1364s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1364s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1364s ok 24 /file/query-zero-length-content-type 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/runtime 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/data/applications 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/config 1364s ok 25 /file/query-default-handler-file 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/runtime 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/data/applications 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/config 1364s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_4T95J2/file/query-default-handler-file/.dirs/config to /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/config 1364s ok 26 /file/query-default-handler-file-async 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/runtime 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/data/applications 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/config 1364s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_4T95J2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/config 1364s ok 27 /file/query-default-handler-uri 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/runtime 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/data/applications 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/config 1364s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_4T95J2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/config 1364s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_4T95J2/file/query-default-handler-uri-async/.dirs/config 1364s ok 28 /file/query-default-handler-uri-async 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/enumerator-cancellation/.dirs/runtime 1364s ok 29 /file/enumerator-cancellation 1364s # Start of async-create-delete tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-create-delete/0/.dirs/runtime 1364s ok 30 /file/async-create-delete/0 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-create-delete/1/.dirs/runtime 1365s ok 31 /file/async-create-delete/1 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-create-delete/10/.dirs/runtime 1365s ok 32 /file/async-create-delete/10 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-create-delete/25/.dirs/runtime 1365s ok 33 /file/async-create-delete/25 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/async-create-delete/4096/.dirs/runtime 1365s ok 34 /file/async-create-delete/4096 1365s # End of async-create-delete tests 1365s # Start of replace-symlink tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/replace-symlink/using-etag/.dirs/runtime 1365s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1365s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1365s # Using temporary directory /tmp/test_file_4T95J2/g_file_replace_symlink_using_etag_KX0HK2 1367s ok 35 /file/replace-symlink/using-etag 1367s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1367s # End of replace-symlink tests 1367s # Start of replace tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_4T95J2/file/replace/write-only/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_4T95J2/file/replace/write-only/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/replace/write-only/.dirs/runtime 1367s # /file/replace/write-only summary: Test various situations for g_file_replace() 1367s # Current umask: 2 1367s # Test 0, using temporary directory /tmp/test_file_4T95J2/g_file_replace_R9UHK2 1367s # Test 1, using temporary directory /tmp/test_file_4T95J2/g_file_replace_ZGUHK2 1367s # Test 2, using temporary directory /tmp/test_file_4T95J2/g_file_replace_5ARHK2 1367s # Test 3, using temporary directory /tmp/test_file_4T95J2/g_file_replace_RVS7J2 1367s # Test 4, using temporary directory /tmp/test_file_4T95J2/g_file_replace_8CR7J2 1367s # Test 5, using temporary directory /tmp/test_file_4T95J2/g_file_replace_XYQ7J2 1367s # Test 6, using temporary directory /tmp/test_file_4T95J2/g_file_replace_27M7J2 1367s # Test 7, using temporary directory /tmp/test_file_4T95J2/g_file_replace_1YJ7J2 1367s # Test 8, using temporary directory /tmp/test_file_4T95J2/g_file_replace_KOH7J2 1367s # Test 9, using temporary directory /tmp/test_file_4T95J2/g_file_replace_R7G7J2 1367s # Test 10, using temporary directory /tmp/test_file_4T95J2/g_file_replace_40E7J2 1367s # Test 11, using temporary directory /tmp/test_file_4T95J2/g_file_replace_0YA7J2 1367s # Test 12, using temporary directory /tmp/test_file_4T95J2/g_file_replace_OZ86J2 1367s # Test 13, using temporary directory /tmp/test_file_4T95J2/g_file_replace_RW86J2 1367s # Test 14, using temporary directory /tmp/test_file_4T95J2/g_file_replace_15J8J2 1367s # Test 15, using temporary directory /tmp/test_file_4T95J2/g_file_replace_9VF8J2 1367s # Test 16, using temporary directory /tmp/test_file_4T95J2/g_file_replace_4RD8J2 1367s # Test 17, using temporary directory /tmp/test_file_4T95J2/g_file_replace_5TA8J2 1367s # Test 18, using temporary directory /tmp/test_file_4T95J2/g_file_replace_1M77J2 1367s # Test 19, using temporary directory /tmp/test_file_4T95J2/g_file_replace_XT37J2 1367s # Test 20, using temporary directory /tmp/test_file_4T95J2/g_file_replace_KU07J2 1367s # Test 21, using temporary directory /tmp/test_file_4T95J2/g_file_replace_LYW7J2 1367s # Test 22, using temporary directory /tmp/test_file_4T95J2/g_file_replace_9G88J2 1367s # Test 23, using temporary directory /tmp/test_file_4T95J2/g_file_replace_EZ78J2 1367s # Test 24, using temporary directory /tmp/test_file_4T95J2/g_file_replace_JW48J2 1367s # Test 25, using temporary directory /tmp/test_file_4T95J2/g_file_replace_7N18J2 1367s # Test 26, using temporary directory /tmp/test_file_4T95J2/g_file_replace_A5Z8J2 1367s # Test 27, using temporary directory /tmp/test_file_4T95J2/g_file_replace_WTX8J2 1367s # Test 28, using temporary directory /tmp/test_file_4T95J2/g_file_replace_7VU8J2 1367s # Test 29, using temporary directory /tmp/test_file_4T95J2/g_file_replace_JMR8J2 1367s # Test 30, using temporary directory /tmp/test_file_4T95J2/g_file_replace_ZMQ8J2 1367s # Test 31, using temporary directory /tmp/test_file_4T95J2/g_file_replace_1KP8J2 1367s # Test 32, using temporary directory /tmp/test_file_4T95J2/g_file_replace_QIM8J2 1367s # Test 33, using temporary directory /tmp/test_file_4T95J2/g_file_replace_VRW9J2 1367s # Test 34, using temporary directory /tmp/test_file_4T95J2/g_file_replace_A4U9J2 1367s # Test 35, using temporary directory /tmp/test_file_4T95J2/g_file_replace_0QU9J2 1367s # Test 36, using temporary directory /tmp/test_file_4T95J2/g_file_replace_IJQ9J2 1367s # Test 37, using temporary directory /tmp/test_file_4T95J2/g_file_replace_KVN9J2 1367s # Test 38, using temporary directory /tmp/test_file_4T95J2/g_file_replace_0AK9J2 1367s # Test 39, using temporary directory /tmp/test_file_4T95J2/g_file_replace_ZVG9J2 1367s # Test 40, using temporary directory /tmp/test_file_4T95J2/g_file_replace_W5D9J2 1367s # Test 41, using temporary directory /tmp/test_file_4T95J2/g_file_replace_N7A9J2 1367s # Test 42, using temporary directory /tmp/test_file_4T95J2/g_file_replace_Q0LAK2 1367s # Test 43, using temporary directory /tmp/test_file_4T95J2/g_file_replace_MRIAK2 1367s # Test 44, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BDGAK2 1367s # Test 45, using temporary directory /tmp/test_file_4T95J2/g_file_replace_7BFAK2 1367s # Test 46, using temporary directory /tmp/test_file_4T95J2/g_file_replace_YWAAK2 1367s # Test 47, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BGAAK2 1367s # Test 48, using temporary directory /tmp/test_file_4T95J2/g_file_replace_2E69J2 1367s # We do not have CAP_DAC_OVERRIDE or equivalent 1367s ok 36 /file/replace/write-only 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_4T95J2/file/replace/read-write/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_4T95J2/file/replace/read-write/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/replace/read-write/.dirs/runtime 1367s # /file/replace/read-write summary: Test various situations for g_file_replace() 1367s # Current umask: 2 1367s # Test 0, using temporary directory /tmp/test_file_4T95J2/g_file_replace_QB39J2 1367s # Test 1, using temporary directory /tmp/test_file_4T95J2/g_file_replace_KX29J2 1367s # Test 2, using temporary directory /tmp/test_file_4T95J2/g_file_replace_GZCBK2 1367s # Test 3, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BV8AK2 1367s # Test 4, using temporary directory /tmp/test_file_4T95J2/g_file_replace_786AK2 1367s # Test 5, using temporary directory /tmp/test_file_4T95J2/g_file_replace_XY6AK2 1367s # Test 6, using temporary directory /tmp/test_file_4T95J2/g_file_replace_LZ3AK2 1367s # Test 7, using temporary directory /tmp/test_file_4T95J2/g_file_replace_JIZAK2 1367s # Test 8, using temporary directory /tmp/test_file_4T95J2/g_file_replace_SEYAK2 1367s # Test 9, using temporary directory /tmp/test_file_4T95J2/g_file_replace_QOXAK2 1367s # Test 10, using temporary directory /tmp/test_file_4T95J2/g_file_replace_D9TAK2 1367s # Test 11, using temporary directory /tmp/test_file_4T95J2/g_file_replace_SGQAK2 1367s # Test 12, using temporary directory /tmp/test_file_4T95J2/g_file_replace_DUOAK2 1367s # Test 13, using temporary directory /tmp/test_file_4T95J2/g_file_replace_7D1BK2 1367s # Test 14, using temporary directory /tmp/test_file_4T95J2/g_file_replace_LLYBK2 1367s # Test 15, using temporary directory /tmp/test_file_4T95J2/g_file_replace_LZTBK2 1367s # Test 16, using temporary directory /tmp/test_file_4T95J2/g_file_replace_4PQBK2 1367s # Test 17, using temporary directory /tmp/test_file_4T95J2/g_file_replace_VKNBK2 1367s # Test 18, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BDJBK2 1367s # Test 19, using temporary directory /tmp/test_file_4T95J2/g_file_replace_ZJFBK2 1367s # Test 20, using temporary directory /tmp/test_file_4T95J2/g_file_replace_Y8QCK2 1367s # Test 21, using temporary directory /tmp/test_file_4T95J2/g_file_replace_M6NCK2 1367s # Test 22, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BTJCK2 1367s # Test 23, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BUICK2 1367s # Test 24, using temporary directory /tmp/test_file_4T95J2/g_file_replace_UNFCK2 1367s # Test 25, using temporary directory /tmp/test_file_4T95J2/g_file_replace_X2CCK2 1367s # Test 26, using temporary directory /tmp/test_file_4T95J2/g_file_replace_6JBCK2 1367s # Test 27, using temporary directory /tmp/test_file_4T95J2/g_file_replace_MB9BK2 1367s # Test 28, using temporary directory /tmp/test_file_4T95J2/g_file_replace_7E6BK2 1367s # Test 29, using temporary directory /tmp/test_file_4T95J2/g_file_replace_YD3BK2 1367s # Test 30, using temporary directory /tmp/test_file_4T95J2/g_file_replace_OY71J2 1367s # Test 31, using temporary directory /tmp/test_file_4T95J2/g_file_replace_Q561J2 1367s # Test 32, using temporary directory /tmp/test_file_4T95J2/g_file_replace_A631J2 1367s # Test 33, using temporary directory /tmp/test_file_4T95J2/g_file_replace_2KZ1J2 1367s # Test 34, using temporary directory /tmp/test_file_4T95J2/g_file_replace_C2X1J2 1367s # Test 35, using temporary directory /tmp/test_file_4T95J2/g_file_replace_QOX1J2 1367s # Test 36, using temporary directory /tmp/test_file_4T95J2/g_file_replace_RFU1J2 1367s # Test 37, using temporary directory /tmp/test_file_4T95J2/g_file_replace_LKP1J2 1367s # Test 38, using temporary directory /tmp/test_file_4T95J2/g_file_replace_53L1J2 1367s # Test 39, using temporary directory /tmp/test_file_4T95J2/g_file_replace_I6X2J2 1367s # Test 40, using temporary directory /tmp/test_file_4T95J2/g_file_replace_J1U2J2 1367s # Test 41, using temporary directory /tmp/test_file_4T95J2/g_file_replace_6AR2J2 1367s # Test 42, using temporary directory /tmp/test_file_4T95J2/g_file_replace_QDO2J2 1367s # Test 43, using temporary directory /tmp/test_file_4T95J2/g_file_replace_5BL2J2 1367s # Test 44, using temporary directory /tmp/test_file_4T95J2/g_file_replace_0LH2J2 1367s # Test 45, using temporary directory /tmp/test_file_4T95J2/g_file_replace_BOF2J2 1367s # Test 46, using temporary directory /tmp/test_file_4T95J2/g_file_replace_2HC2J2 1367s # Test 47, using temporary directory /tmp/test_file_4T95J2/g_file_replace_HIB2J2 1367s # Test 48, using temporary directory /tmp/test_file_4T95J2/g_file_replace_QH91J2 1367s # We do not have CAP_DAC_OVERRIDE or equivalent 1367s ok 37 /file/replace/read-write 1367s # End of replace tests 1367s # Start of copy tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/copy/progress/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/copy/progress/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/copy/progress/.dirs/system-config1:/tmp/test_file_4T95J2/file/copy/progress/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/copy/progress/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/copy/progress/.dirs/system-data1:/tmp/test_file_4T95J2/file/copy/progress/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/copy/progress/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/copy/progress/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/copy/progress/.dirs/runtime 1367s ok 38 /file/copy/progress 1367s # End of copy tests 1367s # Start of writev tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/no-bytes-written/.dirs/runtime 1367s ok 39 /file/writev/no-bytes-written 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/no-vectors/.dirs/runtime 1367s ok 40 /file/writev/no-vectors 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/empty-vectors/.dirs/runtime 1367s ok 41 /file/writev/empty-vectors 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/too-big-vectors/.dirs/runtime 1367s ok 42 /file/writev/too-big-vectors 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/async/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/async/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/async/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/async/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/async/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/async/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/async/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/async/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/async/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/async/.dirs/runtime 1367s ok 43 /file/writev/async 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/async_all/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/async_all/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/async_all/.dirs/runtime 1367s ok 44 /file/writev/async_all 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/async_all-empty-vectors/.dirs/runtime 1367s ok 45 /file/writev/async_all-empty-vectors 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/async_all-no-vectors/.dirs/runtime 1367s ok 46 /file/writev/async_all-no-vectors 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/async_all-to-big-vectors/.dirs/runtime 1367s ok 47 /file/writev/async_all-to-big-vectors 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/writev/async_all-cancellation/.dirs/runtime 1367s ok 48 /file/writev/async_all-cancellation 1367s # End of writev tests 1367s # Start of from-uri tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/from-uri/ignores-query-string/.dirs/runtime 1367s ok 49 /file/from-uri/ignores-query-string 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_4T95J2/file/from-uri/ignores-fragment/.dirs/runtime 1367s ok 50 /file/from-uri/ignores-fragment 1367s # End of from-uri tests 1367s # End of file tests 1367s ok - glib/file.test 1367s # Running test: glib/list.test 1367s TAP version 13 1367s # random seed: R02S0976c5b1dd2e0bac8717a2e579f1da5c 1367s 1..20 1367s # Start of list tests 1367s ok 1 /list/sort 1367s ok 2 /list/sort-with-data 1367s ok 3 /list/insert-before-link 1367s ok 4 /list/insert-sorted 1367s ok 5 /list/insert-sorted-with-data 1367s ok 6 /list/reverse 1367s ok 7 /list/nth 1367s ok 8 /list/concat 1367s ok 9 /list/remove 1367s ok 10 /list/remove-all 1367s ok 11 /list/first-last 1367s ok 12 /list/insert 1367s ok 13 /list/free-full 1367s ok 14 /list/copy 1367s ok 15 /list/copy-deep 1367s ok 16 /list/delete-link 1367s ok 17 /list/prepend 1367s ok 18 /list/position 1367s ok 19 /list/double-free 1367s # Start of sort tests 1367s ok 20 /list/sort/stable 1367s # End of sort tests 1367s # End of list tests 1367s ok - glib/list.test 1367s # Running test: glib/gdbus-method-invocation.test 1367s TAP version 13 1367s # random seed: R02Sf6aa7ab9ccd7d4b39b05c5f92e247dbc 1367s 1..1 1367s # Start of gdbus tests 1367s # Start of method-invocation tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_8GL4J2/gdbus/method-invocation/return/.dirs/runtime 1367s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1367s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1367s # Calling org.freedesktop.DBus.Properties.Get 1367s # Calling org.freedesktop.DBus.Properties.Get 1367s # Calling org.freedesktop.DBus.Properties.Get 1367s # Calling org.freedesktop.DBus.Properties.Set 1367s # Calling org.freedesktop.DBus.Properties.GetAll 1367s # Calling org.example.Foo.WrongReturnType 1367s # Calling org.example.Foo.GetFDs 1367s # Calling org.example.Foo.GetFDs 1367s # Calling org.example.Foo.ReturnError 1367s # Calling org.example.Foo.CloseBeforeReturning 1367s ok 1 /gdbus/method-invocation/return 1367s # End of method-invocation tests 1367s # End of gdbus tests 1367s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1367s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1367s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1367s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1367s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1367s ok - glib/gdbus-method-invocation.test 1367s # Running test: glib/hash.test 1367s TAP version 13 1367s # random seed: R02S1a3b12bd5f10a1fc19822a83378a4f70 1367s 1..34 1367s # Start of hash tests 1367s ok 1 /hash/misc 1367s ok 2 /hash/one 1367s ok 3 /hash/honeyman 1367s ok 4 /hash/direct 1367s ok 5 /hash/direct2 1367s ok 6 /hash/int 1367s ok 7 /hash/int64 1367s ok 8 /hash/double 1367s ok 9 /hash/string 1367s ok 10 /hash/set 1367s ok 11 /hash/set-ref 1367s ok 12 /hash/ref 1367s ok 13 /hash/remove-all 1367s ok 14 /hash/recursive-remove-all 1367s ok 15 /hash/find 1367s ok 16 /hash/foreach 1367s ok 17 /hash/foreach-steal 1367s ok 18 /hash/steal-extended 1367s ok 19 /hash/steal-all-keys 1367s ok 20 /hash/steal-all-values 1367s ok 21 /hash/lookup-extended 1367s ok 22 /hash/new-similar 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1367s ok 23 /hash/lookup-null-key 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1367s ok 24 /hash/destroy-modify 1367s ok 25 /hash/consistency 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1367s ok 26 /hash/iter-replace 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1367s ok 27 /hash/set-insert-corruption 1367s ok 28 /hash/set-to-strv 1367s ok 29 /hash/get-keys-as-ptr-array 1367s ok 30 /hash/get-values-as-ptr-array 1367s ok 31 /hash/primes 1367s # Start of int64 tests 1367s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1367s ok 32 /hash/int64/collisions 1367s # End of int64 tests 1367s # Start of double tests 1367s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1367s ok 33 /hash/double/collisions 1367s # End of double tests 1367s # Start of recursive-remove-all tests 1367s # End of recursive-remove-all tests 1367s # Start of steal-extended tests 1367s ok 34 /hash/steal-extended/optional 1367s # End of steal-extended tests 1367s # End of hash tests 1367s ok - glib/hash.test 1367s # Running test: glib/filter-streams.test 1367s TAP version 13 1367s # random seed: R02S2a63f377133344a6aa74968e96383c44 1367s 1..4 1367s # Start of filter-stream tests 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1367s ok 1 /filter-stream/input 1367s ok 2 /filter-stream/output 1367s ok 3 /filter-stream/async-input 1367s ok 4 /filter-stream/async-output 1367s # End of filter-stream tests 1367s ok - glib/filter-streams.test 1367s # Running test: glib/socket-address.test 1367s TAP version 13 1367s # random seed: R02S5c32dcfeff40abd9a25cc0d510e71e90 1367s 1..2 1367s # Start of socket tests 1367s # Start of address tests 1367s # Start of unix tests 1367s ok 1 /socket/address/unix/construct 1367s ok 2 /socket/address/unix/to-string 1367s # End of unix tests 1367s # End of address tests 1367s # End of socket tests 1367s ok - glib/socket-address.test 1367s # Running test: glib/spawn-singlethread.test 1367s TAP version 13 1367s # random seed: R02Sb0c7561a3696b098d1858c81e9bc988b 1367s 1..9 1367s # Start of gthread tests 1367s ok 1 /gthread/spawn-single-sync 1367s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1367s ok 2 /gthread/spawn-stderr-socket 1367s ok 3 /gthread/spawn-single-async 1367s # thread 1 1367s # thread 1 1367s ok 4 /gthread/spawn-single-async-with-fds 1367s ok 5 /gthread/spawn-async-with-invalid-fds 1367s ok 6 /gthread/spawn-script 1367s ok 7 /gthread/spawn-posix-spawn 1367s # Start of spawn tests 1367s ok 8 /gthread/spawn/nonexistent 1367s # FD map: 1367s # • 5 → 15 1367s # • 6 → 16 1367s # • 7 → 17 1367s # • 8 → 18 1367s # • 9 → 19 1367s # • 10 → 20 1367s # • 11 → 21 1367s # • 12 → 22 1367s # • 13 → 23 1367s # • 3 → 13 1367s ok 9 /gthread/spawn/fd-assignment-clash 1367s # End of spawn tests 1367s # End of gthread tests 1367s ok - glib/spawn-singlethread.test 1367s # Running test: glib/pathbuf.test 1367s TAP version 13 1367s # random seed: R02S2917097e1c5c53b9732c03fddef5e9e5 1367s 1..3 1367s # Start of pathbuf tests 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_UHJYJ2/pathbuf/init/.dirs/runtime 1367s # Initializing empty path buf 1367s # Initializing with empty path 1367s # Initializing with full path 1367s # Initializing with no path 1367s # Allocating GPathBuf on the heap 1367s ok 1 /pathbuf/init 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_UHJYJ2/pathbuf/push-pop/.dirs/runtime 1367s # Pushing relative path component 1367s # Pushing absolute path component 1367s # Popping a path component 1367s # Can't pop the last element of a path buffer 1367s ok 2 /pathbuf/push-pop 1367s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/home 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/cache 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/system-config2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/config 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/system-data2 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/data 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/state 1367s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_UHJYJ2/pathbuf/filename-extension/.dirs/runtime 1367s ok 3 /pathbuf/filename-extension 1367s # End of pathbuf tests 1367s ok - glib/pathbuf.test 1367s # Running test: glib/testfilemonitor.test 1367s TAP version 13 1367s # random seed: R02Sabc77f302b6409590134a90de22f8175 1367s 1..8 1367s # Start of monitor tests 1367s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1367s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1367s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s # Start of file tests 1367s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1367s # End of file tests 1367s # End of monitor tests 1367s ok - glib/testfilemonitor.test 1367s # Running test: glib/bitlock.test 1367s TAP version 13 1367s # random seed: R02Sbde17f8faab06daca841df7eeab6c8ac 1367s 1..1 1367s # Start of bitlock tests 1367s # Start of performance tests 1367s # max perf: iterations per second 1367s ok 1 /bitlock/performance/uncontended 1367s # End of performance tests 1367s # End of bitlock tests 1367s ok - glib/bitlock.test 1367s # Running test: glib/object.test 1367s TAP version 13 1367s # random seed: R02S5f12f249e112d80aae7668bb0b031118 1367s 1..2 1367s # Start of object tests 1367s # Start of constructor tests 1367s ok 1 /object/constructor/singleton 1367s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1367s # End of constructor tests 1367s # End of object tests 1367s ok - glib/object.test 1367s # Running test: glib/gutils-user-database.test 1368s TAP version 13 1368s # random seed: R02S743e38c442c72ba8b20940e472aac377 1368s 1..1 1368s # Start of gutils tests 1368s ok 1 /gutils/get_user_database_entry 1368s # End of gutils tests 1368s ok - glib/gutils-user-database.test 1368s # Running test: glib/signals-refcount3.test 1368s TAP version 13 1368s # random seed: R02Scb0f2aa2773fec40ac2fcc8d832d3f5d 1368s 1..1 1368s # Start of gobject tests 1368s # Start of refcount tests 1368s # init 0xbf0b58bac420 1368s # 1368s # init 0xbf0b58bac5c0 1368s # 1368s # Executing: glib/signals-refcount3.test 1373s # dispose 0xbf0b58bac420! 1373s # 1373s # dispose 0xbf0b58bac5c0! 1373s # 1373s ok 1 /gobject/refcount/signals 1373s # slow test /gobject/refcount/signals executed in 5.00 secs 1373s # End of refcount tests 1373s # End of gobject tests 1373s ok - glib/signals-refcount3.test 1373s # Running test: glib/logging.test 1373s TAP version 13 1373s # random seed: R02Sf36db03f4a29794d59d8ad45a763d6ff 1373s 1..17 1373s # Start of logging tests 1373s # Executing: glib/logging.test 1373s ok 1 /logging/default-handler 1373s ok 2 /logging/warnings 1373s ok 3 /logging/fatal-log-mask 1373s # bu-DEBUG: message 1373s # ba-DEBUG: message 1373s # ba-INFO: message 1373s ok 4 /logging/set-handler 1373s ok 5 /logging/print-handler 1373s ok 6 /logging/printerr-handler 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1373s # The Log Message Handler 1373s # 1373s # The Good Fail Message Handler 1373s # 1373s ok 7 /logging/653052 1373s ok 8 /logging/gibberish 1373s # Start of default-handler tests 1373s # Start of subprocess tests 1373s # End of subprocess tests 1373s # End of default-handler tests 1373s # End of logging tests 1373s # Start of structured-logging tests 1373s ok 9 /structured-logging/no-state 1373s ok 10 /structured-logging/some-state 1373s ok 11 /structured-logging/robustness 1373s ok 12 /structured-logging/roundtrip1 1373s ok 13 /structured-logging/roundtrip2 1373s ok 14 /structured-logging/roundtrip3 1373s ok 15 /structured-logging/variant1 1373s ok 16 /structured-logging/variant2 1373s ok 17 /structured-logging/set-writer-func-twice 1373s # End of structured-logging tests 1373s ok - glib/logging.test 1373s # Running test: glib/tree.test 1373s TAP version 13 1373s # random seed: R02Scd1958228db3f1111d2ff41a2495921c 1373s 1..7 1373s # Start of tree tests 1373s ok 1 /tree/search 1373s ok 2 /tree/remove 1373s ok 3 /tree/destroy 1373s ok 4 /tree/traverse 1373s ok 5 /tree/insert 1373s ok 6 /tree/bounds 1373s ok 7 /tree/remove-all 1373s # End of tree tests 1373s ok - glib/tree.test 1373s # Running test: glib/volumemonitor.test 1373s TAP version 13 1373s # random seed: R02S8ddbb92c7b9d7addbd4db7b3ab8e3fa8 1373s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1373s 1..3 1373s # Start of volumemonitor tests 1373s ok 1 /volumemonitor/connected_drives 1373s ok 2 /volumemonitor/volumes 1373s ok 3 /volumemonitor/mounts 1373s # End of volumemonitor tests 1373s ok - glib/volumemonitor.test 1373s # Running test: glib/markup.test 1373s TAP version 13 1373s # random seed: R02S33da9aa36d16f52ba5d66e317f55f826 1373s 1..1 1373s # Start of markup tests 1373s ok 1 /markup/stack 1373s # End of markup tests 1373s ok - glib/markup.test 1373s # Running test: glib/gdbus-bz627724.test 1373s TAP version 13 1373s # random seed: R02S1fb935d629dadbd550081f6c74722fe0 1373s 1..1 1373s # Start of gdbus tests 1373s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/home 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/cache 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/system-config2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/config 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/system-data2 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/data 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/state 1373s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_BWH9J2/gdbus/bz627724/.dirs/runtime 1373s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1373s ok 1 /gdbus/bz627724 1373s # End of gdbus tests 1373s ok - glib/gdbus-bz627724.test 1373s # Running test: glib/string.test 1373s TAP version 13 1373s # random seed: R02Sb5ad899da5367900dae2364ccff102ab 1373s 1..23 1373s # Start of string tests 1373s ok 1 /string/test-string-chunks 1373s ok 2 /string/test-string-chunk-insert 1373s ok 3 /string/test-string-new 1373s ok 4 /string/test-string-printf 1373s ok 5 /string/test-string-assign 1373s ok 6 /string/test-string-append-c 1373s ok 7 /string/test-string-append 1373s ok 8 /string/test-string-append-vprintf 1373s ok 9 /string/test-string-prepend-c 1373s ok 10 /string/test-string-prepend 1373s ok 11 /string/test-string-insert 1373s ok 12 /string/test-string-insert-unichar 1373s ok 13 /string/test-string-equal 1373s ok 14 /string/test-string-truncate 1373s ok 15 /string/test-string-overwrite 1373s ok 16 /string/test-string-nul-handling 1373s ok 17 /string/test-string-up-down 1373s ok 18 /string/test-string-set-size 1373s ok 19 /string/test-string-to-bytes 1373s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1373s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1373s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1373s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1373s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1373s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1373s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1373s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1373s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1373s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1373s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1373s # -> 4 replacements, "fd fr fals" 1373s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1373s # -> 3 replacements, "aaaaaaaaa" 1373s # 7: Replacing "a" with "" (limit 0) in "aaa" 1373s # -> 3 replacements, "" 1373s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1373s # -> 1 replacements, "bba" 1373s # 9: Replacing "" with "bar" (limit 0) in "foo" 1373s # -> 4 replacements, "barfbarobarobar" 1373s # 10: Replacing "" with "x" (limit 0) in "" 1373s # -> 1 replacements, "x" 1373s # 11: Replacing "" with "" (limit 0) in "" 1373s # -> 1 replacements, "" 1373s ok 20 /string/test-string-replace 1373s ok 21 /string/test-string-steal 1373s ok 22 /string/test-string-new-take 1373s # Start of test-string-new-take tests 1373s ok 23 /string/test-string-new-take/null 1373s # End of test-string-new-take tests 1373s # End of string tests 1373s ok - glib/string.test 1373s # Running test: glib/g-file.test 1373s TAP version 13 1373s # random seed: R02S701a79fd336b35a7bb82075b47cd8eaa 1373s 1..8 1373s # Start of g-file tests 1373s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1373s ok 1 /g-file/test_g_file_new_null 1373s ok 2 /g-file/test_g_file_new_for_path 1373s ok 3 /g-file/test_g_file_new_for_uri 1373s ok 4 /g-file/test_g_file_dup 1373s ok 5 /g-file/test_g_file_get_parse_name_utf8 1373s file:///tmp/test-tmp-glib_g-file.test-CGXBK2 1373s file:///tmp 1373s file:///tmp 1373s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1373s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1373s ok 6 /g-file/test_g_file_new_for_commandline_arg 1373s /dir1 /dir1/dir2/dir3/ 1373s /dir1/ /dir1/dir2/dir3/ 1373s /dir1 /dir1/dir2/dir3 1373s /dir1/ /dir1/dir2/dir3 1373s /tmp/ /something/ 1373s /dir1/dir2 /dir1/ 1373s //dir1/new //dir1/new/dir2/dir3 1373s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1373s file:///dir1 file:///dir1/dir2/dir3/ 1373s file:///dir1/ file:///dir1/dir2/dir3/ 1373s file:///dir1 file:///dir1/dir2/dir3 1373s file:///dir1/ file:///dir1/dir2/dir3 1373s file:///tmp/ file:///something/ 1373s file:///dir1/dir2 file:///dir1/ 1373s file:////dir1/new file:////dir1/new/dir2/dir3 1373s 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 1373s ok 7 /g-file/test_g_file_has_prefix 1373s ok 8 /g-file/test_g_file_get_parent_child 1373s # End of g-file tests 1373s ok - glib/g-file.test 1373s # Running test: glib/socket-service.test 1373s TAP version 13 1373s # random seed: R02Sc320a4d61c1362caa7136ebc8338cab4 1373s 1..4 1373s # Start of socket-service tests 1373s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1373s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb71acc390340 and GSocketClientAsyncConnectData 0xb71acc388620 1373s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1373s ok 1 /socket-service/start-stop 1373s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb71acc391ea0 and GSocketClientAsyncConnectData 0xb71acc391c40 1373s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1373s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1373s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb71acc3923b0 for GSocketClientAsyncConnectData 0xb71acc388620 1373s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1373s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1373s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1373s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1373s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1373s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb71acc393230 for GSocketClientAsyncConnectData 0xb71acc391c40 1373s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1373s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1373s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1373s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1373s ok 2 /socket-service/read_write_async 1373s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb71acc395f80 and GSocketClientAsyncConnectData 0xb71acc3939a0 1373s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1373s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1373s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb71acc394160 for GSocketClientAsyncConnectData 0xb71acc3939a0 1373s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1373s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1373s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1373s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1373s ok 3 /socket-service/read_writev_async 1373s # Start of threaded tests 1373s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1373s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb71acc3976e0 and GSocketClientAsyncConnectData 0xb71acc393d20 1373s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1373s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1373s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb71acc397910 for GSocketClientAsyncConnectData 0xb71acc393d20 1373s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1373s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1373s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1373s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1373s ok 4 /socket-service/threaded/712570 1373s # End of threaded tests 1373s # End of socket-service tests 1373s ok - glib/socket-service.test 1373s # Running test: glib/accumulator.test 1373s TAP version 13 1373s # random seed: R02S629af60e8c8ed447a9e4612a2e5f54ba 1373s 1..1 1373s # Start of gobject tests 1373s ok 1 /gobject/accumulator 1373s # End of gobject tests 1373s ok - glib/accumulator.test 1373s # Running test: glib/closure-refcount.test 1373s TAP version 13 1373s # random seed: R02S1455f3c5ad6857f7cbc15ad705d50684 1373s 1..1 1373s # Start of closure tests 1373s # Init 0xbfa26e17a1d0 1373s # Yielding from main thread 1373s # Yielding from main thread 1373s # Yielding from main thread 1373s # Yielding from thread1 1373s # Yielding from thread2 1373s # Yielding from main thread 1373s # Yielding from main thread 1374s # Yielding from main thread 1374s # Yielding from thread2 1374s # Yielding from thread1 1374s # Yielding from main thread 1374s # Yielding from main thread 1374s # Yielding from main thread 1374s # Yielding from thread1 1374s # Yielding from thread2 1374s # Stopping 1374s # Stopped 1374s ok 1 /closure/refcount 1374s # slow test /closure/refcount executed in 0.82 secs 1374s # End of closure tests 1374s ok - glib/closure-refcount.test 1374s # Running test: glib/atomic-c-11.test 1374s TAP version 13 1374s # random seed: R02S32f2da2930d4cadd14f5f3f578faa42a 1374s 1..2 1374s # Start of atomic tests 1374s ok 1 /atomic/types 1375s ok 2 /atomic/threaded 1375s # slow test /atomic/threaded executed in 0.69 secs 1375s # End of atomic tests 1375s ok - glib/atomic-c-11.test 1375s # Running test: glib/null-settings-backend.test 1375s TAP version 13 1375s # random seed: R02Sa2d674e18af47feb2aef180d8c1e5649 1375s 1..1 1375s # Start of null-settings-backend tests 1375s ok 1 /null-settings-backend/extension-point-registered 1375s # End of null-settings-backend tests 1375s ok - glib/null-settings-backend.test 1375s # Running test: glib/option-context.test 1375s TAP version 13 1375s # random seed: R02Sb6a38a216480756b24533bc3a07b9506 1375s 1..57 1375s # Start of option tests 1375s ok 1 /option/basic 1375s ok 2 /option/translate 1375s ok 3 /option/strict-posix 1375s # Start of help tests 1375s ok 4 /option/help/options 1375s ok 5 /option/help/no-options 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1375s ok 6 /option/help/no-help-options 1375s # End of help tests 1375s # Start of group tests 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1375s ok 7 /option/group/captions 1375s ok 8 /option/group/main 1375s ok 9 /option/group/error-hook 1375s ok 10 /option/group/parse 1375s # Start of captions tests 1375s # Start of subprocess tests 1375s # End of subprocess tests 1375s # End of captions tests 1375s # End of group tests 1375s # Start of restoration tests 1375s ok 11 /option/restoration/int 1375s ok 12 /option/restoration/string 1375s ok 13 /option/restoration/boolean 1375s # End of restoration tests 1375s # Start of arg tests 1375s ok 14 /option/arg/reverse-string 1375s ok 15 /option/arg/optional-int 1375s # Start of repetition tests 1375s ok 16 /option/arg/repetition/int 1375s ok 17 /option/arg/repetition/string 1375s ok 18 /option/arg/repetition/filename 1375s ok 19 /option/arg/repetition/double 1375s ok 20 /option/arg/repetition/locale 1375s ok 21 /option/arg/repetition/int64 1375s # End of repetition tests 1375s # Start of array tests 1375s ok 22 /option/arg/array/string 1375s # End of array tests 1375s # Start of callback tests 1375s ok 23 /option/arg/callback/string 1375s ok 24 /option/arg/callback/count 1375s ok 25 /option/arg/callback/optional1 1375s ok 26 /option/arg/callback/optional2 1375s ok 27 /option/arg/callback/optional3 1375s ok 28 /option/arg/callback/optional4 1375s ok 29 /option/arg/callback/optional5 1375s ok 30 /option/arg/callback/optional6 1375s ok 31 /option/arg/callback/optional7 1375s ok 32 /option/arg/callback/optional8 1375s # End of callback tests 1375s # Start of remaining tests 1375s ok 33 /option/arg/remaining/callback 1375s ok 34 /option/arg/remaining/callback-false 1375s ok 35 /option/arg/remaining/non-option 1375s ok 36 /option/arg/remaining/separator 1375s ok 37 /option/arg/remaining/array 1375s # End of remaining tests 1375s # Start of ignore tests 1375s ok 38 /option/arg/ignore/long 1375s ok 39 /option/arg/ignore/short 1375s ok 40 /option/arg/ignore/arg 1375s # End of ignore tests 1375s # Start of rest tests 1375s ok 41 /option/arg/rest/non-option 1375s ok 42 /option/arg/rest/separator1 1375s ok 43 /option/arg/rest/separator2 1375s ok 44 /option/arg/rest/separator3 1375s ok 45 /option/arg/rest/separator4 1375s ok 46 /option/arg/rest/separator5 1375s # End of rest tests 1375s # End of arg tests 1375s # Start of context tests 1375s ok 47 /option/context/add 1375s ok 48 /option/context/empty2 1375s ok 49 /option/context/empty3 1375s # End of context tests 1375s # Start of bug tests 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1375s ok 50 /option/bug/unknown-short 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1375s ok 51 /option/bug/lonely-dash 1375s ok 52 /option/bug/triple-dash 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1375s ok 53 /option/bug/missing-arg 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1375s ok 54 /option/bug/dash-arg 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1375s ok 55 /option/bug/short-remaining 1375s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1375s ok 56 /option/bug/double-free 1375s ok 57 /option/bug/double-zero 1375s # End of bug tests 1375s # End of option tests 1375s ok - glib/option-context.test 1375s # Running test: glib/gdbus-test-codegen.test 1375s TAP version 13 1375s # random seed: R02S0a93ecfe03ba0c4e928279ae8c586531 1375s 1..8 1375s # Start of gdbus tests 1375s # Start of codegen tests 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/annotations/.dirs/runtime 1375s ok 1 /gdbus/codegen/annotations 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/interface_stability/.dirs/runtime 1375s ok 2 /gdbus/codegen/interface_stability 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/object-manager/.dirs/runtime 1375s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1375s ok 3 /gdbus/codegen/object-manager 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/property-naming/.dirs/runtime 1375s ok 4 /gdbus/codegen/property-naming 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/autocleanups/.dirs/runtime 1375s ok 5 /gdbus/codegen/autocleanups 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/deprecations/.dirs/runtime 1375s ok 6 /gdbus/codegen/deprecations 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1375s ok 7 /gdbus/codegen/standalone-interface-info 1375s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/home 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/cache 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/config 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/data 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/state 1375s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_U3MHK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1375s ok 8 /gdbus/codegen/unix-fd-list 1375s # End of codegen tests 1375s # End of gdbus tests 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1375s ok - glib/gdbus-test-codegen.test 1375s cleaning up pid 1938 1375s # Running test: glib/unix.test 1375s TAP version 13 1375s # random seed: R02Sfa6e6a1cd4a2f1a9af6b72d877d405f6 1375s 1..17 1375s # Start of glib-unix tests 1375s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1375s ok 1 /glib-unix/closefrom 1375s ok 2 /glib-unix/pipe 1375s # /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 1375s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1375s ok 3 /glib-unix/pipe-stdio-overwrite 1375s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1375s ok 4 /glib-unix/pipe-struct 1375s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1375s ok 5 /glib-unix/pipe-struct-auto 1375s ok 6 /glib-unix/error 1375s ok 7 /glib-unix/nonblocking 1375s ok 8 /glib-unix/sighup 1375s # slow test /glib-unix/sighup executed in 0.50 secs 1376s ok 9 /glib-unix/sigterm 1376s # slow test /glib-unix/sigterm executed in 0.50 secs 1376s ok 10 /glib-unix/sighup_again 1376s # slow test /glib-unix/sighup_again executed in 0.50 secs 1376s ok 11 /glib-unix/sighup_add_remove 1376s ok 12 /glib-unix/sighup_nested 1378s # Executing: glib/unix.test 1378s ok 13 /glib-unix/callback_after_signal 1378s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1378s ok 14 /glib-unix/child-wait 1378s # Start of closefrom tests 1378s # Start of subprocess tests 1378s # End of subprocess tests 1378s # End of closefrom tests 1378s # Start of pipe tests 1378s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1378s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1378s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1378s ok 15 /glib-unix/pipe/fd-cloexec 1378s # End of pipe tests 1378s # Start of get-passwd-entry tests 1378s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1378s ok 16 /glib-unix/get-passwd-entry/root 1378s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1378s ok 17 /glib-unix/get-passwd-entry/nonexistent 1378s # End of get-passwd-entry tests 1378s # End of glib-unix tests 1378s ok - glib/unix.test 1379s # Running test: glib/g-file-info-filesystem-readonly.test 1379s TAP version 13 1379s # random seed: R02S0382b44c06c285ee2dc6c68da622cc9b 1379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1379s 1..2 1379s # Start of g-file-info-filesystem-readonly tests 1379s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1379s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1379s # End of g-file-info-filesystem-readonly tests 1379s ok - glib/g-file-info-filesystem-readonly.test 1379s # Running test: glib/macros.test 1379s TAP version 13 1379s # random seed: R02S77fd6f58ed65d9f8e5cc8e571c5fe293 1379s 1..3 1379s # Start of alignof tests 1379s ok 1 /alignof/fallback 1379s # End of alignof tests 1379s # Start of assert tests 1379s ok 2 /assert/static 1379s # End of assert tests 1379s # Start of struct tests 1379s ok 3 /struct/sizeof_member 1379s # End of struct tests 1379s ok - glib/macros.test 1379s # Running test: glib/utils-c-90.test 1379s TAP version 13 1379s # random seed: R02Sf59ba6c36635997650ffd706fb1164d1 1379s 1..40 1379s # Start of utils tests 1379s ok 1 /utils/language-names 1379s ok 2 /utils/locale-variants 1379s ok 3 /utils/version 1379s ok 4 /utils/appname 1379s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1379s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1379s ok 5 /utils/prgname-thread-safety 1379s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1379s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1379s ok 6 /utils/tmpdir 1379s ok 7 /utils/basic_bits 1379s ok 8 /utils/bits 1379s ok 9 /utils/swap 1379s ok 10 /utils/find-program 1379s ok 11 /utils/find-program-for-path 1379s ok 12 /utils/debug 1379s ok 13 /utils/codeset 1379s ok 14 /utils/codeset2 1379s ok 15 /utils/console-charset 1379s ok 16 /utils/gettext 1379s ok 17 /utils/username 1379s ok 18 /utils/realname 1379s ok 19 /utils/hostname 1379s ok 20 /utils/xdgdirs 1379s ok 21 /utils/specialdir 1379s # NAME: Ubuntu 1379s ok 22 /utils/os-info 1379s ok 23 /utils/clear-pointer 1379s ok 24 /utils/clear-pointer-cast 1379s ok 25 /utils/take-pointer 1379s ok 26 /utils/clear-source 1379s ok 27 /utils/misc-mem 1379s # /utils/aligned-mem summary: Aligned memory allocator 1379s # Alignment must not be zero 1379s # Alignment must be a power of two 1379s # Alignment must be a multiple of sizeof(void*) 1379s ok 28 /utils/aligned-mem 1379s # /utils/free-sized summary: Check that g_free_sized() works 1379s ok 29 /utils/free-sized 1379s ok 30 /utils/nullify 1379s ok 31 /utils/atexit 1379s ok 32 /utils/check-setuid 1379s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1379s ok 33 /utils/int-limits 1379s ok 34 /utils/clear-list 1379s ok 35 /utils/clear-slist 1379s # Start of specialdir tests 1379s ok 36 /utils/specialdir/desktop 1379s # End of specialdir tests 1379s # Start of clear-pointer tests 1379s ok 37 /utils/clear-pointer/side-effects 1379s # End of clear-pointer tests 1379s # Start of aligned-mem tests 1379s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1379s ok 38 /utils/aligned-mem/alignment 1379s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1379s ok 39 /utils/aligned-mem/zeroed 1379s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1379s ok 40 /utils/aligned-mem/free-sized 1379s # Start of subprocess tests 1379s # End of subprocess tests 1379s # End of aligned-mem tests 1379s # End of utils tests 1379s ok - glib/utils-c-90.test 1379s # Running test: glib/slist.test 1379s TAP version 13 1379s # random seed: R02Sb640a2981b6f10892f844dc1936f61d4 1379s 1..14 1379s # Start of slist tests 1379s ok 1 /slist/sort 1379s ok 2 /slist/sort-with-data 1379s ok 3 /slist/insert-sorted 1379s ok 4 /slist/insert-sorted-with-data 1379s ok 5 /slist/reverse 1379s ok 6 /slist/nth 1379s ok 7 /slist/remove 1379s ok 8 /slist/remove-all 1379s ok 9 /slist/insert 1379s ok 10 /slist/position 1379s ok 11 /slist/concat 1379s ok 12 /slist/copy 1379s # Start of sort tests 1379s ok 13 /slist/sort/stable 1379s # End of sort tests 1379s # Start of copy tests 1379s ok 14 /slist/copy/deep 1379s # End of copy tests 1379s # End of slist tests 1379s ok - glib/slist.test 1379s # Running test: glib/gdbus-non-socket.test 1379s TAP version 13 1379s # random seed: R02Sa9a693c274f0ec384c9131d3cf1b5380 1379s 1..1 1379s # Start of gdbus tests 1379s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/home 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/cache 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/system-config2 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/config 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/system-data2 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/data 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/state 1379s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_C8QFK2/gdbus/non-socket/.dirs/runtime 1379s ok 1 /gdbus/non-socket 1379s # End of gdbus tests 1379s ok - glib/gdbus-non-socket.test 1379s # Running test: glib/unicode-encoding.test 1379s TAP version 13 1379s # random seed: R02S295baabb3de6c2292a2dc8252e816688 1379s 1..1 1379s # Start of unicode tests 1379s ok 1 /unicode/encoding 1379s # End of unicode tests 1379s ok - glib/unicode-encoding.test 1379s # Running test: glib/qdata.test 1379s TAP version 13 1379s # random seed: R02S76f411c512a8236f3f3bd77a9a962ad8 1379s 1..2 1379s # Start of qdata tests 1380s ok 1 /qdata/threaded 1380s # slow test /qdata/threaded executed in 0.77 secs 1380s ok 2 /qdata/dup 1380s # End of qdata tests 1380s ok - glib/qdata.test 1380s # Running test: glib/gdbus-proxy-well-known-name.test 1380s TAP version 13 1380s # random seed: R02Sb834d65955fd52e03b51e10308eec5d7 1380s 1..1 1380s # Start of gdbus tests 1380s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/home 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/cache 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/system-config2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/config 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/system-data2 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/data 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/state 1380s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_6E5CK2/gdbus/proxy-well-known-name/.dirs/runtime 1380s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1380s ok 1 /gdbus/proxy-well-known-name 1380s # End of gdbus tests 1380s ok - glib/gdbus-proxy-well-known-name.test 1380s # Running test: glib/pattern.test 1380s TAP version 13 1380s # random seed: R02S7e6a3f2a64576fa2500a8abf506a1cf2 1380s 1..90 1380s # Start of pattern tests 1380s # Start of compile tests 1380s ok 1 /pattern/compile/0 1380s ok 2 /pattern/compile/1 1380s ok 3 /pattern/compile/2 1380s ok 4 /pattern/compile/3 1380s ok 5 /pattern/compile/4 1380s ok 6 /pattern/compile/5 1380s ok 7 /pattern/compile/6 1380s ok 8 /pattern/compile/7 1380s ok 9 /pattern/compile/8 1380s ok 10 /pattern/compile/9 1380s ok 11 /pattern/compile/10 1380s ok 12 /pattern/compile/11 1380s ok 13 /pattern/compile/12 1380s ok 14 /pattern/compile/13 1380s # End of compile tests 1380s # Start of copy tests 1380s ok 15 /pattern/copy/0 1380s ok 16 /pattern/copy/1 1380s ok 17 /pattern/copy/2 1380s ok 18 /pattern/copy/3 1380s ok 19 /pattern/copy/4 1380s ok 20 /pattern/copy/5 1380s ok 21 /pattern/copy/6 1380s ok 22 /pattern/copy/7 1380s ok 23 /pattern/copy/8 1380s ok 24 /pattern/copy/9 1380s ok 25 /pattern/copy/10 1380s ok 26 /pattern/copy/11 1380s ok 27 /pattern/copy/12 1380s ok 28 /pattern/copy/13 1380s # End of copy tests 1380s # Start of match tests 1380s ok 29 /pattern/match/0 1380s ok 30 /pattern/match/1 1380s ok 31 /pattern/match/2 1380s ok 32 /pattern/match/3 1380s ok 33 /pattern/match/4 1380s ok 34 /pattern/match/5 1380s ok 35 /pattern/match/6 1380s ok 36 /pattern/match/7 1380s ok 37 /pattern/match/8 1380s ok 38 /pattern/match/9 1380s ok 39 /pattern/match/10 1380s ok 40 /pattern/match/11 1380s ok 41 /pattern/match/12 1380s ok 42 /pattern/match/13 1380s ok 43 /pattern/match/14 1380s ok 44 /pattern/match/15 1380s ok 45 /pattern/match/16 1380s ok 46 /pattern/match/17 1380s ok 47 /pattern/match/18 1380s ok 48 /pattern/match/19 1380s ok 49 /pattern/match/20 1380s ok 50 /pattern/match/21 1380s ok 51 /pattern/match/22 1380s ok 52 /pattern/match/23 1380s ok 53 /pattern/match/24 1380s ok 54 /pattern/match/25 1380s ok 55 /pattern/match/26 1380s ok 56 /pattern/match/27 1380s ok 57 /pattern/match/28 1380s ok 58 /pattern/match/29 1380s ok 59 /pattern/match/30 1380s ok 60 /pattern/match/31 1380s ok 61 /pattern/match/32 1380s ok 62 /pattern/match/33 1380s ok 63 /pattern/match/34 1380s ok 64 /pattern/match/35 1380s ok 65 /pattern/match/36 1380s ok 66 /pattern/match/37 1380s ok 67 /pattern/match/38 1380s ok 68 /pattern/match/39 1380s ok 69 /pattern/match/40 1380s ok 70 /pattern/match/41 1380s ok 71 /pattern/match/42 1380s ok 72 /pattern/match/43 1380s ok 73 /pattern/match/44 1380s ok 74 /pattern/match/45 1380s ok 75 /pattern/match/46 1380s ok 76 /pattern/match/47 1380s ok 77 /pattern/match/48 1380s ok 78 /pattern/match/49 1380s ok 79 /pattern/match/50 1380s # End of match tests 1380s # Start of equal tests 1380s ok 80 /pattern/equal/0 1380s ok 81 /pattern/equal/1 1380s ok 82 /pattern/equal/2 1380s ok 83 /pattern/equal/3 1380s ok 84 /pattern/equal/4 1380s ok 85 /pattern/equal/5 1380s ok 86 /pattern/equal/6 1380s ok 87 /pattern/equal/7 1380s ok 88 /pattern/equal/8 1380s ok 89 /pattern/equal/9 1380s ok 90 /pattern/equal/10 1380s # End of equal tests 1380s # End of pattern tests 1380s ok - glib/pattern.test 1380s # Running test: glib/private.test 1380s TAP version 13 1380s # random seed: R02S32f28c808c4733b11d65e7fcf4319ee0 1380s 1..8 1380s # Start of thread tests 1380s ok 1 /thread/private1 1381s ok 2 /thread/private2 1381s # slow test /thread/private2 executed in 1.15 secs 1381s ok 3 /thread/private3 1381s ok 4 /thread/staticprivate1 1381s ok 5 /thread/staticprivate2 1381s ok 6 /thread/staticprivate3 1382s ok 7 /thread/staticprivate4 1382s # slow test /thread/staticprivate4 executed in 1.12 secs 1382s ok 8 /thread/staticprivate5 1382s # End of thread tests 1382s ok - glib/private.test 1382s # Running test: glib/gdbus-introspection.test 1382s TAP version 13 1382s # random seed: R02S2f73fdd0aebdf266e826d190803d6709 1382s 1..4 1382s # Start of gdbus tests 1382s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/home 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/cache 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/system-config2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/config 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/system-data2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/data 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/state 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-parser/.dirs/runtime 1382s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1382s ok 1 /gdbus/introspection-parser 1382s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/home 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/cache 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/system-config2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/config 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/system-data2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/data 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/state 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-generate/.dirs/runtime 1382s ok 2 /gdbus/introspection-generate 1382s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/home 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/cache 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/system-config2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/config 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/system-data2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/data 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/state 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-default-direction/.dirs/runtime 1382s ok 3 /gdbus/introspection-default-direction 1382s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/home 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/cache 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/system-config2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/config 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/system-data2 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/data 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/state 1382s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_WSNBK2/gdbus/introspection-extra-data/.dirs/runtime 1382s ok 4 /gdbus/introspection-extra-data 1382s # End of gdbus tests 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 - glib/gdbus-introspection.test 1382s # Running test: glib/giomodule.test 1382s TAP version 13 1382s # random seed: R02S419cf616f88684b037fef417ecba57da 1382s 1..3 1382s # Start of giomodule tests 1382s ok 1 /giomodule/extension-point 1382s ok 2 /giomodule/module-scan-all 1382s ok 3 /giomodule/module-scan-all-with-scope 1382s # End of giomodule tests 1382s ok - glib/giomodule.test 1382s # Running test: glib/base64.test 1382s TAP version 13 1382s # random seed: R02S612b6bbd7a3b2669d1d74cf0b98fa21d 1382s 1..28 1382s # Start of base64 tests 1382s ok 1 /base64/encode 1382s ok 2 /base64/decode 1382s ok 3 /base64/decode-inplace 1382s ok 4 /base64/encode-decode 1382s # Start of full tests 1382s ok 5 /base64/full/1 1382s ok 6 /base64/full/2 1382s ok 7 /base64/full/3 1382s ok 8 /base64/full/4 1382s # End of full tests 1382s # Start of encode tests 1382s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1382s ok 9 /base64/encode/empty 1382s # Start of incremental tests 1382s # Start of small-block tests 1382s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1382s ok 10 /base64/encode/incremental/small-block/1 1382s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1382s ok 11 /base64/encode/incremental/small-block/2 1382s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1382s ok 12 /base64/encode/incremental/small-block/3 1382s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1382s ok 13 /base64/encode/incremental/small-block/4 1382s # End of small-block tests 1382s # End of incremental tests 1382s # End of encode tests 1382s # Start of incremental tests 1382s # Start of nobreak tests 1382s ok 14 /base64/incremental/nobreak/1 1382s ok 15 /base64/incremental/nobreak/2 1382s ok 16 /base64/incremental/nobreak/3 1382s ok 17 /base64/incremental/nobreak/4-a 1382s ok 18 /base64/incremental/nobreak/4-b 1382s ok 19 /base64/incremental/nobreak/4-c 1382s # End of nobreak tests 1382s # Start of break tests 1382s ok 20 /base64/incremental/break/1 1382s ok 21 /base64/incremental/break/2 1382s ok 22 /base64/incremental/break/3 1382s # End of break tests 1382s # Start of smallblock tests 1382s ok 23 /base64/incremental/smallblock/1 1382s ok 24 /base64/incremental/smallblock/2 1382s ok 25 /base64/incremental/smallblock/3 1382s ok 26 /base64/incremental/smallblock/4 1382s # End of smallblock tests 1382s # End of incremental tests 1382s # Start of decode tests 1382s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1382s ok 27 /base64/decode/empty 1382s # End of decode tests 1382s # Start of encode-decode tests 1382s # Vector 0: 1382s # Vector 1: f 1382s # Vector 2: fo 1382s # Vector 3: foo 1382s # Vector 4: foob 1382s # Vector 5: fooba 1382s # Vector 6: foobar 1382s ok 28 /base64/encode-decode/rfc4648 1382s # End of encode-decode tests 1382s # End of base64 tests 1382s ok - glib/base64.test 1382s # Running test: glib/properties-refcount2.test 1382s TAP version 13 1382s # random seed: R02S017eae94b5e0dc7b074c871be0fe7b23 1382s 1..1 1382s # Start of gobject tests 1382s # Start of refcount tests 1382s # init 0xc28cea235770 1382s # 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1383s # . 1383s # . 1383s # . 1383s # Executing: glib/properties-refcount2.test 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1384s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1385s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # . 1386s # dispose 0xc28cea235770! 1386s # 1386s ok 1 /gobject/refcount/properties-2 1386s # slow test /gobject/refcount/properties-2 executed in 4.26 secs 1386s # End of refcount tests 1386s # End of gobject tests 1386s ok - glib/properties-refcount2.test 1386s # Running test: glib/gdbus-export.test 1386s TAP version 13 1386s # random seed: R02S06c3950590dd9fea8f68c655b6aee1de 1386s 1..6 1386s # Start of gdbus tests 1386s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/home 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/cache 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/system-config2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/config 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/system-data2 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/data 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/state 1386s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration/.dirs/runtime 1386s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s ok 1 /gdbus/object-registration 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_53YYJ2/gdbus/object-registration-with-closures/.dirs/runtime 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s ok 2 /gdbus/object-registration-with-closures 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_53YYJ2/gdbus/registered-interfaces/.dirs/runtime 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s ok 3 /gdbus/registered-interfaces 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_53YYJ2/gdbus/async-properties/.dirs/runtime 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s ok 4 /gdbus/async-properties 1387s # Start of threaded-unregistration tests 1387s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/home 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/cache 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/system-config2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/config 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/system-data2 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/data 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/state 1387s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/object/.dirs/runtime 1387s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1387s # /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 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1387s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # Executing: glib/gdbus-export.test 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1388s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1389s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (929 iterations with unregistration first, 71 with call first); skipping test 1390s # slow test /gdbus/threaded-unregistration/object executed in 3.70 secs 1390s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/home 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/cache 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/config 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/data 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/state 1390s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_53YYJ2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1390s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1390s # /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 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1390s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1391s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # Executing: glib/gdbus-export.test 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1393s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1394s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (985 iterations with unregistration first, 15 with call first); skipping test 1394s # slow test /gdbus/threaded-unregistration/subtree executed in 3.70 secs 1394s # End of threaded-unregistration tests 1394s # End of gdbus tests 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1394s ok - glib/gdbus-export.test 1394s # Running test: glib/function-info.test 1394s TAP version 13 1394s # random seed: R02Sceeb9d98aba49aa668273b9f90006c5a 1394s 1..1 1394s # Start of function-info tests 1394s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/home 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/cache 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/system-config2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/config 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/system-data2 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/data 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/state 1394s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_K4L1J2/function-info/invoker/.dirs/runtime 1394s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1394s # /function-info/invoker summary: Test preparing a function invoker 1394s ok 1 /function-info/invoker 1394s # End of function-info tests 1394s ok - glib/function-info.test 1394s # Running test: glib/network-address.test 1394s TAP version 13 1394s # random seed: R02Sb1352f3ff15eebe9e1ea40b166b1a2b6 1394s 1..72 1394s # Start of network-address tests 1394s ok 1 /network-address/basic 1394s ok 2 /network-address/scope-id 1394s ok 3 /network-address/uri-scope-id 1394s ok 4 /network-address/to-string 1394s # Start of parse-host tests 1394s ok 5 /network-address/parse-host/0 1394s ok 6 /network-address/parse-host/1 1394s ok 7 /network-address/parse-host/2 1394s ok 8 /network-address/parse-host/3 1394s ok 9 /network-address/parse-host/4 1394s ok 10 /network-address/parse-host/5 1394s ok 11 /network-address/parse-host/6 1394s ok 12 /network-address/parse-host/7 1394s ok 13 /network-address/parse-host/8 1394s ok 14 /network-address/parse-host/9 1394s ok 15 /network-address/parse-host/10 1394s ok 16 /network-address/parse-host/11 1394s ok 17 /network-address/parse-host/12 1394s ok 18 /network-address/parse-host/13 1394s # End of parse-host tests 1394s # Start of parse-uri tests 1394s ok 19 /network-address/parse-uri/0 1394s ok 20 /network-address/parse-uri/1 1394s ok 21 /network-address/parse-uri/2 1394s ok 22 /network-address/parse-uri/3 1394s ok 23 /network-address/parse-uri/4 1394s ok 24 /network-address/parse-uri/5 1394s ok 25 /network-address/parse-uri/6 1394s ok 26 /network-address/parse-uri/7 1394s ok 27 /network-address/parse-uri/8 1394s ok 28 /network-address/parse-uri/9 1394s # End of parse-uri tests 1394s # Start of resolve-address tests 1394s # Input: 192.168.1.2 1394s ok 29 /network-address/resolve-address/0 1394s # Input: fe80::42 1394s ok 30 /network-address/resolve-address/1 1394s # Input: 192.168.1.2:80 1394s ok 31 /network-address/resolve-address/2 1394s # Input: [fe80::42] 1394s ok 32 /network-address/resolve-address/3 1394s # Input: [fe80::42]:80 1394s ok 33 /network-address/resolve-address/4 1394s # Input: 192.168.258 1394s ok 34 /network-address/resolve-address/5 1394s # Input: 192.11010306 1394s ok 35 /network-address/resolve-address/6 1394s # Input: 3232235778 1394s ok 36 /network-address/resolve-address/7 1394s # Input: 0300.0250.0001.0001 1394s ok 37 /network-address/resolve-address/8 1394s # Input: 0xC0.0xA8.0x01.0x02 1394s ok 38 /network-address/resolve-address/9 1394s # Input: 0xc0.0xa8.0x01.0x02 1394s ok 39 /network-address/resolve-address/10 1394s # Input: 0xc0a80102 1394s ok 40 /network-address/resolve-address/11 1394s # End of resolve-address tests 1394s # Start of loopback tests 1394s ok 41 /network-address/loopback/basic 1394s ok 42 /network-address/loopback/sync 1394s ok 43 /network-address/loopback/async 1394s # End of loopback tests 1394s # Start of localhost tests 1394s ok 44 /network-address/localhost/async 1394s ok 45 /network-address/localhost/sync 1394s # End of localhost tests 1394s # Start of happy-eyeballs tests 1394s ok 46 /network-address/happy-eyeballs/basic 1394s ok 47 /network-address/happy-eyeballs/parallel 1394s ok 48 /network-address/happy-eyeballs/slow-ipv4 1394s ok 49 /network-address/happy-eyeballs/slow-ipv6 1395s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1395s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1395s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1395s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1395s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1395s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1395s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1395s # /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. 1395s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1396s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s ok 57 /network-address/happy-eyeballs/both-error 1396s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1396s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1396s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1396s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1396s # End of happy-eyeballs tests 1396s # End of network-address tests 1396s # Start of gresolver tests 1396s # Start of resolve-address tests 1396s # Input: 192.168.1.2 1396s ok 61 /gresolver/resolve-address/0 1396s # Input: fe80::42 1396s ok 62 /gresolver/resolve-address/1 1396s # Input: 192.168.1.2:80 1396s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1396s ok 63 /gresolver/resolve-address/2 1396s # Input: [fe80::42] 1396s # Error: Error resolving ?[fe80::42]?: Name or service not known 1396s ok 64 /gresolver/resolve-address/3 1396s # Input: [fe80::42]:80 1396s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1396s ok 65 /gresolver/resolve-address/4 1396s # Input: 192.168.258 1396s # Error: Error resolving ?192.168.258?: Name or service not known 1396s ok 66 /gresolver/resolve-address/5 1396s # Input: 192.11010306 1396s # Error: Error resolving ?192.11010306?: Name or service not known 1396s ok 67 /gresolver/resolve-address/6 1396s # Input: 3232235778 1396s # Error: Error resolving ?3232235778?: Name or service not known 1396s ok 68 /gresolver/resolve-address/7 1396s # Input: 0300.0250.0001.0001 1396s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1396s ok 69 /gresolver/resolve-address/8 1396s # Input: 0xC0.0xA8.0x01.0x02 1396s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1396s ok 70 /gresolver/resolve-address/9 1396s # Input: 0xc0.0xa8.0x01.0x02 1396s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1396s ok 71 /gresolver/resolve-address/10 1396s # Input: 0xc0a80102 1396s # Error: Error resolving ?0xc0a80102?: Name or service not known 1396s ok 72 /gresolver/resolve-address/11 1396s # End of resolve-address tests 1396s # End of gresolver tests 1396s ok - glib/network-address.test 1396s # Running test: glib/struct-info.test 1396s TAP version 13 1396s # random seed: R02S3644cf86837aa654499edcb42558e67d 1396s 1..4 1396s # Start of struct-info tests 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_TOIGK2/struct-info/field-iterators/.dirs/runtime 1396s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1396s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1396s ok 1 /struct-info/field-iterators 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_TOIGK2/struct-info/sizeof-gvalue/.dirs/runtime 1396s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1396s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1396s ok 2 /struct-info/sizeof-gvalue 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_TOIGK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1396s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1396s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1396s ok 3 /struct-info/is-pointer-for-struct-method-arg 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_TOIGK2/struct-info/boxed/.dirs/runtime 1396s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1396s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1396s ok 4 /struct-info/boxed 1396s # End of struct-info tests 1396s ok - glib/struct-info.test 1396s # Running test: glib/tls-database.test 1396s TAP version 13 1396s # random seed: R02Sfd3c4d78e72562a48738c574752b4fc3 1396s 1..1 1396s # Start of tls-backend tests 1396s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1396s ok 1 /tls-backend/set-default-database 1396s # End of tls-backend tests 1396s ok - glib/tls-database.test 1396s # Running test: glib/utils-c-17.test 1396s TAP version 13 1396s # random seed: R02S7ccf6b542b69b90c8ccf903a68ba64f4 1396s 1..40 1396s # Start of utils tests 1396s ok 1 /utils/language-names 1396s ok 2 /utils/locale-variants 1396s ok 3 /utils/version 1396s ok 4 /utils/appname 1396s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1396s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1396s ok 5 /utils/prgname-thread-safety 1396s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1396s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1396s ok 6 /utils/tmpdir 1396s ok 7 /utils/basic_bits 1396s ok 8 /utils/bits 1396s ok 9 /utils/swap 1396s ok 10 /utils/find-program 1396s ok 11 /utils/find-program-for-path 1396s ok 12 /utils/debug 1396s ok 13 /utils/codeset 1396s ok 14 /utils/codeset2 1396s ok 15 /utils/console-charset 1396s ok 16 /utils/gettext 1396s ok 17 /utils/username 1396s ok 18 /utils/realname 1396s ok 19 /utils/hostname 1396s ok 20 /utils/xdgdirs 1396s ok 21 /utils/specialdir 1396s # NAME: Ubuntu 1396s ok 22 /utils/os-info 1396s ok 23 /utils/clear-pointer 1396s ok 24 /utils/clear-pointer-cast 1396s ok 25 /utils/take-pointer 1396s ok 26 /utils/clear-source 1396s ok 27 /utils/misc-mem 1396s # /utils/aligned-mem summary: Aligned memory allocator 1396s # Alignment must not be zero 1396s # Alignment must be a power of two 1396s # Alignment must be a multiple of sizeof(void*) 1396s ok 28 /utils/aligned-mem 1396s # /utils/free-sized summary: Check that g_free_sized() works 1396s ok 29 /utils/free-sized 1396s ok 30 /utils/nullify 1396s ok 31 /utils/atexit 1396s ok 32 /utils/check-setuid 1396s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1396s ok 33 /utils/int-limits 1396s ok 34 /utils/clear-list 1396s ok 35 /utils/clear-slist 1396s # Start of specialdir tests 1396s ok 36 /utils/specialdir/desktop 1396s # End of specialdir tests 1396s # Start of clear-pointer tests 1396s ok 37 /utils/clear-pointer/side-effects 1396s # End of clear-pointer tests 1396s # Start of aligned-mem tests 1396s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1396s ok 38 /utils/aligned-mem/alignment 1396s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1396s ok 39 /utils/aligned-mem/zeroed 1396s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1396s ok 40 /utils/aligned-mem/free-sized 1396s # Start of subprocess tests 1396s # End of subprocess tests 1396s # End of aligned-mem tests 1396s # End of utils tests 1396s ok - glib/utils-c-17.test 1396s # Running test: glib/guuid.test 1396s TAP version 13 1396s # random seed: R02S737f55d2e1ff34a02849911b0240d971 1396s 1..2 1396s # Start of uuid tests 1396s ok 1 /uuid/string 1396s ok 2 /uuid/random 1396s # End of uuid tests 1396s ok - glib/guuid.test 1396s # Running test: glib/tls-interaction.test 1396s TAP version 13 1396s # random seed: R02Sb7bcb49df1312f4512eef473c61281ae 1396s 1..42 1396s # Start of tls-interaction tests 1396s # Start of ask-password tests 1396s # Start of invoke-with-loop tests 1396s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1396s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1396s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1396s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1396s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1396s # End of invoke-with-loop tests 1396s # Start of invoke-without-loop tests 1396s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1396s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1396s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1396s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1396s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1396s # End of invoke-without-loop tests 1396s # Start of invoke-in-loop tests 1396s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1396s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1396s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1396s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1396s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1396s # End of invoke-in-loop tests 1396s # Start of sync tests 1396s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1396s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1396s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1396s # End of sync tests 1396s # Start of async tests 1396s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1396s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1396s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1396s # End of async tests 1396s # End of ask-password tests 1396s # Start of request-certificate tests 1396s # Start of invoke-with-loop tests 1396s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1396s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1396s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1396s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1396s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1396s # End of invoke-with-loop tests 1396s # Start of invoke-without-loop tests 1396s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1396s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1396s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1396s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1396s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1396s # End of invoke-without-loop tests 1396s # Start of invoke-in-loop tests 1396s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1396s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1396s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1396s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1396s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1396s # End of invoke-in-loop tests 1396s # Start of sync tests 1396s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1396s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1396s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1396s # End of sync tests 1396s # Start of async tests 1396s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1396s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1396s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1396s # End of async tests 1396s # End of request-certificate tests 1396s # End of tls-interaction tests 1396s ok - glib/tls-interaction.test 1396s # Running test: glib/charset.test 1396s TAP version 13 1396s # random seed: R02Sb8cc14276c6b8bb375144baf4dc6aded 1396s 1..2 1396s # Start of charset tests 1396s # Test 0 1396s # Test 1 1396s # Test 2 1396s # Test 3 1396s ok 1 /charset/language_names_with_category 1396s ok 2 /charset/language_names_with_category_async 1396s # End of charset tests 1396s ok - glib/charset.test 1396s # Running test: glib/uri.test 1396s TAP version 13 1396s # random seed: R02Sadba3bb4c48ebda480253d5e55548c89 1396s 1..24 1396s # Start of uri tests 1396s ok 1 /uri/file-to-uri 1396s ok 2 /uri/file-from-uri 1396s ok 3 /uri/file-roundtrip 1396s ok 4 /uri/list 1396s # Test 0: %2Babc %4F 1396s # Test 1: %2Babc %4F 1396s # Test 2: %00abc %4F 1396s # Test 3: /cursors/none.png 1396s # Test 4: /cursors%2fbad-subdir/none.png 1396s # Test 5: %0 1396s # Test 6: %ra 1396s # Test 7: %2r 1396s # Test 8: Timm B?der 1396s # Test 9: (null) 1396s ok 5 /uri/unescape-string 1396s ok 6 /uri/unescape-segment 1396s # Test 0: abcdefgABCDEFG._~ 1396s # Test 1: :+ \\?# 1396s # Test 2: a+b:c 1396s # Test 3: a+b:c\303\234 1396s # Test 4: \374;\322 1396s # Test 5: \303\261\303( 1396s ok 7 /uri/escape-string 1396s ok 8 /uri/escape-bytes 1396s ok 9 /uri/scheme 1396s ok 10 /uri/build 1396s ok 11 /uri/split 1396s ok 12 /uri/is_valid 1396s ok 13 /uri/to-string 1396s ok 14 /uri/join 1396s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1396s # Combination 0 1396s # Combination 1 1396s # Combination 2 1396s # Combination 3 1396s # Combination 4 1396s # Combination 5 1396s # Combination 6 1396s # Combination 7 1396s # Combination 8 1396s # Combination 9 1396s # Combination 10 1396s # Combination 11 1396s # Combination 12 1396s # Combination 13 1396s # Combination 14 1396s # Combination 15 1396s # Combination 16 1396s # Combination 17 1396s # Combination 18 1396s # Combination 19 1396s # Combination 20 1396s # Combination 21 1396s # Combination 22 1396s # Combination 23 1396s # Combination 24 1396s # Combination 25 1396s # Combination 26 1396s # Combination 27 1396s # Combination 28 1396s # Combination 29 1396s # Combination 30 1396s # Combination 31 1396s # Combination 32 1396s # Combination 33 1396s # Combination 34 1396s # Combination 35 1396s # Combination 36 1396s # Combination 37 1396s # Combination 38 1396s # Combination 39 1396s # Combination 40 1396s # Combination 41 1396s # Combination 42 1396s # Combination 43 1396s # Combination 44 1396s # Combination 45 1396s # Combination 46 1396s # Combination 47 1396s # Combination 48 1396s # Combination 49 1396s # Combination 50 1396s # Combination 51 1396s # Combination 52 1396s # Combination 53 1396s # Combination 54 1396s # Combination 55 1396s # Combination 56 1396s # Combination 57 1396s # Combination 58 1396s # Combination 59 1396s # Combination 60 1396s # Combination 61 1396s # Combination 62 1396s # Combination 63 1396s # Combination 64 1396s # Combination 65 1396s # Combination 66 1396s # Combination 67 1396s # Combination 68 1396s # Combination 69 1396s # Combination 70 1396s # Combination 71 1396s # Combination 72 1396s # Combination 73 1396s # Combination 74 1396s # Combination 75 1396s # Combination 76 1396s # Combination 77 1396s # Combination 78 1396s # Combination 79 1396s # Combination 80 1396s # Combination 81 1396s # Combination 82 1396s # Combination 83 1396s # Combination 84 1396s # Combination 85 1396s # Combination 86 1396s # Combination 87 1396s # Combination 88 1396s # Combination 89 1396s # Combination 90 1396s # Combination 91 1396s # Combination 92 1396s # Combination 93 1396s # Combination 94 1396s # Combination 95 1396s # Combination 96 1396s # Combination 97 1396s # Combination 98 1396s # Combination 99 1396s # Combination 100 1396s # Combination 101 1396s # Combination 102 1396s # Combination 103 1396s # Combination 104 1396s # Combination 105 1396s # Combination 106 1396s # Combination 107 1396s # Combination 108 1396s # Combination 109 1396s # Combination 110 1396s # Combination 111 1396s # Combination 112 1396s # Combination 113 1396s # Combination 114 1396s # Combination 115 1396s # Combination 116 1396s # Combination 117 1396s # Combination 118 1396s # Combination 119 1396s # Combination 120 1396s # Combination 121 1396s # Combination 122 1396s # Combination 123 1396s # Combination 124 1396s # Combination 125 1396s # Combination 126 1396s # Combination 127 1396s # Combination 128 1396s # Combination 129 1396s # Combination 130 1396s # Combination 131 1396s # Combination 132 1396s # Combination 133 1396s # Combination 134 1396s # Combination 135 1396s # Combination 136 1396s # Combination 137 1396s # Combination 138 1396s # Combination 139 1396s # Combination 140 1396s # Combination 141 1396s # Combination 142 1396s # Combination 143 1396s # Combination 144 1396s # Combination 145 1396s # Combination 146 1396s # Combination 147 1396s # Combination 148 1396s # Combination 149 1396s # Combination 150 1396s # Combination 151 1396s # Combination 152 1396s # Combination 153 1396s # Combination 154 1396s # Combination 155 1396s # Combination 156 1396s # Combination 157 1396s # Combination 158 1396s # Combination 159 1396s # Combination 160 1396s # Combination 161 1396s # Combination 162 1396s # Combination 163 1396s # Combination 164 1396s # Combination 165 1396s # Combination 166 1396s # Combination 167 1396s # Combination 168 1396s # Combination 169 1396s # Combination 170 1396s # Combination 171 1396s # Combination 172 1396s # Combination 173 1396s # Combination 174 1396s # Combination 175 1396s # Combination 176 1396s # Combination 177 1396s # Combination 178 1396s # Combination 179 1396s # Combination 180 1396s # Combination 181 1396s # Combination 182 1396s # Combination 183 1396s # Combination 184 1396s # Combination 185 1396s # Combination 186 1396s # Combination 187 1396s # Combination 188 1396s # Combination 189 1396s # Combination 190 1396s # Combination 191 1396s # Combination 192 1396s # Combination 193 1396s # Combination 194 1396s # Combination 195 1396s # Combination 196 1396s # Combination 197 1396s # Combination 198 1396s # Combination 199 1396s # Combination 200 1396s # Combination 201 1396s # Combination 202 1396s # Combination 203 1396s # Combination 204 1396s # Combination 205 1396s # Combination 206 1396s # Combination 207 1396s # Combination 208 1396s # Combination 209 1396s # Combination 210 1396s # Combination 211 1396s # Combination 212 1396s # Combination 213 1396s # Combination 214 1396s # Combination 215 1396s # Combination 216 1396s # Combination 217 1396s # Combination 218 1396s # Combination 219 1396s # Combination 220 1396s # Combination 221 1396s # Combination 222 1396s # Combination 223 1396s # Combination 224 1396s # Combination 225 1396s # Combination 226 1396s # Combination 227 1396s # Combination 228 1396s # Combination 229 1396s # Combination 230 1396s # Combination 231 1396s # Combination 232 1396s # Combination 233 1396s # Combination 234 1396s # Combination 235 1396s # Combination 236 1396s # Combination 237 1396s # Combination 238 1396s # Combination 239 1396s # Combination 240 1396s # Combination 241 1396s # Combination 242 1396s # Combination 243 1396s # Combination 244 1396s # Combination 245 1396s # Combination 246 1396s # Combination 247 1396s # Combination 248 1396s # Combination 249 1396s # Combination 250 1396s # Combination 251 1396s # Combination 252 1396s # Combination 253 1396s # Combination 254 1396s # Combination 255 1396s ok 15 /uri/join-split-round-trip 1396s ok 16 /uri/normalize 1396s # Start of unescape-bytes tests 1396s # Test 0: %00%00 1396s # Test 1: /cursors/none.png 1396s # Test 2: /cursors%2fbad-subdir/none.png 1396s # Test 3: %% 1396s # Test 4: % 1396s ok 17 /uri/unescape-bytes/nul-terminated 1396s # Test 0: %00%00 1396s # Test 1: /cursors/none.png 1396s # Test 2: /cursors%2fbad-subdir/none.png 1396s # Test 3: %% 1396s # Test 4: % 1396s ok 18 /uri/unescape-bytes/length 1396s # End of unescape-bytes tests 1396s # Start of parsing tests 1396s # Test 0: foo: 1396s # Test 1: file:/dev/null 1396s # Test 2: file:///dev/null 1396s # Test 3: ftp://user@host/path 1396s # Test 4: ftp://user@host:9999/path 1396s # Test 5: ftp://user:password@host/path 1396s # Test 6: ftp://user:password@host:9999/path 1396s # Test 7: ftp://user:password@host 1396s # Test 8: http://us%65r@host 1396s # Test 9: http://us%40r@host 1396s # Test 10: http://us%3ar@host 1396s # Test 11: http://us%2fr@host 1396s # Test 12: http://us%3fr@host 1396s # Test 13: http://host?query 1396s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1396s # 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 1396s # Test 16: http://space/%20 1396s # Test 17: http://delims/%3C%3E%23%25%22 1396s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1396s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1396s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1396s # Test 21: http://[3ffe:2a00:100:7031::1] 1396s # Test 22: http://[1080::8:800:200C:417A]/foo 1396s # Test 23: http://[::192.9.5.5]/ipng 1396s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1396s # Test 25: http://[2010:836B:4179::836B:4179] 1396s # Test 26: http://host/path with spaces 1396s # Test 27: http://host/path 1396s # Test 28: http://host/path 1396s # Test 29: http://host 1396s # Test 30: http://host:999 1396s # Test 31: http://host/pa 1396s # th 1396s # Test 32: http: 1396s # //host/path 1396s # Test 33: http:// host/path 1396s # Test 34: http://host/path? 1396s # Test 35: http://host/path# 1396s # Test 36: http://host/path% 1396s # Test 37: http://h%ost/path 1396s # Test 38: http://host/path%% 1396s # Test 39: http://host/path%%% 1396s # Test 40: http://host/path%/x/ 1396s # Test 41: http://host/path%0x/ 1396s # Test 42: http://host/path%ax 1396s # Test 43: http://host/p?th/ 1396s # Test 44: HTTP://////////////// 1396s # Test 45: http://@host 1396s # Test 46: http://:@host 1396s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1396s # Test 48: http://example.com/.. 1396s # Test 49: foo0://host/path 1396s # Test 50: f0.o://host/path 1396s # Test 51: http++://host/path 1396s # Test 52: http-ish://host/path 1396s # Test 53: http://[fe80::dead:beef%]/ 1396s # Test 54: http://[fe80::dead:beef%em1]/ 1396s # Test 55: http://[fe80::dead:beef%em1]/ 1396s # Test 56: http://[fe80::dead:beef%25em1]/ 1396s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1396s # Test 58: http://[fe80::dead:beef%25em%31]/ 1396s # Test 59: http://[fe80::dead:beef%10]/ 1396s # Test 60: http://[fe80::dead:beef%10]/ 1396s # Test 61: http://[fe80::dead:beef%25]/ 1396s # Test 62: http://[fe80::dead:beef%25]/ 1396s # Test 63: http://[192.168.0.1%25em1]/ 1396s # Test 64: http://[fe80::dead:beef%2em1]/ 1396s # Test 65: http://[fe80::dead:beef%2em1]/ 1396s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1396s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1396s # Test 68: http://xn--mixed-?p/ 1396s ok 19 /uri/parsing/absolute 1396s ok 20 /uri/parsing/relative 1396s # End of parsing tests 1396s # Start of iter-params tests 1396s # URI 0: p1=foo&p2=bar;p3=baz 1396s # URI 1: p1=foo&p2=bar 1396s # URI 2: p1=foo&&P1=bar 1396s # URI 3: %00=foo 1396s # URI 4: p1=%00 1396s # URI 5: p1=foo&p1=bar 1396s # URI 6: p1=foo&P1=bar 1396s # URI 7: =% 1396s # URI 8: = 1396s # URI 9: foo 1396s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1396s ok 21 /uri/iter-params/nul-terminated 1396s # URI 0: p1=foo&p2=bar;p3=baz 1396s # URI 1: p1=foo&p2=bar 1396s # URI 2: p1=foo&&P1=bar 1396s # URI 3: %00=foo 1396s # URI 4: p1=%00 1396s # URI 5: p1=foo&p1=bar 1396s # URI 6: p1=foo&P1=bar 1396s # URI 7: =% 1396s # URI 8: = 1396s # URI 9: foo 1396s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1396s ok 22 /uri/iter-params/length 1396s # End of iter-params tests 1396s # Start of parse-params tests 1396s # URI 0: p1=foo&p2=bar;p3=baz 1396s # URI 1: p1=foo&p2=bar 1396s # URI 2: p1=foo&&P1=bar 1396s # URI 3: %00=foo 1396s # URI 4: p1=%00 1396s # URI 5: p1=foo&p1=bar 1396s # URI 6: p1=foo&P1=bar 1396s # URI 7: =% 1396s # URI 8: = 1396s # URI 9: foo 1396s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1396s ok 23 /uri/parse-params/nul-terminated 1396s # URI 0: p1=foo&p2=bar;p3=baz 1396s # URI 1: p1=foo&p2=bar 1396s # URI 2: p1=foo&&P1=bar 1396s # URI 3: %00=foo 1396s # URI 4: p1=%00 1396s # URI 5: p1=foo&p1=bar 1396s # URI 6: p1=foo&P1=bar 1396s # URI 7: =% 1396s # URI 8: = 1396s # URI 9: foo 1396s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1396s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1396s ok 24 /uri/parse-params/length 1396s # End of parse-params tests 1396s # End of uri tests 1396s ok - glib/uri.test 1396s # Running test: glib/socket-listener.test 1396s TAP version 13 1396s # random seed: R02S8d079a6fda8984e8930a16a65bf80265 1396s 1..1 1396s # Start of socket-listener tests 1396s ok 1 /socket-listener/event-signal 1396s # End of socket-listener tests 1396s ok - glib/socket-listener.test 1396s # Running test: glib/cxx-11.test 1396s TAP version 13 1396s # random seed: R02See2ad9d98eb770b0028f56aefd2c9cac 1396s 1..2 1396s # Start of gtask tests 1396s # 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. 1396s ok 1 /gtask/name 1396s # Start of name tests 1396s # 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. 1396s ok 2 /gtask/name/macro-wrapper 1396s # End of name tests 1396s # End of gtask tests 1396s ok - glib/cxx-11.test 1396s # Running test: glib/overflow-fallback.test 1396s TAP version 13 1396s # random seed: R02S46ec65d0253e74f14c134a577b53c0c5 1396s 1..6 1396s # Start of glib tests 1396s # Start of checked-math tests 1396s ok 1 /glib/checked-math/guint-add 1396s ok 2 /glib/checked-math/guint-mul 1396s ok 3 /glib/checked-math/guint64-add 1396s ok 4 /glib/checked-math/guint64-mul 1396s ok 5 /glib/checked-math/gsize-add 1396s ok 6 /glib/checked-math/gsize-mul 1396s # End of checked-math tests 1396s # End of glib tests 1396s ok - glib/overflow-fallback.test 1396s # Running test: glib/memory-monitor.test 1396s TAP version 13 1396s # random seed: R02S1ea026b7fdf9b4f90b8e03b198b9723a 1396s 1..1 1396s # Start of memory-monitor tests 1396s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1396s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1396s ok 1 /memory-monitor/default 1396s # End of memory-monitor tests 1396s ok - glib/memory-monitor.test 1396s # Running test: glib/defaultvalue.test 1396s TAP version 13 1396s # random seed: R02Sa11e7b3e2489d3ccfe7eebfa8a728caa 1396s 1..84 1396s # Start of Default Values tests 1396s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1396s ok 2 /Default Values/GAppLaunchContext 1396s ok 3 /Default Values/GApplicationCommandLine 1396s # skipping GApplication:is-remote 1396s ok 4 /Default Values/GApplication 1396s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1396s ok 6 /Default Values/GBindingGroup 1396s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1396s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1396s ok 9 /Default Values/GBytesIcon 1396s ok 10 /Default Values/GCancellable 1396s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1396s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1396s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1396s ok 14 /Default Values/GCredentials 1396s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1396s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1396s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1396s ok 18 /Default Values/GDBusAuthObserver 1396s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1396s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1396s ok 21 /Default Values/GDBusMessage 1396s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1396s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1396s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1396s ok 25 /Default Values/GDBusObjectProxy 1396s ok 26 /Default Values/GDBusObjectSkeleton 1396s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1396s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1396s ok 29 /Default Values/GEmblem 1396s ok 30 /Default Values/GEmblemedIcon 1396s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1396s ok 32 /Default Values/GFileInfo 1396s ok 33 /Default Values/GFileInputStream 1396s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1396s ok 35 /Default Values/GFileOutputStream 1396s ok 36 /Default Values/GFilenameCompleter 1396s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1396s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1396s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1396s ok 40 /Default Values/GInitiallyUnowned 1396s ok 41 /Default Values/GIOModule 1396s ok 42 /Default Values/GListStore 1396s ok 43 /Default Values/GMemoryInputStream 1396s ok 44 /Default Values/GMemoryOutputStream 1396s ok 45 /Default Values/GMenu 1396s ok 46 /Default Values/GMenuItem 1396s ok 47 /Default Values/GMountOperation 1396s ok 48 /Default Values/GNativeSocketAddress 1396s ok 49 /Default Values/GNetworkAddress 1396s ok 50 /Default Values/GNetworkService 1396s ok 51 /Default Values/GNotification 1396s ok 52 /Default Values/GObject 1396s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1396s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1396s # skipping GProxyAddressEnumerator:proxy-resolver 1396s ok 54 /Default Values/GProxyAddressEnumerator 1396s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1396s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1396s ok 57 /Default Values/GSignalGroup 1396s ok 58 /Default Values/GSimpleAction 1396s ok 59 /Default Values/GSimpleActionGroup 1396s ok 60 /Default Values/GSimpleAsyncResult 1396s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1396s ok 62 /Default Values/GSimplePermission 1396s ok 63 /Default Values/GSimpleProxyResolver 1396s # skipping GSocketClient:proxy-resolver 1396s ok 64 /Default Values/GSocketClient 1396s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1396s ok 66 /Default Values/GSocket # SKIP initialization failed 1396s ok 67 /Default Values/GSocketListener 1396s ok 68 /Default Values/GSocketService 1396s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1396s ok 70 /Default Values/GSubprocessLauncher 1396s # GLib-GIO-DEBUG: GTask 0xc04560f85f50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1396s ok 71 /Default Values/GTask 1396s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1396s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1396s ok 74 /Default Values/GTestDBus 1396s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1396s ok 76 /Default Values/GThreadedSocketService 1396s ok 77 /Default Values/GTlsInteraction 1396s ok 78 /Default Values/GTlsPassword 1396s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1396s ok 80 /Default Values/GUnixFDList 1396s ok 81 /Default Values/GVfs 1396s ok 82 /Default Values/GVolumeMonitor 1396s ok 83 /Default Values/GZlibCompressor 1396s ok 84 /Default Values/GZlibDecompressor 1396s # End of Default Values tests 1396s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1396s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1396s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1396s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1396s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1396s ok - glib/defaultvalue.test 1396s # Running test: glib/gdbus-connection-slow.test 1396s TAP version 13 1396s # random seed: R02S9d098b6fe5cc78e0df619f826020fbff 1396s 1..2 1396s # Start of gdbus tests 1396s # Start of connection tests 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/flush/.dirs/runtime 1396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s ok 1 /gdbus/connection/flush 1397s # slow test /gdbus/connection/flush executed in 0.82 secs 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_FTK3J2/gdbus/connection/large_message/.dirs/runtime 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1397s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1398s # Executing: glib/gdbus-connection-slow.test 1399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1399s ok 2 /gdbus/connection/large_message 1399s # slow test /gdbus/connection/large_message executed in 1.58 secs 1399s # End of connection tests 1399s # End of gdbus tests 1399s ok - glib/gdbus-connection-slow.test 1399s # Running test: glib/types.test 1399s TAP version 13 1399s # random seed: R02S88be8518084b8ac7a072c58af891ef54 1399s 1..1 1399s # Start of types tests 1399s ok 1 /types/basic_types 1399s # End of types tests 1399s ok - glib/types.test 1399s # Running test: glib/custom-dispatch.test 1399s TAP version 13 1399s # random seed: R02Sba809484e813c1e48c4152be5a66dbbe 1399s 1..2 1399s # Start of properties tests 1399s # Start of custom-dispatch tests 1399s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1399s ok 1 /properties/custom-dispatch/init 1399s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1399s ok 2 /properties/custom-dispatch/set 1399s # End of custom-dispatch tests 1399s # End of properties tests 1399s ok - glib/custom-dispatch.test 1399s # Running test: glib/reference.test 1399s TAP version 13 1399s # random seed: R02S94b61a3914e7b3a390acfda38e480b6b 1399s 1..29 1399s # Start of type tests 1399s ok 1 /type/fundamentals 1399s ok 2 /type/qdata 1399s ok 3 /type/query 1399s ok 4 /type/class-private 1399s # End of type tests 1399s # Start of object tests 1399s ok 5 /object/clear 1399s ok 6 /object/clear-function 1399s ok 7 /object/set 1399s ok 8 /object/set-function 1399s ok 9 /object/value 1399s ok 10 /object/initially-unowned 1399s ok 11 /object/weak-pointer 1399s ok 12 /object/weak-ref 1399s ok 13 /object/toggle-ref 1399s ok 14 /object/qdata 1399s ok 15 /object/qdata2 1399s # Start of set tests 1399s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1399s ok 16 /object/set/derived-type 1399s # End of set tests 1399s # Start of weak-pointer tests 1399s ok 17 /object/weak-pointer/clear 1399s ok 18 /object/weak-pointer/clear-function 1399s ok 19 /object/weak-pointer/set 1399s ok 20 /object/weak-pointer/set-function 1399s # End of weak-pointer tests 1399s # Start of weak-ref tests 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1399s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1399s ok 21 /object/weak-ref/on-dispose 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1399s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1399s ok 22 /object/weak-ref/on-run-dispose 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1399s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1399s ok 23 /object/weak-ref/on-toggle-notify 1399s ok 24 /object/weak-ref/in-toggle-notify 1399s ok 25 /object/weak-ref/many 1399s # Start of concurrent tests 1401s ok 26 /object/weak-ref/concurrent/0 1401s # slow test /object/weak-ref/concurrent/0 executed in 2.71 secs 1403s # Executing: glib/reference.test 1404s ok 27 /object/weak-ref/concurrent/1 1404s # slow test /object/weak-ref/concurrent/1 executed in 3.16 secs 1404s # End of concurrent tests 1404s # End of weak-ref tests 1404s # Start of toggle-ref tests 1404s ok 28 /object/toggle-ref/ref-on-dispose 1404s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1404s # End of toggle-ref tests 1404s # End of object tests 1404s ok - glib/reference.test 1404s # Running test: glib/spawn-test.test 1404s TAP version 13 1404s # random seed: R02S17f4789a9b2660731b4f64bc199093db 1404s 1..2 1404s # Start of spawn tests 1404s ok 1 /spawn/basics 1404s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1404s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1405s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1405s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1405s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1405s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1405s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1405s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1405s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1405s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1405s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1405s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1405s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1405s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1405s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1405s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1405s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1405s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1405s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1405s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1405s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1405s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1405s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1405s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1405s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1405s # Fetching GSpawn result with stdin open, stdout open, stderr open 1405s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1405s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1405s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1405s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1405s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1405s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1405s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1405s ok 2 /spawn/stdio-overwrite 1405s # End of spawn tests 1405s ok - glib/spawn-test.test 1405s # Running test: glib/utils.test 1405s TAP version 13 1405s # random seed: R02S156fe07633869dcdd227ee8f98aee829 1405s 1..40 1405s # Start of utils tests 1405s ok 1 /utils/language-names 1405s ok 2 /utils/locale-variants 1405s ok 3 /utils/version 1405s ok 4 /utils/appname 1405s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1405s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1405s ok 5 /utils/prgname-thread-safety 1405s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1405s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1405s ok 6 /utils/tmpdir 1405s ok 7 /utils/basic_bits 1405s ok 8 /utils/bits 1405s ok 9 /utils/swap 1405s ok 10 /utils/find-program 1405s ok 11 /utils/find-program-for-path 1405s ok 12 /utils/debug 1405s ok 13 /utils/codeset 1405s ok 14 /utils/codeset2 1405s ok 15 /utils/console-charset 1405s ok 16 /utils/gettext 1405s ok 17 /utils/username 1405s ok 18 /utils/realname 1405s ok 19 /utils/hostname 1405s ok 20 /utils/xdgdirs 1405s ok 21 /utils/specialdir 1405s # NAME: Ubuntu 1405s ok 22 /utils/os-info 1405s ok 23 /utils/clear-pointer 1405s ok 24 /utils/clear-pointer-cast 1405s ok 25 /utils/take-pointer 1405s ok 26 /utils/clear-source 1405s ok 27 /utils/misc-mem 1405s # /utils/aligned-mem summary: Aligned memory allocator 1405s # Alignment must not be zero 1405s # Alignment must be a power of two 1405s # Alignment must be a multiple of sizeof(void*) 1405s ok 28 /utils/aligned-mem 1405s # /utils/free-sized summary: Check that g_free_sized() works 1405s ok 29 /utils/free-sized 1405s ok 30 /utils/nullify 1405s ok 31 /utils/atexit 1405s ok 32 /utils/check-setuid 1405s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1405s ok 33 /utils/int-limits 1405s ok 34 /utils/clear-list 1405s ok 35 /utils/clear-slist 1405s # Start of specialdir tests 1405s ok 36 /utils/specialdir/desktop 1405s # End of specialdir tests 1405s # Start of clear-pointer tests 1405s ok 37 /utils/clear-pointer/side-effects 1405s # End of clear-pointer tests 1405s # Start of aligned-mem tests 1405s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1405s ok 38 /utils/aligned-mem/alignment 1405s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1405s ok 39 /utils/aligned-mem/zeroed 1405s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1405s ok 40 /utils/aligned-mem/free-sized 1405s # Start of subprocess tests 1405s # End of subprocess tests 1405s # End of aligned-mem tests 1405s # End of utils tests 1405s ok - glib/utils.test 1405s # Running test: glib/readwrite.test 1405s TAP version 13 1405s # random seed: R02Scbf6486e5c18202428b29a219df53d99 1405s 1..3 1405s # Start of readwrite tests 1405s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1405s ok 1 /readwrite/test_g_file_open_readwrite 1405s ok 2 /readwrite/test_g_file_create_readwrite 1405s ok 3 /readwrite/test_g_file_replace_readwrite 1405s # End of readwrite tests 1405s ok - glib/readwrite.test 1405s # Running test: glib/repository-search-paths.test 1405s TAP version 13 1405s # random seed: R02S2f013c26663d0958efba5206944c7bbd 1405s 1..4 1405s # Start of repository tests 1405s # Start of search-paths tests 1405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/home 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/cache 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/system-config2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/config 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/system-data2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/data 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/state 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/default/.dirs/runtime 1405s ok 1 /repository/search-paths/default 1405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/home 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/cache 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/system-config2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/config 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/system-data2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/data 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/state 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ONYHK2/repository/search-paths/prepend/.dirs/runtime 1405s ok 2 /repository/search-paths/prepend 1405s # End of search-paths tests 1405s # Start of library-paths tests 1405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/home 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/cache 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/system-config2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/config 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/system-data2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/data 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/state 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/default/.dirs/runtime 1405s ok 3 /repository/library-paths/default 1405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/home 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/cache 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/system-config2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/config 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/system-data2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/data 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/state 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_ONYHK2/repository/library-paths/prepend/.dirs/runtime 1405s ok 4 /repository/library-paths/prepend 1405s # End of library-paths tests 1405s # End of repository tests 1405s ok - glib/repository-search-paths.test 1405s # Running test: glib/hook.test 1405s TAP version 13 1405s # random seed: R02S82633fae85675b83d9c128bf23af501f 1405s 1..2 1405s # Start of hook tests 1405s ok 1 /hook/basics 1405s ok 2 /hook/corner-cases 1405s # End of hook tests 1405s ok - glib/hook.test 1405s # Running test: glib/flags.test 1405s TAP version 13 1405s # random seed: R02S53e295d3c8b713c7094248d91ce23958 1405s 1..1 1405s # Start of gobject tests 1405s # Start of flags tests 1405s ok 1 /gobject/flags/validate 1405s # End of flags tests 1405s # End of gobject tests 1405s ok - glib/flags.test 1405s # Running test: glib/gdbus-proxy.test 1405s TAP version 13 1405s # random seed: R02S83dad56907f001d7b46c2036d203a3f6 1405s 1..5 1405s # Start of gdbus tests 1405s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/home 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/cache 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/system-config2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/config 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/system-data2 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/data 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/state 1405s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/.dirs/runtime 1405s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s ok 1 /gdbus/proxy 1407s # slow test /gdbus/proxy executed in 1.78 secs 1407s # Start of proxy tests 1407s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/home 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/cache 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/system-config2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/config 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/system-data2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/data 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/state 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-properties/.dirs/runtime 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s ok 2 /gdbus/proxy/no-properties 1407s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/home 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/cache 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/config 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/data 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/state 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1407s ok 3 /gdbus/proxy/wellknown-noauto 1407s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/home 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/cache 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/system-config2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/config 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/system-data2 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/data 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/state 1407s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/async/.dirs/runtime 1407s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1408s # Executing: glib/gdbus-proxy.test 1408s ok 4 /gdbus/proxy/async 1408s # slow test /gdbus/proxy/async executed in 1.77 secs 1408s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/home 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/cache 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/system-config2 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/config 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/system-data2 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/data 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/state 1408s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OR67J2/gdbus/proxy/no-match-rule/.dirs/runtime 1408s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1408s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1408s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1410s ok 5 /gdbus/proxy/no-match-rule 1410s # slow test /gdbus/proxy/no-match-rule executed in 1.78 secs 1410s # End of proxy tests 1410s # End of gdbus tests 1410s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1410s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1410s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1410s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1410s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1410s ok - glib/gdbus-proxy.test 1410s # Running test: glib/signals-refcount1.test 1410s TAP version 13 1410s # random seed: R02S51d661d0e4dfab5bfa78113f550172b7 1410s 1..1 1410s # Start of gobject tests 1410s # Start of refcount tests 1410s # init 0xb93816d58420 1410s # 1410s # init 0xb93816d585c0 1410s # 1413s # Executing: glib/signals-refcount1.test 1415s # dispose 0xb93816d58420! 1415s # 1415s # dispose 0xb93816d585c0! 1415s # 1415s ok 1 /gobject/refcount/signals 1415s # slow test /gobject/refcount/signals executed in 5.01 secs 1415s # End of refcount tests 1415s # End of gobject tests 1415s ok - glib/signals-refcount1.test 1415s # Running test: glib/permission.test 1415s TAP version 13 1415s # random seed: R02S2ce578e92fdc1773627a3592c234df85 1415s 1..1 1415s # Start of permission tests 1415s ok 1 /permission/simple 1415s # End of permission tests 1415s ok - glib/permission.test 1415s # Running test: glib/io-channel-basic.test 1415s TAP version 13 1415s # random seed: R02S9bbaad886245c3ac9f34d95aeab48a37 1415s 1..1 1415s # Start of gio tests 1415s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1415s # # random seed: R02Sb55aa0d9936baaff571476592439a27a 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+1048 bytes to 6 1416s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 5: 1048 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+1961 bytes to 6 1416s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 5: 1961 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+1646 bytes to 6 1416s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 5: 1646 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1416s # # GLib-DEBUG: io-channel-basic: child writing 8+43 bytes to 6 1416s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1416s # GLib-DEBUG: io-channel-basic: ...from 5: 43 bytes 1416s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+1658 bytes to 6 1417s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 5: 1658 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+336 bytes to 6 1417s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 5: 336 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+4453 bytes to 6 1417s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 5: 4453 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1417s # # GLib-DEBUG: io-channel-basic: child writing 8+300 bytes to 6 1417s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1417s # GLib-DEBUG: io-channel-basic: ...from 5: 300 bytes 1417s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1418s # Executing: glib/io-channel-basic.test 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+3177 bytes to 6 1418s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 5: 3177 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+1341 bytes to 6 1418s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 5: 1341 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+4830 bytes to 6 1418s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 5: 4830 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1418s # # GLib-DEBUG: io-channel-basic: child writing 8+2621 bytes to 6 1418s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1418s # GLib-DEBUG: io-channel-basic: ...from 5: 2621 bytes 1418s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1419s # # GLib-DEBUG: io-channel-basic: child writing 8+4967 bytes to 6 1419s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1419s # GLib-DEBUG: io-channel-basic: ...from 5: 4967 bytes 1419s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1419s # # GLib-DEBUG: io-channel-basic: child writing 8+2816 bytes to 6 1419s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1419s # GLib-DEBUG: io-channel-basic: ...from 5: 2816 bytes 1419s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1419s # # GLib-DEBUG: io-channel-basic: child writing 8+1626 bytes to 6 1419s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1419s # GLib-DEBUG: io-channel-basic: ...from 5: 1626 bytes 1419s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1420s # # GLib-DEBUG: io-channel-basic: child writing 8+1227 bytes to 6 1420s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1420s # GLib-DEBUG: io-channel-basic: ...from 5: 1227 bytes 1420s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1420s # # GLib-DEBUG: io-channel-basic: child writing 8+2279 bytes to 6 1420s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1420s # GLib-DEBUG: io-channel-basic: ...from 5: 2279 bytes 1420s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1420s # # GLib-DEBUG: io-channel-basic: child writing 8+939 bytes to 6 1420s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1420s # GLib-DEBUG: io-channel-basic: ...from 5: 939 bytes 1420s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1420s # # GLib-DEBUG: io-channel-basic: child writing 8+1566 bytes to 6 1420s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1420s # GLib-DEBUG: io-channel-basic: ...from 5: 1566 bytes 1420s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+1932 bytes to 6 1421s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1421s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1421s # GLib-DEBUG: io-channel-basic: ...from 5: 1932 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1421s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1421s # # random seed: R02S27b733e82e1bed33bec573a536c8667c 1421s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1421s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1421s # # random seed: R02S0d5d6072f0dcf6fb7b5b4e309ebaf7e2 1421s # # random seed: R02S9a049f6f976909becfbfe8d79edf47c7 1421s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1421s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1421s # # random seed: R02S063b1b1ed341b8e2d917b85dd786717f 1421s # # random seed: R02Sc3c03bf36d96a59d96f8a0f50903794e 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+2202 bytes to 9 1421s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 8: 2202 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+2600 bytes to 15 1421s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 14: 2600 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+861 bytes to 11 1421s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 10: 861 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+331 bytes to 13 1421s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 12: 331 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+1485 bytes to 17 1421s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 16: 1485 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+2437 bytes to 9 1421s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 8: 2437 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+4471 bytes to 17 1421s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 16: 4471 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+4989 bytes to 11 1421s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 10: 4989 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+2722 bytes to 15 1421s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 14: 2722 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 13 1421s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 12: 1495 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+2839 bytes to 9 1421s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 8: 2839 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+4160 bytes to 17 1421s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 16: 4160 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+106 bytes to 11 1421s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 10: 106 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+2459 bytes to 15 1421s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 14: 2459 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1421s # # GLib-DEBUG: io-channel-basic: child writing 8+3954 bytes to 13 1421s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1421s # GLib-DEBUG: io-channel-basic: ...from 12: 3954 bytes 1421s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2114 bytes to 9 1422s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 8: 2114 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2864 bytes to 17 1422s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 16: 2864 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+370 bytes to 11 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+3262 bytes to 13 1422s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 10: 370 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1422s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 12: 3262 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2422 bytes to 15 1422s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 14: 2422 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+4629 bytes to 9 1422s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 8: 4629 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+4404 bytes to 17 1422s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 16: 4404 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+180 bytes to 15 1422s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 14: 180 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+129 bytes to 11 1422s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 10: 129 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2056 bytes to 13 1422s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 12: 2056 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2546 bytes to 9 1422s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 8: 2546 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+4324 bytes to 11 1422s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 10: 4324 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+3671 bytes to 17 1422s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 16: 3671 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+3714 bytes to 15 1422s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 14: 3714 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2677 bytes to 13 1422s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 12: 2677 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+1409 bytes to 9 1422s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 8: 1409 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+2343 bytes to 11 1422s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 10: 2343 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+3616 bytes to 17 1422s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 16: 3616 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1422s # # GLib-DEBUG: io-channel-basic: child writing 8+478 bytes to 15 1422s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1422s # GLib-DEBUG: io-channel-basic: ...from 14: 478 bytes 1422s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1506 bytes to 13 1423s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 12: 1506 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1423s # Executing: glib/io-channel-basic.test 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+2697 bytes to 9 1423s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 8: 2697 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1990 bytes to 17 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 11 1423s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 10: 1326 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1423s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 16: 1990 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1041 bytes to 15 1423s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 14: 1041 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+4792 bytes to 13 1423s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 12: 4792 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1706 bytes to 9 1423s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 8: 1706 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+4071 bytes to 17 1423s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 16: 4071 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+164 bytes to 11 1423s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 10: 164 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1081 bytes to 15 1423s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 14: 1081 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+367 bytes to 13 1423s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 12: 367 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1928 bytes to 9 1423s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 8: 1928 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+2083 bytes to 17 1423s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 16: 2083 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1546 bytes to 11 1423s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 10: 1546 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1039 bytes to 15 1423s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 14: 1039 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+2135 bytes to 13 1423s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 12: 2135 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1423s # # GLib-DEBUG: io-channel-basic: child writing 8+1434 bytes to 9 1423s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1423s # GLib-DEBUG: io-channel-basic: ...from 8: 1434 bytes 1423s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+1270 bytes to 17 1424s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 16: 1270 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+2043 bytes to 11 1424s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 10: 2043 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+1619 bytes to 15 1424s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 14: 1619 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+1982 bytes to 13 1424s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 12: 1982 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+1824 bytes to 9 1424s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 8: 1824 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+2140 bytes to 11 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+145 bytes to 17 1424s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 10: 2140 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1424s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 16: 145 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+2230 bytes to 15 1424s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 14: 2230 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+4032 bytes to 13 1424s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 12: 4032 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+770 bytes to 9 1424s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 8: 770 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+2207 bytes to 17 1424s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 16: 2207 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+3321 bytes to 11 1424s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 10: 3321 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+1028 bytes to 15 1424s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 14: 1028 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+2221 bytes to 13 1424s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 12: 2221 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+3402 bytes to 9 1424s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 8: 3402 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+3187 bytes to 11 1424s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 10: 3187 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+3305 bytes to 17 1424s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 16: 3305 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+2483 bytes to 15 1424s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 14: 2483 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1424s # # GLib-DEBUG: io-channel-basic: child writing 8+3304 bytes to 13 1424s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1424s # GLib-DEBUG: io-channel-basic: ...from 12: 3304 bytes 1424s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+774 bytes to 9 1425s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 8: 774 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+659 bytes to 11 1425s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 10: 659 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+658 bytes to 17 1425s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 16: 658 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+3466 bytes to 15 1425s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 14: 3466 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+2884 bytes to 13 1425s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 12: 2884 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+56 bytes to 9 1425s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 8: 56 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+3641 bytes to 11 1425s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 10: 3641 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+1857 bytes to 17 1425s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 16: 1857 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+3985 bytes to 15 1425s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 14: 3985 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+3873 bytes to 13 1425s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 12: 3873 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+1642 bytes to 9 1425s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 8: 1642 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+1804 bytes to 11 1425s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 10: 1804 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+1080 bytes to 17 1425s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 16: 1080 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+1188 bytes to 15 1425s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 14: 1188 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+521 bytes to 13 1425s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 12: 521 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+1175 bytes to 9 1425s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 8: 1175 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+3245 bytes to 17 1425s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 16: 3245 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+3323 bytes to 11 1425s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 10: 3323 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+702 bytes to 15 1425s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 14: 702 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1425s # # GLib-DEBUG: io-channel-basic: child writing 8+654 bytes to 13 1425s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1425s # GLib-DEBUG: io-channel-basic: ...from 12: 654 bytes 1425s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+4369 bytes to 9 1426s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 8: 4369 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+1680 bytes to 17 1426s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 16: 1680 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+529 bytes to 11 1426s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 10: 529 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+4844 bytes to 13 1426s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 12: 4844 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+667 bytes to 15 1426s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 14: 667 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+3618 bytes to 9 1426s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 8: 3618 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+3664 bytes to 17 1426s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 16: 3664 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+2317 bytes to 11 1426s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 10: 2317 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+4736 bytes to 13 1426s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 12: 4736 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+4164 bytes to 15 1426s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 14: 4164 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+3622 bytes to 9 1426s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 8: 3622 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+4828 bytes to 17 1426s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 16: 4828 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+2594 bytes to 11 1426s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 10: 2594 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+864 bytes to 15 1426s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 14: 864 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+2573 bytes to 13 1426s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 12: 2573 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+3011 bytes to 9 1426s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 8: 3011 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+3095 bytes to 17 1426s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1426s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1426s # GLib-DEBUG: io-channel-basic: ...from 16: 3095 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+315 bytes to 11 1426s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 10: 315 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+984 bytes to 15 1426s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 14: 984 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1426s # # GLib-DEBUG: io-channel-basic: child writing 8+802 bytes to 13 1426s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1426s # GLib-DEBUG: io-channel-basic: ...from 12: 802 bytes 1426s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+1130 bytes to 9 1427s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 8: 1130 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+2169 bytes to 11 1427s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 10: 2169 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+3573 bytes to 15 1427s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 14: 3573 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+481 bytes to 13 1427s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 12: 481 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+2065 bytes to 9 1427s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1427s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1427s # GLib-DEBUG: io-channel-basic: ...from 8: 2065 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+3301 bytes to 15 1427s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 14: 3301 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+3471 bytes to 11 1427s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 10: 3471 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+2096 bytes to 13 1427s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 12: 2096 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+2107 bytes to 11 1427s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 10: 2107 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+3378 bytes to 15 1427s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1427s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1427s # GLib-DEBUG: io-channel-basic: ...from 14: 3378 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+4045 bytes to 13 1427s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 12: 4045 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+267 bytes to 11 1427s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1427s # GLib-DEBUG: io-channel-basic: ...from 10: 267 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1427s # # GLib-DEBUG: io-channel-basic: child writing 8+3049 bytes to 13 1427s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1427s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1427s # GLib-DEBUG: io-channel-basic: ...from 12: 3049 bytes 1427s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1428s # Executing: glib/io-channel-basic.test 1428s # # GLib-DEBUG: io-channel-basic: child writing 8+1657 bytes to 11 1428s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1428s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1428s # GLib-DEBUG: io-channel-basic: ...from 10: 1657 bytes 1428s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1428s ok 1 /gio/io-basics 1428s # slow test /gio/io-basics executed in 12.40 secs 1428s # End of gio tests 1428s ok - glib/io-channel-basic.test 1428s # Running test: glib/properties-refcount4.test 1428s TAP version 13 1428s # random seed: R02S22451e93b89f0f18b42ec3ab80a8f51a 1428s 1..1 1428s # Start of gobject tests 1428s # Start of refcount tests 1428s ok 1 /gobject/refcount/properties-4 1428s # End of refcount tests 1428s # End of gobject tests 1428s ok - glib/properties-refcount4.test 1428s # Running test: glib/thread-pool.test 1428s TAP version 13 1428s # random seed: R02S3d3f684bf13775db682a621e13f86582 1428s 1..5 1428s # Start of thread_pool tests 1428s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1428s ok 1 /thread_pool/shared 1428s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1428s ok 2 /thread_pool/exclusive 1428s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1428s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1428s ok 3 /thread_pool/create_shared_after_exclusive 1428s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1428s ok 4 /thread_pool/create_full 1428s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1428s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1428s ok 5 /thread_pool/create_exclusive_after_shared 1428s # End of thread_pool tests 1428s ok - glib/thread-pool.test 1428s # Running test: glib/utils-isolated.test 1428s TAP version 13 1428s # random seed: R02S505b996194c290ad8e6d9dd199e104d1 1428s 1..9 1428s # Start of utils-isolated tests 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/tmp-dir/.dirs/runtime 1428s ok 1 /utils-isolated/tmp-dir 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/home-dir/.dirs/runtime 1428s ok 2 /utils-isolated/home-dir 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-cache-dir/.dirs/runtime 1428s ok 3 /utils-isolated/user-cache-dir 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-config-dirs/.dirs/runtime 1428s ok 4 /utils-isolated/system-config-dirs 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-config-dir/.dirs/runtime 1428s ok 5 /utils-isolated/user-config-dir 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/system-data-dirs/.dirs/runtime 1428s ok 6 /utils-isolated/system-data-dirs 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-data-dir/.dirs/runtime 1428s ok 7 /utils-isolated/user-data-dir 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-state-dir/.dirs/runtime 1428s ok 8 /utils-isolated/user-state-dir 1428s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/home 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/cache 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/system-config2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/config 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/system-data2 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/data 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/state 1428s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_R5XHK2/utils-isolated/user-runtime-dir/.dirs/runtime 1428s ok 9 /utils-isolated/user-runtime-dir 1428s # End of utils-isolated tests 1428s ok - glib/utils-isolated.test 1428s # Running test: glib/asyncqueue.test 1428s TAP version 13 1428s # random seed: R02Sad142cf2f822b56dac83544f42a537f2 1428s 1..7 1428s # Start of asyncqueue tests 1428s ok 1 /asyncqueue/basics 1428s ok 2 /asyncqueue/sort 1428s ok 3 /asyncqueue/destroy 1428s ok 4 /asyncqueue/threads 1428s ok 5 /asyncqueue/timed 1428s ok 6 /asyncqueue/remove 1428s ok 7 /asyncqueue/push_front 1428s # End of asyncqueue tests 1428s ok - glib/asyncqueue.test 1428s # Running test: glib/array-test.test 1428s TAP version 13 1428s # random seed: R02S0b0c90ea35db8d65d7e21a04e874d545 1428s 1..113 1428s # Start of array tests 1428s ok 1 /array/ref-count 1428s ok 2 /array/steal 1428s ok 3 /array/clear-func 1428s ok 4 /array/binary-search 1428s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1428s ok 5 /array/copy-sized 1428s ok 6 /array/overflow-append-vals 1428s ok 7 /array/overflow-set-size 1428s # Start of new tests 1428s ok 8 /array/new/zero-terminated 1428s ok 9 /array/new/take 1428s ok 10 /array/new/take-zero-terminated 1428s # Start of take tests 1428s ok 11 /array/new/take/empty 1428s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1428s # End of take tests 1428s # End of new tests 1428s # Start of set-size tests 1428s ok 13 /array/set-size/non-zero-terminated-no-clear 1428s ok 14 /array/set-size/non-zero-terminated-clear 1428s ok 15 /array/set-size/zero-terminated-no-clear 1428s ok 16 /array/set-size/zero-terminated-clear 1428s # Start of sized tests 1428s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1428s ok 18 /array/set-size/sized/non-zero-terminated-clear 1428s ok 19 /array/set-size/sized/zero-terminated-no-clear 1428s ok 20 /array/set-size/sized/zero-terminated-clear 1428s # End of sized tests 1428s # End of set-size tests 1428s # Start of append-val tests 1428s ok 21 /array/append-val/non-zero-terminated-no-clear 1428s ok 22 /array/append-val/non-zero-terminated-clear 1428s ok 23 /array/append-val/zero-terminated-no-clear 1428s ok 24 /array/append-val/zero-terminated-clear 1428s # End of append-val tests 1428s # Start of prepend-val tests 1428s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1428s ok 26 /array/prepend-val/non-zero-terminated-clear 1428s ok 27 /array/prepend-val/zero-terminated-no-clear 1428s ok 28 /array/prepend-val/zero-terminated-clear 1428s # End of prepend-val tests 1428s # Start of prepend-vals tests 1428s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1428s ok 30 /array/prepend-vals/non-zero-terminated-clear 1428s ok 31 /array/prepend-vals/zero-terminated-no-clear 1428s ok 32 /array/prepend-vals/zero-terminated-clear 1428s # End of prepend-vals tests 1428s # Start of insert-vals tests 1428s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1428s ok 34 /array/insert-vals/non-zero-terminated-clear 1428s ok 35 /array/insert-vals/zero-terminated-no-clear 1428s ok 36 /array/insert-vals/zero-terminated-clear 1428s # End of insert-vals tests 1428s # Start of remove-index tests 1428s ok 37 /array/remove-index/non-zero-terminated-no-clear 1428s ok 38 /array/remove-index/non-zero-terminated-clear 1428s ok 39 /array/remove-index/zero-terminated-no-clear 1428s ok 40 /array/remove-index/zero-terminated-clear 1428s # End of remove-index tests 1428s # Start of remove-index-fast tests 1428s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1428s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1428s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1428s ok 44 /array/remove-index-fast/zero-terminated-clear 1428s # End of remove-index-fast tests 1428s # Start of remove-range tests 1428s ok 45 /array/remove-range/non-zero-terminated-no-clear 1428s ok 46 /array/remove-range/non-zero-terminated-clear 1428s ok 47 /array/remove-range/zero-terminated-no-clear 1428s ok 48 /array/remove-range/zero-terminated-clear 1428s # End of remove-range tests 1428s # Start of copy tests 1428s ok 49 /array/copy/non-zero-terminated-no-clear 1428s ok 50 /array/copy/non-zero-terminated-clear 1428s ok 51 /array/copy/zero-terminated-no-clear 1428s ok 52 /array/copy/zero-terminated-clear 1428s # End of copy tests 1428s # Start of sort tests 1428s ok 53 /array/sort/non-zero-terminated-no-clear 1428s ok 54 /array/sort/non-zero-terminated-clear 1428s ok 55 /array/sort/zero-terminated-no-clear 1428s ok 56 /array/sort/zero-terminated-clear 1428s # End of sort tests 1428s # Start of sort-with-data tests 1428s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1428s ok 58 /array/sort-with-data/non-zero-terminated-clear 1428s ok 59 /array/sort-with-data/zero-terminated-no-clear 1428s ok 60 /array/sort-with-data/zero-terminated-clear 1428s # End of sort-with-data tests 1428s # End of array tests 1428s # Start of pointerarray tests 1428s ok 61 /pointerarray/add 1428s ok 62 /pointerarray/insert 1428s ok 63 /pointerarray/new-take 1428s ok 64 /pointerarray/new-take-null-terminated 1428s ok 65 /pointerarray/new-from-array 1428s ok 66 /pointerarray/new-from-null-terminated-array 1428s ok 67 /pointerarray/free-func 1428s ok 68 /pointerarray/array_extend_and_steal 1428s ok 69 /pointerarray/sort 1428s ok 70 /pointerarray/sort-with-data 1428s ok 71 /pointerarray/sort-values 1428s ok 72 /pointerarray/sort-values-with-data 1428s ok 73 /pointerarray/remove-range 1428s ok 74 /pointerarray/steal 1428s # Start of free tests 1428s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1428s ok 75 /pointerarray/free/null-terminated 1428s # End of free tests 1428s # Start of new-take tests 1428s ok 76 /pointerarray/new-take/empty 1428s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1428s ok 78 /pointerarray/new-take/with-free-func 1428s # End of new-take tests 1428s # Start of new-take-null-terminated tests 1428s ok 79 /pointerarray/new-take-null-terminated/empty 1428s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1428s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1428s # End of new-take-null-terminated tests 1428s # Start of new-from-array tests 1428s ok 82 /pointerarray/new-from-array/empty 1428s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1428s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1428s # End of new-from-array tests 1428s # Start of new-from-null-terminated-array tests 1428s ok 85 /pointerarray/new-from-null-terminated-array/empty 1428s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1428s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1428s # End of new-from-null-terminated-array tests 1428s # Start of ref-count tests 1428s ok 88 /pointerarray/ref-count/not-null-terminated 1428s ok 89 /pointerarray/ref-count/null-terminated 1428s # End of ref-count tests 1428s # Start of array_copy tests 1428s # /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 1428s ok 90 /pointerarray/array_copy/not-null-terminated 1428s # /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 1428s ok 91 /pointerarray/array_copy/null-terminated 1428s # End of array_copy tests 1428s # Start of array_extend tests 1428s ok 92 /pointerarray/array_extend/not-null-terminated 1428s ok 93 /pointerarray/array_extend/null-terminated 1428s # End of array_extend tests 1428s # Start of sort tests 1428s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1428s ok 94 /pointerarray/sort/example 1428s # End of sort tests 1428s # Start of sort-with-data tests 1428s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1428s ok 95 /pointerarray/sort-with-data/example 1428s # End of sort-with-data tests 1428s # Start of sort-values tests 1428s ok 96 /pointerarray/sort-values/example 1428s # End of sort-values tests 1428s # Start of sort-values-with-data tests 1428s ok 97 /pointerarray/sort-values-with-data/example 1428s # End of sort-values-with-data tests 1428s # Start of find tests 1428s ok 98 /pointerarray/find/empty 1428s ok 99 /pointerarray/find/non-empty 1428s # End of find tests 1428s # Start of steal_index tests 1428s ok 100 /pointerarray/steal_index/not-null-terminated 1428s ok 101 /pointerarray/steal_index/null-terminated 1428s # End of steal_index tests 1428s # End of pointerarray tests 1428s # Start of bytearray tests 1428s ok 102 /bytearray/steal 1428s ok 103 /bytearray/append 1428s ok 104 /bytearray/prepend 1428s ok 105 /bytearray/remove 1428s ok 106 /bytearray/remove-fast 1428s ok 107 /bytearray/remove-range 1428s ok 108 /bytearray/ref-count 1428s ok 109 /bytearray/sort 1428s ok 110 /bytearray/sort-with-data 1428s ok 111 /bytearray/new-take 1428s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1428s ok 113 /bytearray/free-to-bytes 1428s # End of bytearray tests 1428s ok - glib/array-test.test 1428s # Running test: glib/protocol.test 1428s TAP version 13 1428s # random seed: R02S984fc78030a361fb2ba0eda3e5972a69 1428s 1..9 1428s # Start of glib tests 1428s # Start of testing tests 1428s # Start of protocol tests 1428s ok 1 /glib/testing/protocol/debug 1428s ok 2 /glib/testing/protocol/info 1428s ok 3 /glib/testing/protocol/message 1428s ok 4 /glib/testing/protocol/warning 1428s ok 5 /glib/testing/protocol/critical 1428s ok 6 /glib/testing/protocol/error 1428s ok 7 /glib/testing/protocol/gtest-message 1428s ok 8 /glib/testing/protocol/test-message 1428s ok 9 /glib/testing/protocol/test-error 1428s # End of protocol tests 1428s # End of testing tests 1428s # End of glib tests 1428s ok - glib/protocol.test 1429s # Running test: glib/utf8-validate.test 1429s TAP version 13 1429s # random seed: R02S676fdcc3d840d0a3a824eb4385b11521 1429s 1..216 1429s # Start of utf8 tests 1429s # Vector 0 1429s # Vector 1 1429s # Vector 2 1429s # Vector 3 1429s # Vector 4 1429s # Vector 5 1429s # Vector 6 1429s # Vector 7 1429s # Vector 8 1429s # Vector 9 1429s # Vector 10 1429s # Vector 11 1429s # Vector 12 1429s # Vector 13 1429s # Vector 14 1429s # Vector 15 1429s # Vector 16 1429s # Vector 17 1429s # Vector 18 1429s # Vector 19 1429s # Vector 20 1429s # Vector 21 1429s # Vector 22 1429s # Vector 23 1429s # Vector 24 1429s # Vector 25 1429s # Vector 26 1429s # Vector 27 1429s ok 1 /utf8/get-char-validated 1429s # Start of validate tests 1429s ok 2 /utf8/validate/0 1429s ok 3 /utf8/validate/1 1429s ok 4 /utf8/validate/2 1429s ok 5 /utf8/validate/3 1429s ok 6 /utf8/validate/4 1429s ok 7 /utf8/validate/5 1429s ok 8 /utf8/validate/6 1429s ok 9 /utf8/validate/7 1429s ok 10 /utf8/validate/8 1429s ok 11 /utf8/validate/9 1429s ok 12 /utf8/validate/10 1429s ok 13 /utf8/validate/11 1429s ok 14 /utf8/validate/12 1429s ok 15 /utf8/validate/13 1429s ok 16 /utf8/validate/14 1429s ok 17 /utf8/validate/15 1429s ok 18 /utf8/validate/16 1429s ok 19 /utf8/validate/17 1429s ok 20 /utf8/validate/18 1429s ok 21 /utf8/validate/19 1429s ok 22 /utf8/validate/20 1429s ok 23 /utf8/validate/21 1429s ok 24 /utf8/validate/22 1429s ok 25 /utf8/validate/23 1429s ok 26 /utf8/validate/24 1429s ok 27 /utf8/validate/25 1429s ok 28 /utf8/validate/26 1429s ok 29 /utf8/validate/27 1429s ok 30 /utf8/validate/28 1429s ok 31 /utf8/validate/29 1429s ok 32 /utf8/validate/30 1429s ok 33 /utf8/validate/31 1429s ok 34 /utf8/validate/32 1429s ok 35 /utf8/validate/33 1429s ok 36 /utf8/validate/34 1429s ok 37 /utf8/validate/35 1429s ok 38 /utf8/validate/36 1429s ok 39 /utf8/validate/37 1429s ok 40 /utf8/validate/38 1429s ok 41 /utf8/validate/39 1429s ok 42 /utf8/validate/40 1429s ok 43 /utf8/validate/41 1429s ok 44 /utf8/validate/42 1429s ok 45 /utf8/validate/43 1429s ok 46 /utf8/validate/44 1429s ok 47 /utf8/validate/45 1429s ok 48 /utf8/validate/46 1429s ok 49 /utf8/validate/47 1429s ok 50 /utf8/validate/48 1429s ok 51 /utf8/validate/49 1429s ok 52 /utf8/validate/50 1429s ok 53 /utf8/validate/51 1429s ok 54 /utf8/validate/52 1429s ok 55 /utf8/validate/53 1429s ok 56 /utf8/validate/54 1429s ok 57 /utf8/validate/55 1429s ok 58 /utf8/validate/56 1429s ok 59 /utf8/validate/57 1429s ok 60 /utf8/validate/58 1429s ok 61 /utf8/validate/59 1429s ok 62 /utf8/validate/60 1429s ok 63 /utf8/validate/61 1429s ok 64 /utf8/validate/62 1429s ok 65 /utf8/validate/63 1429s ok 66 /utf8/validate/64 1429s ok 67 /utf8/validate/65 1429s ok 68 /utf8/validate/66 1429s ok 69 /utf8/validate/67 1429s ok 70 /utf8/validate/68 1429s ok 71 /utf8/validate/69 1429s ok 72 /utf8/validate/70 1429s ok 73 /utf8/validate/71 1429s ok 74 /utf8/validate/72 1429s ok 75 /utf8/validate/73 1429s ok 76 /utf8/validate/74 1429s ok 77 /utf8/validate/75 1429s ok 78 /utf8/validate/76 1429s ok 79 /utf8/validate/77 1429s ok 80 /utf8/validate/78 1429s ok 81 /utf8/validate/79 1429s ok 82 /utf8/validate/80 1429s ok 83 /utf8/validate/81 1429s ok 84 /utf8/validate/82 1429s ok 85 /utf8/validate/83 1429s ok 86 /utf8/validate/84 1429s ok 87 /utf8/validate/85 1429s ok 88 /utf8/validate/86 1429s ok 89 /utf8/validate/87 1429s ok 90 /utf8/validate/88 1429s ok 91 /utf8/validate/89 1429s ok 92 /utf8/validate/90 1429s ok 93 /utf8/validate/91 1429s ok 94 /utf8/validate/92 1429s ok 95 /utf8/validate/93 1429s ok 96 /utf8/validate/94 1429s ok 97 /utf8/validate/95 1429s ok 98 /utf8/validate/96 1429s ok 99 /utf8/validate/97 1429s ok 100 /utf8/validate/98 1429s ok 101 /utf8/validate/99 1429s ok 102 /utf8/validate/100 1429s ok 103 /utf8/validate/101 1429s ok 104 /utf8/validate/102 1429s ok 105 /utf8/validate/103 1429s ok 106 /utf8/validate/104 1429s ok 107 /utf8/validate/105 1429s ok 108 /utf8/validate/106 1429s ok 109 /utf8/validate/107 1429s ok 110 /utf8/validate/108 1429s ok 111 /utf8/validate/109 1429s ok 112 /utf8/validate/110 1429s ok 113 /utf8/validate/111 1429s ok 114 /utf8/validate/112 1429s ok 115 /utf8/validate/113 1429s ok 116 /utf8/validate/114 1429s ok 117 /utf8/validate/115 1429s ok 118 /utf8/validate/116 1429s ok 119 /utf8/validate/117 1429s ok 120 /utf8/validate/118 1429s ok 121 /utf8/validate/119 1429s ok 122 /utf8/validate/120 1429s ok 123 /utf8/validate/121 1429s ok 124 /utf8/validate/122 1429s ok 125 /utf8/validate/123 1429s ok 126 /utf8/validate/124 1429s ok 127 /utf8/validate/125 1429s ok 128 /utf8/validate/126 1429s ok 129 /utf8/validate/127 1429s ok 130 /utf8/validate/128 1429s ok 131 /utf8/validate/129 1429s ok 132 /utf8/validate/130 1429s ok 133 /utf8/validate/131 1429s ok 134 /utf8/validate/132 1429s ok 135 /utf8/validate/133 1429s ok 136 /utf8/validate/134 1429s ok 137 /utf8/validate/135 1429s ok 138 /utf8/validate/136 1429s ok 139 /utf8/validate/137 1429s ok 140 /utf8/validate/138 1429s ok 141 /utf8/validate/139 1429s ok 142 /utf8/validate/140 1429s ok 143 /utf8/validate/141 1429s ok 144 /utf8/validate/142 1429s ok 145 /utf8/validate/143 1429s ok 146 /utf8/validate/144 1429s ok 147 /utf8/validate/145 1429s ok 148 /utf8/validate/146 1429s ok 149 /utf8/validate/147 1429s ok 150 /utf8/validate/148 1429s ok 151 /utf8/validate/149 1429s ok 152 /utf8/validate/150 1429s ok 153 /utf8/validate/151 1429s ok 154 /utf8/validate/152 1429s ok 155 /utf8/validate/153 1429s ok 156 /utf8/validate/154 1429s ok 157 /utf8/validate/155 1429s ok 158 /utf8/validate/156 1429s ok 159 /utf8/validate/157 1429s ok 160 /utf8/validate/158 1429s ok 161 /utf8/validate/159 1429s ok 162 /utf8/validate/160 1429s ok 163 /utf8/validate/161 1429s ok 164 /utf8/validate/162 1429s ok 165 /utf8/validate/163 1429s ok 166 /utf8/validate/164 1429s ok 167 /utf8/validate/165 1429s ok 168 /utf8/validate/166 1429s ok 169 /utf8/validate/167 1429s ok 170 /utf8/validate/168 1429s ok 171 /utf8/validate/169 1429s ok 172 /utf8/validate/170 1429s ok 173 /utf8/validate/171 1429s ok 174 /utf8/validate/172 1429s ok 175 /utf8/validate/173 1429s ok 176 /utf8/validate/174 1429s ok 177 /utf8/validate/175 1429s ok 178 /utf8/validate/176 1429s ok 179 /utf8/validate/177 1429s ok 180 /utf8/validate/178 1429s ok 181 /utf8/validate/179 1429s ok 182 /utf8/validate/180 1429s ok 183 /utf8/validate/181 1429s ok 184 /utf8/validate/182 1429s ok 185 /utf8/validate/183 1429s ok 186 /utf8/validate/184 1429s ok 187 /utf8/validate/185 1429s ok 188 /utf8/validate/186 1429s ok 189 /utf8/validate/187 1429s ok 190 /utf8/validate/188 1429s ok 191 /utf8/validate/189 1429s ok 192 /utf8/validate/190 1429s ok 193 /utf8/validate/191 1429s ok 194 /utf8/validate/192 1429s ok 195 /utf8/validate/193 1429s ok 196 /utf8/validate/194 1429s ok 197 /utf8/validate/195 1429s ok 198 /utf8/validate/196 1429s ok 199 /utf8/validate/197 1429s ok 200 /utf8/validate/198 1429s ok 201 /utf8/validate/199 1429s ok 202 /utf8/validate/200 1429s ok 203 /utf8/validate/201 1429s ok 204 /utf8/validate/202 1429s ok 205 /utf8/validate/203 1429s ok 206 /utf8/validate/204 1429s ok 207 /utf8/validate/205 1429s ok 208 /utf8/validate/206 1429s ok 209 /utf8/validate/207 1429s ok 210 /utf8/validate/208 1429s ok 211 /utf8/validate/209 1429s ok 212 /utf8/validate/210 1429s ok 213 /utf8/validate/211 1429s ok 214 /utf8/validate/212 1429s ok 215 /utf8/validate/213 1429s ok 216 /utf8/validate/214 1429s # End of validate tests 1429s # End of utf8 tests 1429s ok - glib/utf8-validate.test 1429s # Running test: glib/memory-monitor-portal.test 1430s TAP version 13 1430s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1430s 1..1 1430s ok - glib/memory-monitor-portal.test 1430s # Running test: glib/trash.test 1430s TAP version 13 1430s # random seed: R02S40ad410ab44f2fc9985a1f4a1ed5d92e 1430s 1..2 1430s # Start of trash tests 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1430s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1430s # File: /tmp/test-trash17KHK2 (parent st_dev: 2049) 1430s # Home: /home/ubuntu (st_dev: 2049) 1430s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1430s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1430s # End of trash tests 1430s ok - glib/trash.test 1430s # Running test: glib/convert.test 1430s TAP version 13 1430s # random seed: R02S0828acc5aeb5f817698eb20275785cac 1430s 1..14 1430s # Start of conversion tests 1430s ok 1 /conversion/no-conv 1430s ok 2 /conversion/iconv-state 1430s ok 3 /conversion/illegal-sequence 1430s ok 4 /conversion/byte-order 1430s ok 5 /conversion/unicode 1430s ok 6 /conversion/filename-utf8 1430s ok 7 /conversion/filename-display 1430s ok 8 /conversion/convert-embedded-nul 1430s # Start of locale-to-utf8 tests 1430s ok 9 /conversion/locale-to-utf8/embedded-nul 1430s # Start of embedded-nul tests 1430s # Start of subprocess tests 1430s # End of subprocess tests 1430s # End of embedded-nul tests 1430s # End of locale-to-utf8 tests 1430s # Start of locale-from-utf8 tests 1430s ok 10 /conversion/locale-from-utf8/embedded-nul 1430s # Start of embedded-nul tests 1430s # Start of subprocess tests 1430s # End of subprocess tests 1430s # End of embedded-nul tests 1430s # End of locale-from-utf8 tests 1430s # Start of filename-to-utf8 tests 1430s ok 11 /conversion/filename-to-utf8/embedded-nul 1430s # Start of embedded-nul tests 1430s # Start of subprocess tests 1430s # End of subprocess tests 1430s # End of embedded-nul tests 1430s # End of filename-to-utf8 tests 1430s # Start of filename-from-utf8 tests 1430s ok 12 /conversion/filename-from-utf8/embedded-nul 1430s # Start of embedded-nul tests 1430s # Start of subprocess tests 1430s # End of subprocess tests 1430s # End of embedded-nul tests 1430s # End of filename-from-utf8 tests 1430s # Start of filename-from-uri tests 1430s ok 13 /conversion/filename-from-uri/query-is-ignored 1430s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1430s # End of filename-from-uri tests 1430s # End of conversion tests 1430s ok - glib/convert.test 1430s # Running test: glib/power-profile-monitor.test 1430s TAP version 13 1430s # random seed: R02S0aad866cb5e0d218b0f7698ec5ed9e89 1430s 1..1 1430s # Start of power-profile-monitor tests 1430s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1430s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1430s ok 1 /power-profile-monitor/default 1430s # End of power-profile-monitor tests 1430s ok - glib/power-profile-monitor.test 1430s # Running test: glib/ifaceproperties.test 1430s TAP version 13 1430s # random seed: R02S5f53667009dbf913af2c23a82a067ef3 1430s 1..7 1430s # Start of interface tests 1430s # Start of properties tests 1430s ok 1 /interface/properties/set 1430s ok 2 /interface/properties/notify 1430s ok 3 /interface/properties/find-overridden 1430s ok 4 /interface/properties/list-overridden 1430s ok 5 /interface/properties/find-interface 1430s ok 6 /interface/properties/list-interface 1430s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1430s ok 7 /interface/properties/not-overridden 1430s # End of properties tests 1430s # End of interface tests 1430s ok - glib/ifaceproperties.test 1430s # Running test: glib/markup-collect.test 1430s TAP version 13 1430s # random seed: R02S843abdfe657dc46ca936958062eec9a9 1430s 1..21 1430s # Start of markup tests 1430s # Start of collect tests 1430s ok 1 /markup/collect/0 1430s ok 2 /markup/collect/1 1430s ok 3 /markup/collect/2 1430s ok 4 /markup/collect/3 1430s ok 5 /markup/collect/4 1430s ok 6 /markup/collect/5 1430s ok 7 /markup/collect/6 1430s ok 8 /markup/collect/7 1430s ok 9 /markup/collect/8 1430s ok 10 /markup/collect/9 1430s ok 11 /markup/collect/10 1430s ok 12 /markup/collect/11 1430s ok 13 /markup/collect/12 1430s ok 14 /markup/collect/13 1430s ok 15 /markup/collect/14 1430s ok 16 /markup/collect/15 1430s ok 17 /markup/collect/16 1430s ok 18 /markup/collect/17 1430s ok 19 /markup/collect/18 1430s ok 20 /markup/collect/19 1430s ok 21 /markup/collect/cleanup 1430s # End of collect tests 1430s # End of markup tests 1430s ok - glib/markup-collect.test 1430s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1430s TAP version 13 1430s # random seed: R02S8b3a9a3eb64c66b026867cc0c52781d9 1430s 1..8 1430s # Start of gdbus tests 1430s # Start of codegen tests 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/annotations/.dirs/runtime 1430s ok 1 /gdbus/codegen/annotations 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/interface_stability/.dirs/runtime 1430s ok 2 /gdbus/codegen/interface_stability 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/object-manager/.dirs/runtime 1430s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1430s ok 3 /gdbus/codegen/object-manager 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/property-naming/.dirs/runtime 1430s ok 4 /gdbus/codegen/property-naming 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/autocleanups/.dirs/runtime 1430s ok 5 /gdbus/codegen/autocleanups 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/deprecations/.dirs/runtime 1430s ok 6 /gdbus/codegen/deprecations 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1430s ok 7 /gdbus/codegen/standalone-interface-info 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_NNX9J2/gdbus/codegen/unix-fd-list/.dirs/runtime 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1430s ok 8 /gdbus/codegen/unix-fd-list 1430s # End of codegen tests 1430s # End of gdbus tests 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1430s ok - glib/gdbus-test-codegen-min-required-2-64.test 1430s # Running test: glib/mimeapps.test 1430s TAP version 13 1430s # random seed: R02Sac43ed3f09aab58349cae864a0e1ba28 1430s 1..7 1430s # Start of appinfo tests 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1430s ok 1 /appinfo/all 1430s # Start of mime tests 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SCK3J2/appinfo/all/.dirs/config to /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config 1430s ok 2 /appinfo/mime/api 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config 1430s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SCK3J2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config 1430s ok 3 /appinfo/mime/default 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SCK3J2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config 1430s ok 4 /appinfo/mime/file 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1430s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SCK3J2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/config 1430s ok 5 /appinfo/mime/scheme-handler 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SCK3J2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config 1430s ok 6 /appinfo/mime/default-last-used 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1430s # removing '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1430s # creating '/tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1430s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_SCK3J2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_SCK3J2/appinfo/mime/ignore-nonexisting/.dirs/config 1430s ok 7 /appinfo/mime/ignore-nonexisting 1430s # End of mime tests 1430s # End of appinfo tests 1430s ok - glib/mimeapps.test 1430s # Running test: glib/atomic.test 1430s TAP version 13 1430s # random seed: R02S1ecd6264025babea92cbe219f4f3e323 1430s 1..2 1430s # Start of atomic tests 1430s ok 1 /atomic/types 1431s ok 2 /atomic/threaded 1431s # slow test /atomic/threaded executed in 0.70 secs 1431s # End of atomic tests 1431s ok - glib/atomic.test 1431s # Running test: glib/macros-c-99.test 1431s TAP version 13 1431s # random seed: R02S9631973662fb415d723da7b81a7ba360 1431s 1..4 1431s # Start of C tests 1431s ok 1 /C/standard-99 1431s # End of C tests 1431s # Start of alignof tests 1431s ok 2 /alignof/fallback 1431s # End of alignof tests 1431s # Start of assert tests 1431s ok 3 /assert/static 1431s # End of assert tests 1431s # Start of struct tests 1431s ok 4 /struct/sizeof_member 1431s # End of struct tests 1431s ok - glib/macros-c-99.test 1431s # Running test: glib/win32-appinfo.test 1431s TAP version 13 1431s # random seed: R02S761520c6ed64eeb1ce13185c6ed609df 1431s 1..5 1431s # Start of appinfo tests 1431s ok 1 /appinfo/utf16-strfuncs 1431s ok 2 /appinfo/win32-extract-executable 1431s ok 3 /appinfo/win32-rundll32-fixup 1431s ok 4 /appinfo/win32-parse-filename 1431s ok 5 /appinfo/win32-utf16-conversion-fail 1431s # Start of subprocess tests 1431s # End of subprocess tests 1431s # End of appinfo tests 1431s ok - glib/win32-appinfo.test 1431s # Running test: glib/power-profile-monitor-portal.test 1432s TAP version 13 1432s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1432s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1432s 1..2 1432s ok - glib/power-profile-monitor-portal.test 1432s # Running test: glib/atomic-c-90.test 1432s TAP version 13 1432s # random seed: R02S2e7c7e39b30bd693e369e428ef7de50f 1432s 1..2 1432s # Start of atomic tests 1432s ok 1 /atomic/types 1433s # Executing: glib/atomic-c-90.test 1433s ok 2 /atomic/threaded 1433s # slow test /atomic/threaded executed in 0.71 secs 1433s # End of atomic tests 1433s ok - glib/atomic-c-90.test 1433s # Running test: glib/gdbus-peer.test 1433s TAP version 13 1433s # random seed: R02S9f5045efe683f4899fded259c6771071 1433s 1..12 1433s # Start of gdbus tests 1433s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/home 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/cache 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/system-config2 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/config 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/system-data2 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/data 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/state 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/.dirs/runtime 1433s # Testing with unix:dir address 1433s # Testing with unix:tmpdir address 1433s # Testing with unix:path address 1433s ok 1 /gdbus/peer-to-peer 1433s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/home 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/cache 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/system-config2 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/config 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/system-data2 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/data 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/state 1433s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/delayed-message-processing/.dirs/runtime 1433s # Testing with unix:dir address 1434s ok 2 /gdbus/delayed-message-processing 1434s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/nonce-tcp/.dirs/runtime 1434s ok 3 /gdbus/nonce-tcp 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/tcp-anonymous/.dirs/runtime 1434s ok 4 /gdbus/tcp-anonymous 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/credentials/.dirs/runtime 1434s ok 5 /gdbus/credentials 1434s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/home 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/cache 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/config 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/data 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/state 1434s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/codegen-peer-to-peer/.dirs/runtime 1434s # Testing with unix:dir address 1434s # Machine ID: 0298a0e3c1c14b7b98003cec56d916e7 1435s ok 6 /gdbus/codegen-peer-to-peer 1435s # slow test /gdbus/codegen-peer-to-peer executed in 1.12 secs 1435s # Start of peer-to-peer tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/signals/.dirs/runtime 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1435s # Testing with unix:dir address 1435s ok 7 /gdbus/peer-to-peer/signals 1435s # Start of invalid tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1435s ok 8 /gdbus/peer-to-peer/invalid/server 1435s # Start of conn tests 1435s # Start of stream tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1435s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1435s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1435s # End of stream tests 1435s # Start of addr tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1435s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_E2L5J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1435s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1435s # End of addr tests 1435s # End of conn tests 1435s # End of invalid tests 1435s # End of peer-to-peer tests 1435s # End of gdbus tests 1435s ok - glib/gdbus-peer.test 1435s # Running test: glib/include.test 1435s TAP version 13 1435s # random seed: R02Sc3af70557dc868521dc992a2394be1a6 1435s 1..1 1435s # Start of include tests 1435s ok 1 /include/rwlock 1435s # End of include tests 1435s ok - glib/include.test 1435s # Running test: glib/memchunk.test 1435s TAP version 13 1435s # random seed: R02S72038caf39e153f8875626d34118c497 1435s 1..1 1435s # Start of memchunk tests 1435s ok 1 /memchunk/basic 1435s # End of memchunk tests 1435s ok - glib/memchunk.test 1435s # Running test: glib/signal-handler.test 1435s TAP version 13 1435s # random seed: R02S03651ac2bce163b00a660569352a021e 1435s 1..7 1435s # Start of signal tests 1435s # Start of handler tests 1435s # min perf: connected 1 handlers in 0.000 seconds 1435s ok 1 /signal/handler/connect-many 1435s # min perf: disconnected 1 handlers in 0.000 seconds 1435s ok 2 /signal/handler/disconnect-many-ordered 1435s # min perf: disconnected 1 handlers in 0.000 seconds 1435s ok 3 /signal/handler/disconnect-many-inverse 1435s # min perf: disconnected 1 handlers in 0.000 seconds 1435s ok 4 /signal/handler/disconnect-many-random 1435s # min perf: disconnected 1 handlers in 0.000 seconds 1435s ok 5 /signal/handler/disconnect-2-signals 1435s # min perf: disconnected 1 handlers in 0.000 seconds 1435s ok 6 /signal/handler/disconnect-2-objects 1435s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1435s ok 7 /signal/handler/block-many 1435s # End of handler tests 1435s # End of signal tests 1435s ok - glib/signal-handler.test 1435s # Running test: glib/gdbus-serialization.test 1435s TAP version 13 1435s # random seed: R02Sbe34390adde871c683358e6290ed218d 1435s 1..18 1435s # Start of gdbus tests 1435s # Start of message-serialize tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/basic/.dirs/runtime 1435s ok 1 /gdbus/message-serialize/basic 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/complex/.dirs/runtime 1435s ok 2 /gdbus/message-serialize/complex 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/invalid/.dirs/runtime 1435s ok 3 /gdbus/message-serialize/invalid 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/.dirs/runtime 1435s ok 4 /gdbus/message-serialize/header-checks 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/double-array/.dirs/runtime 1435s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1435s ok 5 /gdbus/message-serialize/double-array 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/empty-structure/.dirs/runtime 1435s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1435s ok 6 /gdbus/message-serialize/empty-structure 1435s # Start of header-checks tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1435s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1435s ok 7 /gdbus/message-serialize/header-checks/valid 1435s # End of header-checks tests 1435s # End of message-serialize tests 1435s # Start of message-parse tests 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1435s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1435s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/non-signature-header/.dirs/runtime 1435s ok 9 /gdbus/message-parse/non-signature-header 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1435s ok 10 /gdbus/message-parse/empty-signature-header 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1435s ok 11 /gdbus/message-parse/multiple-signature-header 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1435s ok 12 /gdbus/message-parse/over-long-signature-header 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1435s ok 13 /gdbus/message-parse/deep-header-nesting 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1435s ok 14 /gdbus/message-parse/deep-body-nesting 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/truncated/.dirs/runtime 1435s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1435s ok 15 /gdbus/message-parse/truncated 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/empty-structure/.dirs/runtime 1435s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1435s ok 16 /gdbus/message-parse/empty-structure 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/missing-header/.dirs/runtime 1435s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1435s ok 17 /gdbus/message-parse/missing-header 1435s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/home 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/cache 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/config 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/data 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/state 1435s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_BLJ4J2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1435s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1435s ok 18 /gdbus/message-parse/invalid-header-type 1435s # End of message-parse tests 1435s # End of gdbus tests 1435s ok - glib/gdbus-serialization.test 1435s # Running test: glib/converter-stream.test 1435s TAP version 13 1435s # random seed: R02S425001a08927c597c99de17347e3a4a7 1435s 1..17 1435s # Start of converter tests 1435s ok 1 /converter/basics 1435s # End of converter tests 1435s # Start of converter-input-stream tests 1435s ok 2 /converter-input-stream/expander 1435s ok 3 /converter-input-stream/compressor 1435s # Start of truncation tests 1436s ok 4 /converter-input-stream/truncation/zlib 1436s ok 5 /converter-input-stream/truncation/gzip 1436s ok 6 /converter-input-stream/truncation/raw 1436s # End of truncation tests 1436s # Start of charset tests 1436s ok 7 /converter-input-stream/charset/utf8->latin1 1436s ok 8 /converter-input-stream/charset/latin1->utf8 1436s ok 9 /converter-input-stream/charset/fallbacks 1436s # End of charset tests 1436s # End of converter-input-stream tests 1436s # Start of converter-output-stream tests 1436s # Start of roundtrip tests 1436s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1437s ok 10 /converter-output-stream/roundtrip/zlib-0 1437s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1437s ok 11 /converter-output-stream/roundtrip/zlib-9 1437s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1437s ok 12 /converter-output-stream/roundtrip/gzip-0 1437s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1438s ok 13 /converter-output-stream/roundtrip/gzip-9 1438s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1438s # Executing: glib/converter-stream.test 1438s ok 14 /converter-output-stream/roundtrip/raw-0 1438s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1438s ok 15 /converter-output-stream/roundtrip/raw-9 1438s # End of roundtrip tests 1438s # End of converter-output-stream tests 1438s # Start of converter-stream tests 1438s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1438s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbf94ab1b0dc0 and GSocketClientAsyncConnectData 0xbf94ab5a6320 1438s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1438s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1438s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbf94ab1c1540 for GSocketClientAsyncConnectData 0xbf94ab5a6320 1438s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1438s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1438s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1438s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1438s ok 16 /converter-stream/pollable 1438s ok 17 /converter-stream/leftover 1438s # End of converter-stream tests 1438s ok - glib/converter-stream.test 1438s # Running test: glib/notify-init.test 1438s TAP version 13 1438s # random seed: R02Se20c87e3f30c8140ee3f92847ece64aa 1438s 1..1 1438s # Start of properties tests 1438s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1438s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1438s ok 1 /properties/notify-in-init 1438s # End of properties tests 1438s ok - glib/notify-init.test 1438s # Running test: glib/unix-fd.test 1438s TAP version 13 1438s # random seed: R02S236e677493d29efee1831918963eb79d 1438s 1..2 1438s # Start of unix-fd tests 1438s ok 1 /unix-fd/fd-list 1438s ok 2 /unix-fd/scm 1438s # End of unix-fd tests 1438s ok - glib/unix-fd.test 1438s # Running test: glib/actions.test 1438s TAP version 13 1438s # random seed: R02S2b2070ad100e7c05ae6c4879b270af49 1438s 1..12 1438s # Start of actions tests 1438s ok 1 /actions/basic 1438s ok 2 /actions/name 1438s ok 3 /actions/simplegroup 1438s ok 4 /actions/stateful 1438s ok 5 /actions/default-activate 1438s ok 6 /actions/entries 1438s ok 7 /actions/parse-detailed 1438s ok 8 /actions/property 1438s ok 9 /actions/no-properties 1438s # Start of dbus tests 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 10 /actions/dbus/export 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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s ok 11 /actions/dbus/threaded 1443s # slow test /actions/dbus/threaded executed in 4.36 secs 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1443s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1443s # Executing: glib/actions.test 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1443s ok 12 /actions/dbus/bug679509 1443s # End of dbus tests 1443s # End of actions tests 1443s ok - glib/actions.test 1443s # Running test: glib/codegen.py.test 1444s TAP version 13 1444s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1444s # tmpdir: /tmp/tmpgzc3v_20 1444s # codegen: /usr/bin/gdbus-codegen 1444s # /tmp/tmpgzc3v_20/tmpuvd2qgfz.xml: 1444s # 1444s # 1444s # 1444s # 1444s # 1444s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgzc3v_20/tmpuvd2qgfz.xml', '--output', '-', '--header'] 1444s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1444s # Output: /* 1444s # * This file is generated by gdbus-codegen, do not modify it. 1444s # * 1444s # * The license of this code is the same as for the D-Bus interface description 1444s # * it was derived from. Note that it links to GLib, so must comply with the 1444s # * LGPL linking clauses. 1444s # */ 1444s # 1444s # #ifndef __STDOUT__ 1444s # #define __STDOUT__ 1444s # 1444s # #include 1444s # 1444s # G_BEGIN_DECLS 1444s # 1444s # 1444s # /* ------------------------------------------------------------------------ */ 1444s # /* Declarations for org.project.UsefulInterface */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1444s # 1444s # struct _OrgProjectUsefulInterface; 1444s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1444s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1444s # 1444s # struct _OrgProjectUsefulInterfaceIface 1444s # { 1444s # GTypeInterface parent_iface; 1444s # 1444s # gboolean (*handle_useful_method) ( 1444s # OrgProjectUsefulInterface *object, 1444s # GDBusMethodInvocation *invocation); 1444s # 1444s # }; 1444s # 1444s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1444s # 1444s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1444s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1444s # 1444s # 1444s # /* D-Bus method call completion functions: */ 1444s # void org_project_useful_interface_complete_useful_method ( 1444s # OrgProjectUsefulInterface *object, 1444s # GDBusMethodInvocation *invocation); 1444s # 1444s # 1444s # 1444s # /* D-Bus method calls: */ 1444s # void org_project_useful_interface_call_useful_method ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # 1444s # gboolean org_project_useful_interface_call_useful_method_finish ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # 1444s # gboolean org_project_useful_interface_call_useful_method_sync ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # 1444s # 1444s # /* ---- */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1444s # 1444s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1444s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1444s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1444s # 1444s # struct _OrgProjectUsefulInterfaceProxy 1444s # { 1444s # /*< private >*/ 1444s # GDBusProxy parent_instance; 1444s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1444s # }; 1444s # 1444s # struct _OrgProjectUsefulInterfaceProxyClass 1444s # { 1444s # GDBusProxyClass parent_class; 1444s # }; 1444s # 1444s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1444s # 1444s # #if GLIB_CHECK_VERSION(2, 44, 0) 1444s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1444s # #endif 1444s # 1444s # void org_project_useful_interface_proxy_new ( 1444s # GDBusConnection *connection, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1444s # GDBusConnection *connection, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # void org_project_useful_interface_proxy_new_for_bus ( 1444s # GBusType bus_type, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1444s # GBusType bus_type, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # 1444s # /* ---- */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1444s # 1444s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1444s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1444s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1444s # 1444s # struct _OrgProjectUsefulInterfaceSkeleton 1444s # { 1444s # /*< private >*/ 1444s # GDBusInterfaceSkeleton parent_instance; 1444s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1444s # }; 1444s # 1444s # struct _OrgProjectUsefulInterfaceSkeletonClass 1444s # { 1444s # GDBusInterfaceSkeletonClass parent_class; 1444s # }; 1444s # 1444s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1444s # 1444s # #if GLIB_CHECK_VERSION(2, 44, 0) 1444s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1444s # #endif 1444s # 1444s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1444s # 1444s # 1444s # G_END_DECLS 1444s # 1444s # #endif /* __STDOUT__ */ 1444s # /tmp/tmpgzc3v_20/tmp9fpkwryi.xml: 1444s # 1444s # 1444s # 1444s # 1444s # 1444s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgzc3v_20/tmp9fpkwryi.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1444s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1444s # Output: /* 1444s # * This file is generated by gdbus-codegen, do not modify it. 1444s # * 1444s # * The license of this code is the same as for the D-Bus interface description 1444s # * it was derived from. Note that it links to GLib, so must comply with the 1444s # * LGPL linking clauses. 1444s # */ 1444s # 1444s # #ifndef __STDOUT__ 1444s # #define __STDOUT__ 1444s # 1444s # #include 1444s # 1444s # G_BEGIN_DECLS 1444s # 1444s # 1444s # /* ------------------------------------------------------------------------ */ 1444s # /* Declarations for org.project.UsefulInterface */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1444s # 1444s # struct _OrgProjectUsefulInterface; 1444s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1444s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1444s # 1444s # struct _OrgProjectUsefulInterfaceIface 1444s # { 1444s # GTypeInterface parent_iface; 1444s # 1444s # gboolean (*handle_useful_method) ( 1444s # OrgProjectUsefulInterface *object, 1444s # GDBusMethodInvocation *invocation); 1444s # 1444s # }; 1444s # 1444s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1444s # 1444s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1444s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1444s # 1444s # 1444s # /* D-Bus method call completion functions: */ 1444s # void org_project_useful_interface_complete_useful_method ( 1444s # OrgProjectUsefulInterface *object, 1444s # GDBusMethodInvocation *invocation); 1444s # 1444s # 1444s # 1444s # /* D-Bus method calls: */ 1444s # void org_project_useful_interface_call_useful_method ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # 1444s # gboolean org_project_useful_interface_call_useful_method_finish ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # 1444s # gboolean org_project_useful_interface_call_useful_method_sync ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # 1444s # 1444s # /* ---- */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1444s # 1444s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1444s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1444s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1444s # 1444s # struct _OrgProjectUsefulInterfaceProxy 1444s # { 1444s # /*< private >*/ 1444s # GDBusProxy parent_instance; 1444s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1444s # }; 1444s # 1444s # struct _OrgProjectUsefulInterfaceProxyClass 1444s # { 1444s # GDBusProxyClass parent_class; 1444s # }; 1444s # 1444s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1444s # 1444s # #if GLIB_CHECK_VERSION(2, 44, 0) 1444s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1444s # #endif 1444s # 1444s # void org_project_useful_interface_proxy_new ( 1444s # GDBusConnection *connection, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1444s # GDBusConnection *connection, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # void org_project_useful_interface_proxy_new_for_bus ( 1444s # GBusType bus_type, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1444s # GBusType bus_type, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # 1444s # /* ---- */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1444s # 1444s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1444s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1444s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1444s # 1444s # struct _OrgProjectUsefulInterfaceSkeleton 1444s # { 1444s # /*< private >*/ 1444s # GDBusInterfaceSkeleton parent_instance; 1444s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1444s # }; 1444s # 1444s # struct _OrgProjectUsefulInterfaceSkeletonClass 1444s # { 1444s # GDBusInterfaceSkeletonClass parent_class; 1444s # }; 1444s # 1444s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1444s # 1444s # #if GLIB_CHECK_VERSION(2, 44, 0) 1444s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1444s # #endif 1444s # 1444s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1444s # 1444s # 1444s # G_END_DECLS 1444s # 1444s # #endif /* __STDOUT__ */ 1444s # /tmp/tmpgzc3v_20/tmptu86rbem.xml: 1444s # 1444s # 1444s # 1444s # 1444s # 1444s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgzc3v_20/tmptu86rbem.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1444s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1444s # Output: /* 1444s # * This file is generated by gdbus-codegen, do not modify it. 1444s # * 1444s # * The license of this code is the same as for the D-Bus interface description 1444s # * it was derived from. Note that it links to GLib, so must comply with the 1444s # * LGPL linking clauses. 1444s # */ 1444s # 1444s # #ifndef __STDOUT__ 1444s # #define __STDOUT__ 1444s # 1444s # #include 1444s # 1444s # G_BEGIN_DECLS 1444s # 1444s # 1444s # /* ------------------------------------------------------------------------ */ 1444s # /* Declarations for org.project.UsefulInterface */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1444s # 1444s # struct _OrgProjectUsefulInterface; 1444s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1444s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1444s # 1444s # struct _OrgProjectUsefulInterfaceIface 1444s # { 1444s # GTypeInterface parent_iface; 1444s # 1444s # gboolean (*handle_useful_method) ( 1444s # OrgProjectUsefulInterface *object, 1444s # GDBusMethodInvocation *invocation); 1444s # 1444s # }; 1444s # 1444s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1444s # 1444s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1444s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1444s # 1444s # 1444s # /* D-Bus method call completion functions: */ 1444s # void org_project_useful_interface_complete_useful_method ( 1444s # OrgProjectUsefulInterface *object, 1444s # GDBusMethodInvocation *invocation); 1444s # 1444s # 1444s # 1444s # /* D-Bus method calls: */ 1444s # void org_project_useful_interface_call_useful_method ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GDBusCallFlags call_flags, 1444s # gint timeout_msec, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # 1444s # gboolean org_project_useful_interface_call_useful_method_finish ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # 1444s # gboolean org_project_useful_interface_call_useful_method_sync ( 1444s # OrgProjectUsefulInterface *proxy, 1444s # GDBusCallFlags call_flags, 1444s # gint timeout_msec, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # 1444s # 1444s # /* ---- */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1444s # 1444s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1444s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1444s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1444s # 1444s # struct _OrgProjectUsefulInterfaceProxy 1444s # { 1444s # /*< private >*/ 1444s # GDBusProxy parent_instance; 1444s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1444s # }; 1444s # 1444s # struct _OrgProjectUsefulInterfaceProxyClass 1444s # { 1444s # GDBusProxyClass parent_class; 1444s # }; 1444s # 1444s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1444s # 1444s # #if GLIB_CHECK_VERSION(2, 44, 0) 1444s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1444s # #endif 1444s # 1444s # void org_project_useful_interface_proxy_new ( 1444s # GDBusConnection *connection, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1444s # GDBusConnection *connection, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # void org_project_useful_interface_proxy_new_for_bus ( 1444s # GBusType bus_type, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GAsyncReadyCallback callback, 1444s # gpointer user_data); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1444s # GAsyncResult *res, 1444s # GError **error); 1444s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1444s # GBusType bus_type, 1444s # GDBusProxyFlags flags, 1444s # const gchar *name, 1444s # const gchar *object_path, 1444s # GCancellable *cancellable, 1444s # GError **error); 1444s # 1444s # 1444s # /* ---- */ 1444s # 1444s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1444s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1444s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1444s # 1444s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1444s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1444s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1444s # 1444s # struct _OrgProjectUsefulInterfaceSkeleton 1444s # { 1444s # /*< private >*/ 1444s # GDBusInterfaceSkeleton parent_instance; 1444s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1444s # }; 1444s # 1444s # struct _OrgProjectUsefulInterfaceSkeletonClass 1444s # { 1444s # GDBusInterfaceSkeletonClass parent_class; 1444s # }; 1444s # 1444s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1444s # 1444s # #if GLIB_CHECK_VERSION(2, 44, 0) 1444s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1444s # #endif 1444s # 1444s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1444s # 1444s # 1444s # G_END_DECLS 1444s # 1444s # #endif /* __STDOUT__ */ 1446s ok 2 __main__.TestCodegen.test_dbus_types 1447s # tmpdir: /tmp/tmpv9xp_kb4 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmpv9xp_kb4/tmphu8_apoc.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmphu8_apoc.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpsmy_9tnk.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpsmy_9tnk.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpf73vntdt.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpf73vntdt.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpr4bfz464.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpr4bfz464.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpsikjo3ln.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpsikjo3ln.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmp23gesjbu.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmp23gesjbu.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpk6b39te9.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpk6b39te9.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmp_k5m7qfn.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmp_k5m7qfn.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpf_2_u6cx.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpf_2_u6cx.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpkpurw0vq.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpkpurw0vq.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmp5hs0c3qc.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmp5hs0c3qc.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmplsppemxn.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmplsppemxn.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpmoshgpxk.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpmoshgpxk.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # /tmp/tmpv9xp_kb4/tmpt4c1w_kn.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpt4c1w_kn.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifdef HAVE_CONFIG_H 1447s # # include "config.h" 1447s # #endif 1447s # 1447s # #include 1447s # #ifdef G_OS_UNIX 1447s # # include 1447s # #endif 1447s # 1447s # #ifdef G_ENABLE_DEBUG 1447s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1447s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1447s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1447s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1447s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1447s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1447s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1447s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1447s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1447s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1447s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1447s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1447s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1447s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1447s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1447s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1447s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1447s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1447s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1447s # #else /* !G_ENABLE_DEBUG */ 1447s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1447s # * Do not access GValues directly in your code. Instead, use the 1447s # * g_value_get_*() functions 1447s # */ 1447s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1447s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1447s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1447s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1447s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1447s # #endif /* !G_ENABLE_DEBUG */ 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusArgInfo parent_struct; 1447s # gboolean use_gvariant; 1447s # } _ExtendedGDBusArgInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusMethodInfo parent_struct; 1447s # const gchar *signal_name; 1447s # gboolean pass_fdlist; 1447s # } _ExtendedGDBusMethodInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusSignalInfo parent_struct; 1447s # const gchar *signal_name; 1447s # } _ExtendedGDBusSignalInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusPropertyInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # guint use_gvariant : 1; 1447s # guint emits_changed_signal : 1; 1447s # } _ExtendedGDBusPropertyInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusInterfaceInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # } _ExtendedGDBusInterfaceInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # guint prop_id; 1447s # GValue orig_value; /* the value before the change */ 1447s # } ChangedProperty; 1447s # 1447s # static void 1447s # _changed_property_free (ChangedProperty *data) 1447s # { 1447s # g_value_unset (&data->orig_value); 1447s # g_free (data); 1447s # } 1447s # 1447s # static gboolean 1447s # _g_strv_equal0 (gchar **a, gchar **b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # guint n; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # if (g_strv_length (a) != g_strv_length (b)) 1447s # goto out; 1447s # for (n = 0; a[n] != NULL; n++) 1447s # if (g_strcmp0 (a[n], b[n]) != 0) 1447s # goto out; 1447s # ret = TRUE; 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _g_variant_equal0 (GVariant *a, GVariant *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # ret = g_variant_equal (a, b); 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # G_GNUC_UNUSED static gboolean 1447s # _g_value_equal (const GValue *a, const GValue *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1447s # switch (G_VALUE_TYPE (a)) 1447s # { 1447s # case G_TYPE_BOOLEAN: 1447s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1447s # break; 1447s # case G_TYPE_UCHAR: 1447s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1447s # break; 1447s # case G_TYPE_INT: 1447s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1447s # break; 1447s # case G_TYPE_UINT: 1447s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1447s # break; 1447s # case G_TYPE_INT64: 1447s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1447s # break; 1447s # case G_TYPE_UINT64: 1447s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1447s # break; 1447s # case G_TYPE_DOUBLE: 1447s # { 1447s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1447s # gdouble da = g_value_get_double (a); 1447s # gdouble db = g_value_get_double (b); 1447s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1447s # } 1447s # break; 1447s # case G_TYPE_STRING: 1447s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1447s # break; 1447s # case G_TYPE_VARIANT: 1447s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1447s # break; 1447s # default: 1447s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1447s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1447s # else 1447s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1447s # break; 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # /* ------------------------------------------------------------------------ 1447s # * Code for interface GoodTypes 1447s # * ------------------------------------------------------------------------ 1447s # */ 1447s # 1447s # /** 1447s # * SECTION:GoodTypes 1447s # * @title: GoodTypes 1447s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1447s # * 1447s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1447s # */ 1447s # 1447s # /* ---- Introspection data for GoodTypes ---- */ 1447s # 1447s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1447s # { 1447s # { 1447s # -1, 1447s # (gchar *) "GoodPropertyType", 1447s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1447s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1447s # NULL 1447s # }, 1447s # "good-property-type", 1447s # FALSE, 1447s # TRUE 1447s # }; 1447s # 1447s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1447s # { 1447s # &_good_types_property_info_good_property_type.parent_struct, 1447s # NULL 1447s # }; 1447s # 1447s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1447s # { 1447s # { 1447s # -1, 1447s # (gchar *) "GoodTypes", 1447s # NULL, 1447s # NULL, 1447s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1447s # NULL 1447s # }, 1447s # "good-types", 1447s # }; 1447s # 1447s # 1447s # /** 1447s # * good_types_interface_info: 1447s # * 1447s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1447s # * 1447s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1447s # */ 1447s # GDBusInterfaceInfo * 1447s # good_types_interface_info (void) 1447s # { 1447s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1447s # } 1447s # 1447s # /** 1447s # * good_types_override_properties: 1447s # * @klass: The class structure for a #GObject derived class. 1447s # * @property_id_begin: The property id to assign to the first overridden property. 1447s # * 1447s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1447s # * The properties are overridden in the order they are defined. 1447s # * 1447s # * Returns: The last property id. 1447s # */ 1447s # guint 1447s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1447s # { 1447s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1447s # return property_id_begin - 1; 1447s # } 1447s # 1447s # 1447s # 1447s # /** 1447s # * GoodTypes: 1447s # * 1447s # * Abstract interface type for the D-Bus interface GoodTypes. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesIface: 1447s # * @parent_iface: The parent interface. 1447s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1447s # * 1447s # * Virtual table for the D-Bus interface GoodTypes. 1447s # */ 1447s # 1447s # typedef GoodTypesIface GoodTypesInterface; 1447s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1447s # 1447s # static void 1447s # good_types_default_init (GoodTypesIface *iface) 1447s # { 1447s # /* GObject properties for D-Bus properties: */ 1447s # /** 1447s # * GoodTypes:good-property-type: 1447s # * 1447s # * Represents the D-Bus property "GoodPropertyType". 1447s # * 1447s # * 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. 1447s # */ 1447s # g_object_interface_install_property (iface, 1447s # 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)); 1447s # } 1447s # 1447s # /** 1447s # * good_types_get_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * 1447s # * Gets the value of the "GoodPropertyType" D-Bus property. 1447s # * 1447s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1447s # * 1447s # * 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. 1447s # * 1447s # * 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. 1447s # */ 1447s # GVariant * 1447s # good_types_get_good_property_type (GoodTypes *object) 1447s # { 1447s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1447s # 1447s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1447s # } 1447s # 1447s # /** 1447s # * good_types_dup_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * 1447s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1447s # * 1447s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1447s # * 1447s # * 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(). 1447s # */ 1447s # GVariant * 1447s # good_types_dup_good_property_type (GoodTypes *object) 1447s # { 1447s # GVariant *value; 1447s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1447s # return value; 1447s # } 1447s # 1447s # /** 1447s # * good_types_set_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * @value: The value to set. 1447s # * 1447s # * Sets the "GoodPropertyType" D-Bus property to @value. 1447s # * 1447s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1447s # */ 1447s # void 1447s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1447s # { 1447s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1447s # } 1447s # 1447s # /* ------------------------------------------------------------------------ */ 1447s # 1447s # /** 1447s # * GoodTypesProxy: 1447s # * 1447s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesProxyClass: 1447s # * @parent_class: The parent class. 1447s # * 1447s # * Class structure for GoodTypesProxy. 1447s # */ 1447s # 1447s # struct _GoodTypesProxyPrivate 1447s # { 1447s # GData *qdata; 1447s # }; 1447s # 1447s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1447s # G_ADD_PRIVATE (GoodTypesProxy) 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1447s # 1447s # #else 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1447s # 1447s # #endif 1447s # static void 1447s # good_types_proxy_finalize (GObject *object) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1447s # g_datalist_clear (&proxy->priv->qdata); 1447s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_get_property (GObject *object, 1447s # guint prop_id, 1447s # GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *variant; 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1447s # if (info->use_gvariant) 1447s # { 1447s # g_value_set_variant (value, variant); 1447s # } 1447s # else 1447s # { 1447s # if (variant != NULL) 1447s # g_dbus_gvariant_to_gvalue (variant, value); 1447s # } 1447s # if (variant != NULL) 1447s # g_variant_unref (variant); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1447s # GAsyncResult *res, 1447s # gpointer user_data) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info = user_data; 1447s # GError *error; 1447s # GVariant *_ret; 1447s # error = NULL; 1447s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1447s # if (!_ret) 1447s # { 1447s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1447s # info->parent_struct.name, 1447s # error->message, g_quark_to_string (error->domain), error->code); 1447s # g_error_free (error); 1447s # } 1447s # else 1447s # { 1447s # g_variant_unref (_ret); 1447s # } 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_set_property (GObject *object, 1447s # guint prop_id, 1447s # const GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *variant; 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1447s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1447s # "org.freedesktop.DBus.Properties.Set", 1447s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1447s # G_DBUS_CALL_FLAGS_NONE, 1447s # -1, 1447s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1447s # g_variant_unref (variant); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_g_signal (GDBusProxy *proxy, 1447s # const gchar *sender_name G_GNUC_UNUSED, 1447s # const gchar *signal_name, 1447s # GVariant *parameters) 1447s # { 1447s # _ExtendedGDBusSignalInfo *info; 1447s # GVariantIter iter; 1447s # GVariant *child; 1447s # GValue *paramv; 1447s # gsize num_params; 1447s # gsize n; 1447s # guint signal_id; 1447s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1447s # if (info == NULL) 1447s # return; 1447s # num_params = g_variant_n_children (parameters); 1447s # paramv = g_new0 (GValue, num_params + 1); 1447s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1447s # g_value_set_object (¶mv[0], proxy); 1447s # g_variant_iter_init (&iter, parameters); 1447s # n = 1; 1447s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1447s # { 1447s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1447s # if (arg_info->use_gvariant) 1447s # { 1447s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1447s # g_value_set_variant (¶mv[n], child); 1447s # n++; 1447s # } 1447s # else 1447s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1447s # g_variant_unref (child); 1447s # } 1447s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1447s # g_signal_emitv (paramv, signal_id, 0, NULL); 1447s # for (n = 0; n < num_params + 1; n++) 1447s # g_value_unset (¶mv[n]); 1447s # g_free (paramv); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1447s # GVariant *changed_properties, 1447s # const gchar *const *invalidated_properties) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1447s # guint n; 1447s # const gchar *key; 1447s # GVariantIter *iter; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # g_variant_get (changed_properties, "a{sv}", &iter); 1447s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1447s # { 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1447s # g_datalist_remove_data (&proxy->priv->qdata, key); 1447s # if (info != NULL) 1447s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1447s # } 1447s # g_variant_iter_free (iter); 1447s # for (n = 0; invalidated_properties[n] != NULL; n++) 1447s # { 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1447s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1447s # if (info != NULL) 1447s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1447s # } 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_proxy_get_good_property_type (GoodTypes *object) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1447s # GVariant *variant; 1447s # GVariant *value = NULL; 1447s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1447s # value = variant; 1447s # if (variant != NULL) 1447s # g_variant_unref (variant); 1447s # return value; 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_init (GoodTypesProxy *proxy) 1447s # { 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1447s # #else 1447s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1447s # #endif 1447s # 1447s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1447s # { 1447s # GObjectClass *gobject_class; 1447s # GDBusProxyClass *proxy_class; 1447s # 1447s # gobject_class = G_OBJECT_CLASS (klass); 1447s # gobject_class->finalize = good_types_proxy_finalize; 1447s # gobject_class->get_property = good_types_proxy_get_property; 1447s # gobject_class->set_property = good_types_proxy_set_property; 1447s # 1447s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1447s # proxy_class->g_signal = good_types_proxy_g_signal; 1447s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1447s # 1447s # good_types_override_properties (gobject_class, 1); 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1447s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1447s # #endif 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_iface_init (GoodTypesIface *iface) 1447s # { 1447s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new: 1447s # * @connection: A #GDBusConnection. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1447s # * @user_data: User data to pass to @callback. 1447s # * 1447s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1447s # * 1447s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1447s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1447s # * 1447s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1447s # */ 1447s # void 1447s # good_types_proxy_new ( 1447s # GDBusConnection *connection, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GAsyncReadyCallback callback, 1447s # gpointer user_data) 1447s # { 1447s # 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); 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_finish: 1447s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Finishes an operation started with good_types_proxy_new(). 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_finish ( 1447s # GAsyncResult *res, 1447s # GError **error) 1447s # { 1447s # GObject *ret; 1447s # GObject *source_object; 1447s # source_object = g_async_result_get_source_object (res); 1447s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1447s # g_object_unref (source_object); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_sync: 1447s # * @connection: A #GDBusConnection. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1447s # * 1447s # * The calling thread is blocked until a reply is received. 1447s # * 1447s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_sync ( 1447s # GDBusConnection *connection, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GError **error) 1447s # { 1447s # GInitable *ret; 1447s # 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); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus: 1447s # * @bus_type: A #GBusType. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: A bus name (well-known or unique). 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1447s # * @user_data: User data to pass to @callback. 1447s # * 1447s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1447s # * 1447s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1447s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1447s # * 1447s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1447s # */ 1447s # void 1447s # good_types_proxy_new_for_bus ( 1447s # GBusType bus_type, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GAsyncReadyCallback callback, 1447s # gpointer user_data) 1447s # { 1447s # 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); 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus_finish: 1447s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_for_bus_finish ( 1447s # GAsyncResult *res, 1447s # GError **error) 1447s # { 1447s # GObject *ret; 1447s # GObject *source_object; 1447s # source_object = g_async_result_get_source_object (res); 1447s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1447s # g_object_unref (source_object); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus_sync: 1447s # * @bus_type: A #GBusType. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: A bus name (well-known or unique). 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1447s # * 1447s # * The calling thread is blocked until a reply is received. 1447s # * 1447s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_for_bus_sync ( 1447s # GBusType bus_type, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GError **error) 1447s # { 1447s # GInitable *ret; 1447s # 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); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # 1447s # /* ------------------------------------------------------------------------ */ 1447s # 1447s # /** 1447s # * GoodTypesSkeleton: 1447s # * 1447s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesSkeletonClass: 1447s # * @parent_class: The parent class. 1447s # * 1447s # * Class structure for GoodTypesSkeleton. 1447s # */ 1447s # 1447s # struct _GoodTypesSkeletonPrivate 1447s # { 1447s # GValue *properties; 1447s # GList *changed_properties; 1447s # GSource *changed_properties_idle_source; 1447s # GMainContext *context; 1447s # GMutex lock; 1447s # }; 1447s # 1447s # static void 1447s # _good_types_skeleton_handle_method_call ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name, 1447s # const gchar *method_name, 1447s # GVariant *parameters, 1447s # GDBusMethodInvocation *invocation, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # _ExtendedGDBusMethodInfo *info; 1447s # GVariantIter iter; 1447s # GVariant *child; 1447s # GValue *paramv; 1447s # gsize num_params; 1447s # guint num_extra; 1447s # gsize n; 1447s # guint signal_id; 1447s # GValue return_value = G_VALUE_INIT; 1447s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1447s # g_assert (info != NULL); 1447s # num_params = g_variant_n_children (parameters); 1447s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1447s # n = 0; 1447s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1447s # g_value_set_object (¶mv[n++], skeleton); 1447s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1447s # g_value_set_object (¶mv[n++], invocation); 1447s # if (info->pass_fdlist) 1447s # { 1447s # #ifdef G_OS_UNIX 1447s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1447s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1447s # #else 1447s # g_assert_not_reached (); 1447s # #endif 1447s # } 1447s # g_variant_iter_init (&iter, parameters); 1447s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1447s # { 1447s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1447s # if (arg_info->use_gvariant) 1447s # { 1447s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1447s # g_value_set_variant (¶mv[n], child); 1447s # n++; 1447s # } 1447s # else 1447s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1447s # g_variant_unref (child); 1447s # } 1447s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1447s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1447s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1447s # if (!g_value_get_boolean (&return_value)) 1447s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1447s # g_value_unset (&return_value); 1447s # for (n = 0; n < num_params + num_extra; n++) 1447s # g_value_unset (¶mv[n]); 1447s # g_free (paramv); 1447s # } 1447s # 1447s # static GVariant * 1447s # _good_types_skeleton_handle_get_property ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name G_GNUC_UNUSED, 1447s # const gchar *property_name, 1447s # GError **error, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GValue value = G_VALUE_INIT; 1447s # GParamSpec *pspec; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *ret; 1447s # ret = NULL; 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1447s # g_assert (info != NULL); 1447s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1447s # if (pspec == NULL) 1447s # { 1447s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1447s # } 1447s # else 1447s # { 1447s # g_value_init (&value, pspec->value_type); 1447s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1447s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1447s # g_value_unset (&value); 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _good_types_skeleton_handle_set_property ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name G_GNUC_UNUSED, 1447s # const gchar *property_name, 1447s # GVariant *variant, 1447s # GError **error, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GValue value = G_VALUE_INIT; 1447s # GParamSpec *pspec; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # gboolean ret; 1447s # ret = FALSE; 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1447s # g_assert (info != NULL); 1447s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1447s # if (pspec == NULL) 1447s # { 1447s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1447s # } 1447s # else 1447s # { 1447s # if (info->use_gvariant) 1447s # g_value_set_variant (&value, variant); 1447s # else 1447s # g_dbus_gvariant_to_gvalue (variant, &value); 1447s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1447s # g_value_unset (&value); 1447s # ret = TRUE; 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1447s # { 1447s # _good_types_skeleton_handle_method_call, 1447s # _good_types_skeleton_handle_get_property, 1447s # _good_types_skeleton_handle_set_property, 1447s # {NULL} 1447s # }; 1447s # 1447s # static GDBusInterfaceInfo * 1447s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1447s # { 1447s # return good_types_interface_info (); 1447s # } 1447s # 1447s # static GDBusInterfaceVTable * 1447s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1447s # { 1447s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1447s # 1447s # GVariantBuilder builder; 1447s # guint n; 1447s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1447s # if (_good_types_interface_info.parent_struct.properties == NULL) 1447s # goto out; 1447s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1447s # { 1447s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1447s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1447s # { 1447s # GVariant *value; 1447s # 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); 1447s # if (value != NULL) 1447s # { 1447s # g_variant_take_ref (value); 1447s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1447s # g_variant_unref (value); 1447s # } 1447s # } 1447s # } 1447s # out: 1447s # return g_variant_builder_end (&builder); 1447s # } 1447s # 1447s # static gboolean _good_types_emit_changed (gpointer user_data); 1447s # 1447s # static void 1447s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1447s # gboolean emit_changed = FALSE; 1447s # 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # if (skeleton->priv->changed_properties_idle_source != NULL) 1447s # { 1447s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1447s # skeleton->priv->changed_properties_idle_source = NULL; 1447s # emit_changed = TRUE; 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # 1447s # if (emit_changed) 1447s # _good_types_emit_changed (skeleton); 1447s # } 1447s # 1447s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1447s # G_ADD_PRIVATE (GoodTypesSkeleton) 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1447s # 1447s # #else 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1447s # 1447s # #endif 1447s # static void 1447s # good_types_skeleton_finalize (GObject *object) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # guint n; 1447s # for (n = 0; n < 1; n++) 1447s # g_value_unset (&skeleton->priv->properties[n]); 1447s # g_free (skeleton->priv->properties); 1447s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1447s # if (skeleton->priv->changed_properties_idle_source != NULL) 1447s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1447s # g_main_context_unref (skeleton->priv->context); 1447s # g_mutex_clear (&skeleton->priv->lock); 1447s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_get_property (GObject *object, 1447s # guint prop_id, 1447s # GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # } 1447s # 1447s # static gboolean 1447s # _good_types_emit_changed (gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GList *l; 1447s # GVariantBuilder builder; 1447s # GVariantBuilder invalidated_builder; 1447s # guint num_changes; 1447s # 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1447s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1447s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1447s # { 1447s # ChangedProperty *cp = l->data; 1447s # GVariant *variant; 1447s # const GValue *cur_value; 1447s # 1447s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1447s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1447s # { 1447s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1447s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1447s # g_variant_unref (variant); 1447s # num_changes++; 1447s # } 1447s # } 1447s # if (num_changes > 0) 1447s # { 1447s # GList *connections, *ll; 1447s # GVariant *signal_variant; 1447s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1447s # &builder, &invalidated_builder)); 1447s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1447s # for (ll = connections; ll != NULL; ll = ll->next) 1447s # { 1447s # GDBusConnection *connection = ll->data; 1447s # 1447s # g_dbus_connection_emit_signal (connection, 1447s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1447s # "org.freedesktop.DBus.Properties", 1447s # "PropertiesChanged", 1447s # signal_variant, 1447s # NULL); 1447s # } 1447s # g_variant_unref (signal_variant); 1447s # g_list_free_full (connections, g_object_unref); 1447s # } 1447s # else 1447s # { 1447s # g_variant_builder_clear (&builder); 1447s # g_variant_builder_clear (&invalidated_builder); 1447s # } 1447s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1447s # skeleton->priv->changed_properties = NULL; 1447s # skeleton->priv->changed_properties_idle_source = NULL; 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # return FALSE; 1447s # } 1447s # 1447s # static void 1447s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1447s # { 1447s # ChangedProperty *cp; 1447s # GList *l; 1447s # cp = NULL; 1447s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1447s # { 1447s # ChangedProperty *i_cp = l->data; 1447s # if (i_cp->info == info) 1447s # { 1447s # cp = i_cp; 1447s # break; 1447s # } 1447s # } 1447s # if (cp == NULL) 1447s # { 1447s # cp = g_new0 (ChangedProperty, 1); 1447s # cp->prop_id = prop_id; 1447s # cp->info = info; 1447s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1447s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1447s # g_value_copy (orig_value, &cp->orig_value); 1447s # } 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_notify (GObject *object, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # if (skeleton->priv->changed_properties != NULL && 1447s # skeleton->priv->changed_properties_idle_source == NULL) 1447s # { 1447s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1447s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1447s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1447s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1447s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1447s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_set_property (GObject *object, 1447s # guint prop_id, 1447s # const GValue *value, 1447s # GParamSpec *pspec) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_object_freeze_notify (object); 1447s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1447s # { 1447s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1447s # info->emits_changed_signal) 1447s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1447s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1447s # g_object_notify_by_pspec (object, pspec); 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # g_object_thaw_notify (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1447s # { 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1447s # #else 1447s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1447s # #endif 1447s # 1447s # g_mutex_init (&skeleton->priv->lock); 1447s # skeleton->priv->context = g_main_context_ref_thread_default (); 1447s # skeleton->priv->properties = g_new0 (GValue, 1); 1447s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # GVariant *value; 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # return value; 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1447s # { 1447s # GObjectClass *gobject_class; 1447s # GDBusInterfaceSkeletonClass *skeleton_class; 1447s # 1447s # gobject_class = G_OBJECT_CLASS (klass); 1447s # gobject_class->finalize = good_types_skeleton_finalize; 1447s # gobject_class->get_property = good_types_skeleton_get_property; 1447s # gobject_class->set_property = good_types_skeleton_set_property; 1447s # gobject_class->notify = good_types_skeleton_notify; 1447s # 1447s # 1447s # good_types_override_properties (gobject_class, 1); 1447s # 1447s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1447s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1447s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1447s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1447s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1447s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1447s # #endif 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1447s # { 1447s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1447s # } 1447s # 1447s # /** 1447s # * good_types_skeleton_new: 1447s # * 1447s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1447s # */ 1447s # GoodTypes * 1447s # good_types_skeleton_new (void) 1447s # { 1447s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1447s # } 1447s # /tmp/tmpv9xp_kb4/tmpi0fd3rrn.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpi0fd3rrn.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifdef HAVE_CONFIG_H 1447s # # include "config.h" 1447s # #endif 1447s # 1447s # #include 1447s # #ifdef G_OS_UNIX 1447s # # include 1447s # #endif 1447s # 1447s # #ifdef G_ENABLE_DEBUG 1447s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1447s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1447s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1447s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1447s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1447s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1447s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1447s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1447s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1447s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1447s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1447s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1447s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1447s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1447s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1447s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1447s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1447s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1447s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1447s # #else /* !G_ENABLE_DEBUG */ 1447s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1447s # * Do not access GValues directly in your code. Instead, use the 1447s # * g_value_get_*() functions 1447s # */ 1447s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1447s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1447s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1447s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1447s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1447s # #endif /* !G_ENABLE_DEBUG */ 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusArgInfo parent_struct; 1447s # gboolean use_gvariant; 1447s # } _ExtendedGDBusArgInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusMethodInfo parent_struct; 1447s # const gchar *signal_name; 1447s # gboolean pass_fdlist; 1447s # } _ExtendedGDBusMethodInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusSignalInfo parent_struct; 1447s # const gchar *signal_name; 1447s # } _ExtendedGDBusSignalInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusPropertyInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # guint use_gvariant : 1; 1447s # guint emits_changed_signal : 1; 1447s # } _ExtendedGDBusPropertyInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusInterfaceInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # } _ExtendedGDBusInterfaceInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # guint prop_id; 1447s # GValue orig_value; /* the value before the change */ 1447s # } ChangedProperty; 1447s # 1447s # static void 1447s # _changed_property_free (ChangedProperty *data) 1447s # { 1447s # g_value_unset (&data->orig_value); 1447s # g_free (data); 1447s # } 1447s # 1447s # static gboolean 1447s # _g_strv_equal0 (gchar **a, gchar **b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # guint n; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # if (g_strv_length (a) != g_strv_length (b)) 1447s # goto out; 1447s # for (n = 0; a[n] != NULL; n++) 1447s # if (g_strcmp0 (a[n], b[n]) != 0) 1447s # goto out; 1447s # ret = TRUE; 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _g_variant_equal0 (GVariant *a, GVariant *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # ret = g_variant_equal (a, b); 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # G_GNUC_UNUSED static gboolean 1447s # _g_value_equal (const GValue *a, const GValue *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1447s # switch (G_VALUE_TYPE (a)) 1447s # { 1447s # case G_TYPE_BOOLEAN: 1447s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1447s # break; 1447s # case G_TYPE_UCHAR: 1447s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1447s # break; 1447s # case G_TYPE_INT: 1447s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1447s # break; 1447s # case G_TYPE_UINT: 1447s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1447s # break; 1447s # case G_TYPE_INT64: 1447s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1447s # break; 1447s # case G_TYPE_UINT64: 1447s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1447s # break; 1447s # case G_TYPE_DOUBLE: 1447s # { 1447s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1447s # gdouble da = g_value_get_double (a); 1447s # gdouble db = g_value_get_double (b); 1447s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1447s # } 1447s # break; 1447s # case G_TYPE_STRING: 1447s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1447s # break; 1447s # case G_TYPE_VARIANT: 1447s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1447s # break; 1447s # default: 1447s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1447s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1447s # else 1447s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1447s # break; 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # /* ------------------------------------------------------------------------ 1447s # * Code for interface GoodTypes 1447s # * ------------------------------------------------------------------------ 1447s # */ 1447s # 1447s # /** 1447s # * SECTION:GoodTypes 1447s # * @title: GoodTypes 1447s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1447s # * 1447s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1447s # */ 1447s # 1447s # /* ---- Introspection data for GoodTypes ---- */ 1447s # 1447s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1447s # { 1447s # { 1447s # -1, 1447s # (gchar *) "GoodPropertyType", 1447s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1447s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1447s # NULL 1447s # }, 1447s # "good-property-type", 1447s # FALSE, 1447s # TRUE 1447s # }; 1447s # 1447s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1447s # { 1447s # &_good_types_property_info_good_property_type.parent_struct, 1447s # NULL 1447s # }; 1447s # 1447s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1447s # { 1447s # { 1447s # -1, 1447s # (gchar *) "GoodTypes", 1447s # NULL, 1447s # NULL, 1447s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1447s # NULL 1447s # }, 1447s # "good-types", 1447s # }; 1447s # 1447s # 1447s # /** 1447s # * good_types_interface_info: 1447s # * 1447s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1447s # * 1447s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1447s # */ 1447s # GDBusInterfaceInfo * 1447s # good_types_interface_info (void) 1447s # { 1447s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1447s # } 1447s # 1447s # /** 1447s # * good_types_override_properties: 1447s # * @klass: The class structure for a #GObject derived class. 1447s # * @property_id_begin: The property id to assign to the first overridden property. 1447s # * 1447s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1447s # * The properties are overridden in the order they are defined. 1447s # * 1447s # * Returns: The last property id. 1447s # */ 1447s # guint 1447s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1447s # { 1447s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1447s # return property_id_begin - 1; 1447s # } 1447s # 1447s # 1447s # 1447s # /** 1447s # * GoodTypes: 1447s # * 1447s # * Abstract interface type for the D-Bus interface GoodTypes. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesIface: 1447s # * @parent_iface: The parent interface. 1447s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1447s # * 1447s # * Virtual table for the D-Bus interface GoodTypes. 1447s # */ 1447s # 1447s # typedef GoodTypesIface GoodTypesInterface; 1447s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1447s # 1447s # static void 1447s # good_types_default_init (GoodTypesIface *iface) 1447s # { 1447s # /* GObject properties for D-Bus properties: */ 1447s # /** 1447s # * GoodTypes:good-property-type: 1447s # * 1447s # * Represents the D-Bus property "GoodPropertyType". 1447s # * 1447s # * 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. 1447s # */ 1447s # g_object_interface_install_property (iface, 1447s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1447s # } 1447s # 1447s # /** 1447s # * good_types_get_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * 1447s # * Gets the value of the "GoodPropertyType" D-Bus property. 1447s # * 1447s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1447s # * 1447s # * 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. 1447s # * 1447s # * 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. 1447s # */ 1447s # GVariant * 1447s # good_types_get_good_property_type (GoodTypes *object) 1447s # { 1447s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1447s # 1447s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1447s # } 1447s # 1447s # /** 1447s # * good_types_dup_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * 1447s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1447s # * 1447s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1447s # * 1447s # * 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(). 1447s # */ 1447s # GVariant * 1447s # good_types_dup_good_property_type (GoodTypes *object) 1447s # { 1447s # GVariant *value; 1447s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1447s # return value; 1447s # } 1447s # 1447s # /** 1447s # * good_types_set_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * @value: The value to set. 1447s # * 1447s # * Sets the "GoodPropertyType" D-Bus property to @value. 1447s # * 1447s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1447s # */ 1447s # void 1447s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1447s # { 1447s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1447s # } 1447s # 1447s # /* ------------------------------------------------------------------------ */ 1447s # 1447s # /** 1447s # * GoodTypesProxy: 1447s # * 1447s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesProxyClass: 1447s # * @parent_class: The parent class. 1447s # * 1447s # * Class structure for GoodTypesProxy. 1447s # */ 1447s # 1447s # struct _GoodTypesProxyPrivate 1447s # { 1447s # GData *qdata; 1447s # }; 1447s # 1447s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1447s # G_ADD_PRIVATE (GoodTypesProxy) 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1447s # 1447s # #else 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1447s # 1447s # #endif 1447s # static void 1447s # good_types_proxy_finalize (GObject *object) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1447s # g_datalist_clear (&proxy->priv->qdata); 1447s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_get_property (GObject *object, 1447s # guint prop_id, 1447s # GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *variant; 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1447s # if (info->use_gvariant) 1447s # { 1447s # g_value_set_variant (value, variant); 1447s # } 1447s # else 1447s # { 1447s # if (variant != NULL) 1447s # g_dbus_gvariant_to_gvalue (variant, value); 1447s # } 1447s # if (variant != NULL) 1447s # g_variant_unref (variant); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1447s # GAsyncResult *res, 1447s # gpointer user_data) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info = user_data; 1447s # GError *error; 1447s # GVariant *_ret; 1447s # error = NULL; 1447s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1447s # if (!_ret) 1447s # { 1447s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1447s # info->parent_struct.name, 1447s # error->message, g_quark_to_string (error->domain), error->code); 1447s # g_error_free (error); 1447s # } 1447s # else 1447s # { 1447s # g_variant_unref (_ret); 1447s # } 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_set_property (GObject *object, 1447s # guint prop_id, 1447s # const GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *variant; 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1447s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1447s # "org.freedesktop.DBus.Properties.Set", 1447s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1447s # G_DBUS_CALL_FLAGS_NONE, 1447s # -1, 1447s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1447s # g_variant_unref (variant); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_g_signal (GDBusProxy *proxy, 1447s # const gchar *sender_name G_GNUC_UNUSED, 1447s # const gchar *signal_name, 1447s # GVariant *parameters) 1447s # { 1447s # _ExtendedGDBusSignalInfo *info; 1447s # GVariantIter iter; 1447s # GVariant *child; 1447s # GValue *paramv; 1447s # gsize num_params; 1447s # gsize n; 1447s # guint signal_id; 1447s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1447s # if (info == NULL) 1447s # return; 1447s # num_params = g_variant_n_children (parameters); 1447s # paramv = g_new0 (GValue, num_params + 1); 1447s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1447s # g_value_set_object (¶mv[0], proxy); 1447s # g_variant_iter_init (&iter, parameters); 1447s # n = 1; 1447s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1447s # { 1447s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1447s # if (arg_info->use_gvariant) 1447s # { 1447s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1447s # g_value_set_variant (¶mv[n], child); 1447s # n++; 1447s # } 1447s # else 1447s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1447s # g_variant_unref (child); 1447s # } 1447s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1447s # g_signal_emitv (paramv, signal_id, 0, NULL); 1447s # for (n = 0; n < num_params + 1; n++) 1447s # g_value_unset (¶mv[n]); 1447s # g_free (paramv); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1447s # GVariant *changed_properties, 1447s # const gchar *const *invalidated_properties) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1447s # guint n; 1447s # const gchar *key; 1447s # GVariantIter *iter; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # g_variant_get (changed_properties, "a{sv}", &iter); 1447s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1447s # { 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1447s # g_datalist_remove_data (&proxy->priv->qdata, key); 1447s # if (info != NULL) 1447s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1447s # } 1447s # g_variant_iter_free (iter); 1447s # for (n = 0; invalidated_properties[n] != NULL; n++) 1447s # { 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1447s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1447s # if (info != NULL) 1447s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1447s # } 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_proxy_get_good_property_type (GoodTypes *object) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1447s # GVariant *variant; 1447s # GVariant *value = NULL; 1447s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1447s # value = variant; 1447s # if (variant != NULL) 1447s # g_variant_unref (variant); 1447s # return value; 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_init (GoodTypesProxy *proxy) 1447s # { 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1447s # #else 1447s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1447s # #endif 1447s # 1447s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1447s # { 1447s # GObjectClass *gobject_class; 1447s # GDBusProxyClass *proxy_class; 1447s # 1447s # gobject_class = G_OBJECT_CLASS (klass); 1447s # gobject_class->finalize = good_types_proxy_finalize; 1447s # gobject_class->get_property = good_types_proxy_get_property; 1447s # gobject_class->set_property = good_types_proxy_set_property; 1447s # 1447s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1447s # proxy_class->g_signal = good_types_proxy_g_signal; 1447s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1447s # 1447s # good_types_override_properties (gobject_class, 1); 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1447s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1447s # #endif 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_iface_init (GoodTypesIface *iface) 1447s # { 1447s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new: 1447s # * @connection: A #GDBusConnection. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1447s # * @user_data: User data to pass to @callback. 1447s # * 1447s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1447s # * 1447s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1447s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1447s # * 1447s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1447s # */ 1447s # void 1447s # good_types_proxy_new ( 1447s # GDBusConnection *connection, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GAsyncReadyCallback callback, 1447s # gpointer user_data) 1447s # { 1447s # 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); 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_finish: 1447s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Finishes an operation started with good_types_proxy_new(). 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_finish ( 1447s # GAsyncResult *res, 1447s # GError **error) 1447s # { 1447s # GObject *ret; 1447s # GObject *source_object; 1447s # source_object = g_async_result_get_source_object (res); 1447s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1447s # g_object_unref (source_object); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_sync: 1447s # * @connection: A #GDBusConnection. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1447s # * 1447s # * The calling thread is blocked until a reply is received. 1447s # * 1447s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_sync ( 1447s # GDBusConnection *connection, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GError **error) 1447s # { 1447s # GInitable *ret; 1447s # 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); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus: 1447s # * @bus_type: A #GBusType. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: A bus name (well-known or unique). 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1447s # * @user_data: User data to pass to @callback. 1447s # * 1447s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1447s # * 1447s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1447s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1447s # * 1447s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1447s # */ 1447s # void 1447s # good_types_proxy_new_for_bus ( 1447s # GBusType bus_type, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GAsyncReadyCallback callback, 1447s # gpointer user_data) 1447s # { 1447s # 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); 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus_finish: 1447s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_for_bus_finish ( 1447s # GAsyncResult *res, 1447s # GError **error) 1447s # { 1447s # GObject *ret; 1447s # GObject *source_object; 1447s # source_object = g_async_result_get_source_object (res); 1447s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1447s # g_object_unref (source_object); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus_sync: 1447s # * @bus_type: A #GBusType. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: A bus name (well-known or unique). 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1447s # * 1447s # * The calling thread is blocked until a reply is received. 1447s # * 1447s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_for_bus_sync ( 1447s # GBusType bus_type, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GError **error) 1447s # { 1447s # GInitable *ret; 1447s # 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); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # 1447s # /* ------------------------------------------------------------------------ */ 1447s # 1447s # /** 1447s # * GoodTypesSkeleton: 1447s # * 1447s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesSkeletonClass: 1447s # * @parent_class: The parent class. 1447s # * 1447s # * Class structure for GoodTypesSkeleton. 1447s # */ 1447s # 1447s # struct _GoodTypesSkeletonPrivate 1447s # { 1447s # GValue *properties; 1447s # GList *changed_properties; 1447s # GSource *changed_properties_idle_source; 1447s # GMainContext *context; 1447s # GMutex lock; 1447s # }; 1447s # 1447s # static void 1447s # _good_types_skeleton_handle_method_call ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name, 1447s # const gchar *method_name, 1447s # GVariant *parameters, 1447s # GDBusMethodInvocation *invocation, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # _ExtendedGDBusMethodInfo *info; 1447s # GVariantIter iter; 1447s # GVariant *child; 1447s # GValue *paramv; 1447s # gsize num_params; 1447s # guint num_extra; 1447s # gsize n; 1447s # guint signal_id; 1447s # GValue return_value = G_VALUE_INIT; 1447s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1447s # g_assert (info != NULL); 1447s # num_params = g_variant_n_children (parameters); 1447s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1447s # n = 0; 1447s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1447s # g_value_set_object (¶mv[n++], skeleton); 1447s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1447s # g_value_set_object (¶mv[n++], invocation); 1447s # if (info->pass_fdlist) 1447s # { 1447s # #ifdef G_OS_UNIX 1447s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1447s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1447s # #else 1447s # g_assert_not_reached (); 1447s # #endif 1447s # } 1447s # g_variant_iter_init (&iter, parameters); 1447s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1447s # { 1447s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1447s # if (arg_info->use_gvariant) 1447s # { 1447s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1447s # g_value_set_variant (¶mv[n], child); 1447s # n++; 1447s # } 1447s # else 1447s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1447s # g_variant_unref (child); 1447s # } 1447s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1447s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1447s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1447s # if (!g_value_get_boolean (&return_value)) 1447s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1447s # g_value_unset (&return_value); 1447s # for (n = 0; n < num_params + num_extra; n++) 1447s # g_value_unset (¶mv[n]); 1447s # g_free (paramv); 1447s # } 1447s # 1447s # static GVariant * 1447s # _good_types_skeleton_handle_get_property ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name G_GNUC_UNUSED, 1447s # const gchar *property_name, 1447s # GError **error, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GValue value = G_VALUE_INIT; 1447s # GParamSpec *pspec; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *ret; 1447s # ret = NULL; 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1447s # g_assert (info != NULL); 1447s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1447s # if (pspec == NULL) 1447s # { 1447s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1447s # } 1447s # else 1447s # { 1447s # g_value_init (&value, pspec->value_type); 1447s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1447s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1447s # g_value_unset (&value); 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _good_types_skeleton_handle_set_property ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name G_GNUC_UNUSED, 1447s # const gchar *property_name, 1447s # GVariant *variant, 1447s # GError **error, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GValue value = G_VALUE_INIT; 1447s # GParamSpec *pspec; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # gboolean ret; 1447s # ret = FALSE; 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1447s # g_assert (info != NULL); 1447s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1447s # if (pspec == NULL) 1447s # { 1447s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1447s # } 1447s # else 1447s # { 1447s # if (info->use_gvariant) 1447s # g_value_set_variant (&value, variant); 1447s # else 1447s # g_dbus_gvariant_to_gvalue (variant, &value); 1447s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1447s # g_value_unset (&value); 1447s # ret = TRUE; 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1447s # { 1447s # _good_types_skeleton_handle_method_call, 1447s # _good_types_skeleton_handle_get_property, 1447s # _good_types_skeleton_handle_set_property, 1447s # {NULL} 1447s # }; 1447s # 1447s # static GDBusInterfaceInfo * 1447s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1447s # { 1447s # return good_types_interface_info (); 1447s # } 1447s # 1447s # static GDBusInterfaceVTable * 1447s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1447s # { 1447s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1447s # 1447s # GVariantBuilder builder; 1447s # guint n; 1447s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1447s # if (_good_types_interface_info.parent_struct.properties == NULL) 1447s # goto out; 1447s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1447s # { 1447s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1447s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1447s # { 1447s # GVariant *value; 1447s # 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); 1447s # if (value != NULL) 1447s # { 1447s # g_variant_take_ref (value); 1447s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1447s # g_variant_unref (value); 1447s # } 1447s # } 1447s # } 1447s # out: 1447s # return g_variant_builder_end (&builder); 1447s # } 1447s # 1447s # static gboolean _good_types_emit_changed (gpointer user_data); 1447s # 1447s # static void 1447s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1447s # gboolean emit_changed = FALSE; 1447s # 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # if (skeleton->priv->changed_properties_idle_source != NULL) 1447s # { 1447s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1447s # skeleton->priv->changed_properties_idle_source = NULL; 1447s # emit_changed = TRUE; 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # 1447s # if (emit_changed) 1447s # _good_types_emit_changed (skeleton); 1447s # } 1447s # 1447s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1447s # G_ADD_PRIVATE (GoodTypesSkeleton) 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1447s # 1447s # #else 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1447s # 1447s # #endif 1447s # static void 1447s # good_types_skeleton_finalize (GObject *object) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # guint n; 1447s # for (n = 0; n < 1; n++) 1447s # g_value_unset (&skeleton->priv->properties[n]); 1447s # g_free (skeleton->priv->properties); 1447s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1447s # if (skeleton->priv->changed_properties_idle_source != NULL) 1447s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1447s # g_main_context_unref (skeleton->priv->context); 1447s # g_mutex_clear (&skeleton->priv->lock); 1447s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_get_property (GObject *object, 1447s # guint prop_id, 1447s # GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # } 1447s # 1447s # static gboolean 1447s # _good_types_emit_changed (gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GList *l; 1447s # GVariantBuilder builder; 1447s # GVariantBuilder invalidated_builder; 1447s # guint num_changes; 1447s # 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1447s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1447s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1447s # { 1447s # ChangedProperty *cp = l->data; 1447s # GVariant *variant; 1447s # const GValue *cur_value; 1447s # 1447s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1447s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1447s # { 1447s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1447s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1447s # g_variant_unref (variant); 1447s # num_changes++; 1447s # } 1447s # } 1447s # if (num_changes > 0) 1447s # { 1447s # GList *connections, *ll; 1447s # GVariant *signal_variant; 1447s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1447s # &builder, &invalidated_builder)); 1447s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1447s # for (ll = connections; ll != NULL; ll = ll->next) 1447s # { 1447s # GDBusConnection *connection = ll->data; 1447s # 1447s # g_dbus_connection_emit_signal (connection, 1447s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1447s # "org.freedesktop.DBus.Properties", 1447s # "PropertiesChanged", 1447s # signal_variant, 1447s # NULL); 1447s # } 1447s # g_variant_unref (signal_variant); 1447s # g_list_free_full (connections, g_object_unref); 1447s # } 1447s # else 1447s # { 1447s # g_variant_builder_clear (&builder); 1447s # g_variant_builder_clear (&invalidated_builder); 1447s # } 1447s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1447s # skeleton->priv->changed_properties = NULL; 1447s # skeleton->priv->changed_properties_idle_source = NULL; 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # return FALSE; 1447s # } 1447s # 1447s # static void 1447s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1447s # { 1447s # ChangedProperty *cp; 1447s # GList *l; 1447s # cp = NULL; 1447s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1447s # { 1447s # ChangedProperty *i_cp = l->data; 1447s # if (i_cp->info == info) 1447s # { 1447s # cp = i_cp; 1447s # break; 1447s # } 1447s # } 1447s # if (cp == NULL) 1447s # { 1447s # cp = g_new0 (ChangedProperty, 1); 1447s # cp->prop_id = prop_id; 1447s # cp->info = info; 1447s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1447s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1447s # g_value_copy (orig_value, &cp->orig_value); 1447s # } 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_notify (GObject *object, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # if (skeleton->priv->changed_properties != NULL && 1447s # skeleton->priv->changed_properties_idle_source == NULL) 1447s # { 1447s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1447s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1447s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1447s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1447s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1447s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_set_property (GObject *object, 1447s # guint prop_id, 1447s # const GValue *value, 1447s # GParamSpec *pspec) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_object_freeze_notify (object); 1447s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1447s # { 1447s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1447s # info->emits_changed_signal) 1447s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1447s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1447s # g_object_notify_by_pspec (object, pspec); 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # g_object_thaw_notify (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1447s # { 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1447s # #else 1447s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1447s # #endif 1447s # 1447s # g_mutex_init (&skeleton->priv->lock); 1447s # skeleton->priv->context = g_main_context_ref_thread_default (); 1447s # skeleton->priv->properties = g_new0 (GValue, 1); 1447s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # GVariant *value; 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # return value; 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1447s # { 1447s # GObjectClass *gobject_class; 1447s # GDBusInterfaceSkeletonClass *skeleton_class; 1447s # 1447s # gobject_class = G_OBJECT_CLASS (klass); 1447s # gobject_class->finalize = good_types_skeleton_finalize; 1447s # gobject_class->get_property = good_types_skeleton_get_property; 1447s # gobject_class->set_property = good_types_skeleton_set_property; 1447s # gobject_class->notify = good_types_skeleton_notify; 1447s # 1447s # 1447s # good_types_override_properties (gobject_class, 1); 1447s # 1447s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1447s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1447s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1447s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1447s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1447s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1447s # #endif 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1447s # { 1447s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1447s # } 1447s # 1447s # /** 1447s # * good_types_skeleton_new: 1447s # * 1447s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1447s # */ 1447s # GoodTypes * 1447s # good_types_skeleton_new (void) 1447s # { 1447s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1447s # } 1447s # /tmp/tmpv9xp_kb4/tmpil79mhvs.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9xp_kb4/tmpil79mhvs.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifdef HAVE_CONFIG_H 1447s # # include "config.h" 1447s # #endif 1447s # 1447s # #include 1447s # #ifdef G_OS_UNIX 1447s # # include 1447s # #endif 1447s # 1447s # #ifdef G_ENABLE_DEBUG 1447s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1447s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1447s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1447s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1447s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1447s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1447s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1447s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1447s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1447s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1447s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1447s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1447s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1447s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1447s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1447s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1447s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1447s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1447s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1447s # #else /* !G_ENABLE_DEBUG */ 1447s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1447s # * Do not access GValues directly in your code. Instead, use the 1447s # * g_value_get_*() functions 1447s # */ 1447s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1447s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1447s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1447s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1447s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1447s # #endif /* !G_ENABLE_DEBUG */ 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusArgInfo parent_struct; 1447s # gboolean use_gvariant; 1447s # } _ExtendedGDBusArgInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusMethodInfo parent_struct; 1447s # const gchar *signal_name; 1447s # gboolean pass_fdlist; 1447s # } _ExtendedGDBusMethodInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusSignalInfo parent_struct; 1447s # const gchar *signal_name; 1447s # } _ExtendedGDBusSignalInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusPropertyInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # guint use_gvariant : 1; 1447s # guint emits_changed_signal : 1; 1447s # } _ExtendedGDBusPropertyInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusInterfaceInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # } _ExtendedGDBusInterfaceInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # guint prop_id; 1447s # GValue orig_value; /* the value before the change */ 1447s # } ChangedProperty; 1447s # 1447s # static void 1447s # _changed_property_free (ChangedProperty *data) 1447s # { 1447s # g_value_unset (&data->orig_value); 1447s # g_free (data); 1447s # } 1447s # 1447s # static gboolean 1447s # _g_strv_equal0 (gchar **a, gchar **b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # guint n; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # if (g_strv_length (a) != g_strv_length (b)) 1447s # goto out; 1447s # for (n = 0; a[n] != NULL; n++) 1447s # if (g_strcmp0 (a[n], b[n]) != 0) 1447s # goto out; 1447s # ret = TRUE; 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _g_variant_equal0 (GVariant *a, GVariant *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # ret = g_variant_equal (a, b); 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # G_GNUC_UNUSED static gboolean 1447s # _g_value_equal (const GValue *a, const GValue *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1447s # switch (G_VALUE_TYPE (a)) 1447s # { 1447s # case G_TYPE_BOOLEAN: 1447s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1447s # break; 1447s # case G_TYPE_UCHAR: 1447s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1447s # break; 1447s # case G_TYPE_INT: 1447s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1447s # break; 1447s # case G_TYPE_UINT: 1447s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1447s # break; 1447s # case G_TYPE_INT64: 1447s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1447s # break; 1447s # case G_TYPE_UINT64: 1447s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1447s # break; 1447s # case G_TYPE_DOUBLE: 1447s # { 1447s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1447s # gdouble da = g_value_get_double (a); 1447s # gdouble db = g_value_get_double (b); 1447s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1447s # } 1447s # break; 1447s # case G_TYPE_STRING: 1447s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1447s # break; 1447s # case G_TYPE_VARIANT: 1447s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1447s # break; 1447s # default: 1447s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1447s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1447s # else 1447s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1447s # break; 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # /* ------------------------------------------------------------------------ 1447s # * Code for interface GoodTypes 1447s # * ------------------------------------------------------------------------ 1447s # */ 1447s # 1447s # /** 1447s # * SECTION:GoodTypes 1447s # * @title: GoodTypes 1447s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1447s # * 1447s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1447s # */ 1447s # 1447s # /* ---- Introspection data for GoodTypes ---- */ 1447s # 1447s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1447s # { 1447s # { 1447s # -1, 1447s # (gchar *) "GoodPropertyType", 1447s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1447s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1447s # NULL 1447s # }, 1447s # "good-property-type", 1447s # FALSE, 1447s # TRUE 1447s # }; 1447s # 1447s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1447s # { 1447s # &_good_types_property_info_good_property_type.parent_struct, 1447s # NULL 1447s # }; 1447s # 1447s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1447s # { 1447s # { 1447s # -1, 1447s # (gchar *) "GoodTypes", 1447s # NULL, 1447s # NULL, 1447s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1447s # NULL 1447s # }, 1447s # "good-types", 1447s # }; 1447s # 1447s # 1447s # /** 1447s # * good_types_interface_info: 1447s # * 1447s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1447s # * 1447s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1447s # */ 1447s # GDBusInterfaceInfo * 1447s # good_types_interface_info (void) 1447s # { 1447s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1447s # } 1447s # 1447s # /** 1447s # * good_types_override_properties: 1447s # * @klass: The class structure for a #GObject derived class. 1447s # * @property_id_begin: The property id to assign to the first overridden property. 1447s # * 1447s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1447s # * The properties are overridden in the order they are defined. 1447s # * 1447s # * Returns: The last property id. 1447s # */ 1447s # guint 1447s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1447s # { 1447s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1447s # return property_id_begin - 1; 1447s # } 1447s # 1447s # 1447s # 1447s # /** 1447s # * GoodTypes: 1447s # * 1447s # * Abstract interface type for the D-Bus interface GoodTypes. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesIface: 1447s # * @parent_iface: The parent interface. 1447s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1447s # * 1447s # * Virtual table for the D-Bus interface GoodTypes. 1447s # */ 1447s # 1447s # typedef GoodTypesIface GoodTypesInterface; 1447s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1447s # 1447s # static void 1447s # good_types_default_init (GoodTypesIface *iface) 1447s # { 1447s # /* GObject properties for D-Bus properties: */ 1447s # /** 1447s # * GoodTypes:good-property-type: 1447s # * 1447s # * Represents the D-Bus property "GoodPropertyType". 1447s # * 1447s # * 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. 1447s # */ 1447s # g_object_interface_install_property (iface, 1447s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1447s # } 1447s # 1447s # /** 1447s # * good_types_get_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * 1447s # * Gets the value of the "GoodPropertyType" D-Bus property. 1447s # * 1447s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1447s # * 1447s # * 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. 1447s # * 1447s # * 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. 1447s # */ 1447s # GVariant * 1447s # good_types_get_good_property_type (GoodTypes *object) 1447s # { 1447s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1447s # 1447s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1447s # } 1447s # 1447s # /** 1447s # * good_types_dup_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * 1447s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1447s # * 1447s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1447s # * 1447s # * 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(). 1447s # */ 1447s # GVariant * 1447s # good_types_dup_good_property_type (GoodTypes *object) 1447s # { 1447s # GVariant *value; 1447s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1447s # return value; 1447s # } 1447s # 1447s # /** 1447s # * good_types_set_good_property_type: (skip) 1447s # * @object: A GoodTypes. 1447s # * @value: The value to set. 1447s # * 1447s # * Sets the "GoodPropertyType" D-Bus property to @value. 1447s # * 1447s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1447s # */ 1447s # void 1447s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1447s # { 1447s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1447s # } 1447s # 1447s # /* ------------------------------------------------------------------------ */ 1447s # 1447s # /** 1447s # * GoodTypesProxy: 1447s # * 1447s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesProxyClass: 1447s # * @parent_class: The parent class. 1447s # * 1447s # * Class structure for GoodTypesProxy. 1447s # */ 1447s # 1447s # struct _GoodTypesProxyPrivate 1447s # { 1447s # GData *qdata; 1447s # }; 1447s # 1447s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1447s # G_ADD_PRIVATE (GoodTypesProxy) 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1447s # 1447s # #else 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1447s # 1447s # #endif 1447s # static void 1447s # good_types_proxy_finalize (GObject *object) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1447s # g_datalist_clear (&proxy->priv->qdata); 1447s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_get_property (GObject *object, 1447s # guint prop_id, 1447s # GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *variant; 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1447s # if (info->use_gvariant) 1447s # { 1447s # g_value_set_variant (value, variant); 1447s # } 1447s # else 1447s # { 1447s # if (variant != NULL) 1447s # g_dbus_gvariant_to_gvalue (variant, value); 1447s # } 1447s # if (variant != NULL) 1447s # g_variant_unref (variant); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1447s # GAsyncResult *res, 1447s # gpointer user_data) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info = user_data; 1447s # GError *error; 1447s # GVariant *_ret; 1447s # error = NULL; 1447s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1447s # if (!_ret) 1447s # { 1447s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1447s # info->parent_struct.name, 1447s # error->message, g_quark_to_string (error->domain), error->code); 1447s # g_error_free (error); 1447s # } 1447s # else 1447s # { 1447s # g_variant_unref (_ret); 1447s # } 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_set_property (GObject *object, 1447s # guint prop_id, 1447s # const GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *variant; 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1447s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1447s # "org.freedesktop.DBus.Properties.Set", 1447s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1447s # G_DBUS_CALL_FLAGS_NONE, 1447s # -1, 1447s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1447s # g_variant_unref (variant); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_g_signal (GDBusProxy *proxy, 1447s # const gchar *sender_name G_GNUC_UNUSED, 1447s # const gchar *signal_name, 1447s # GVariant *parameters) 1447s # { 1447s # _ExtendedGDBusSignalInfo *info; 1447s # GVariantIter iter; 1447s # GVariant *child; 1447s # GValue *paramv; 1447s # gsize num_params; 1447s # gsize n; 1447s # guint signal_id; 1447s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1447s # if (info == NULL) 1447s # return; 1447s # num_params = g_variant_n_children (parameters); 1447s # paramv = g_new0 (GValue, num_params + 1); 1447s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1447s # g_value_set_object (¶mv[0], proxy); 1447s # g_variant_iter_init (&iter, parameters); 1447s # n = 1; 1447s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1447s # { 1447s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1447s # if (arg_info->use_gvariant) 1447s # { 1447s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1447s # g_value_set_variant (¶mv[n], child); 1447s # n++; 1447s # } 1447s # else 1447s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1447s # g_variant_unref (child); 1447s # } 1447s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1447s # g_signal_emitv (paramv, signal_id, 0, NULL); 1447s # for (n = 0; n < num_params + 1; n++) 1447s # g_value_unset (¶mv[n]); 1447s # g_free (paramv); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1447s # GVariant *changed_properties, 1447s # const gchar *const *invalidated_properties) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1447s # guint n; 1447s # const gchar *key; 1447s # GVariantIter *iter; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # g_variant_get (changed_properties, "a{sv}", &iter); 1447s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1447s # { 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1447s # g_datalist_remove_data (&proxy->priv->qdata, key); 1447s # if (info != NULL) 1447s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1447s # } 1447s # g_variant_iter_free (iter); 1447s # for (n = 0; invalidated_properties[n] != NULL; n++) 1447s # { 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1447s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1447s # if (info != NULL) 1447s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1447s # } 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_proxy_get_good_property_type (GoodTypes *object) 1447s # { 1447s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1447s # GVariant *variant; 1447s # GVariant *value = NULL; 1447s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1447s # value = variant; 1447s # if (variant != NULL) 1447s # g_variant_unref (variant); 1447s # return value; 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_init (GoodTypesProxy *proxy) 1447s # { 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1447s # #else 1447s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1447s # #endif 1447s # 1447s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1447s # { 1447s # GObjectClass *gobject_class; 1447s # GDBusProxyClass *proxy_class; 1447s # 1447s # gobject_class = G_OBJECT_CLASS (klass); 1447s # gobject_class->finalize = good_types_proxy_finalize; 1447s # gobject_class->get_property = good_types_proxy_get_property; 1447s # gobject_class->set_property = good_types_proxy_set_property; 1447s # 1447s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1447s # proxy_class->g_signal = good_types_proxy_g_signal; 1447s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1447s # 1447s # good_types_override_properties (gobject_class, 1); 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1447s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1447s # #endif 1447s # } 1447s # 1447s # static void 1447s # good_types_proxy_iface_init (GoodTypesIface *iface) 1447s # { 1447s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new: 1447s # * @connection: A #GDBusConnection. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1447s # * @user_data: User data to pass to @callback. 1447s # * 1447s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1447s # * 1447s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1447s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1447s # * 1447s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1447s # */ 1447s # void 1447s # good_types_proxy_new ( 1447s # GDBusConnection *connection, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GAsyncReadyCallback callback, 1447s # gpointer user_data) 1447s # { 1447s # 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); 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_finish: 1447s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Finishes an operation started with good_types_proxy_new(). 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_finish ( 1447s # GAsyncResult *res, 1447s # GError **error) 1447s # { 1447s # GObject *ret; 1447s # GObject *source_object; 1447s # source_object = g_async_result_get_source_object (res); 1447s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1447s # g_object_unref (source_object); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_sync: 1447s # * @connection: A #GDBusConnection. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1447s # * 1447s # * The calling thread is blocked until a reply is received. 1447s # * 1447s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_sync ( 1447s # GDBusConnection *connection, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GError **error) 1447s # { 1447s # GInitable *ret; 1447s # 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); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus: 1447s # * @bus_type: A #GBusType. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: A bus name (well-known or unique). 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1447s # * @user_data: User data to pass to @callback. 1447s # * 1447s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1447s # * 1447s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1447s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1447s # * 1447s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1447s # */ 1447s # void 1447s # good_types_proxy_new_for_bus ( 1447s # GBusType bus_type, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GAsyncReadyCallback callback, 1447s # gpointer user_data) 1447s # { 1447s # 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); 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus_finish: 1447s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_for_bus_finish ( 1447s # GAsyncResult *res, 1447s # GError **error) 1447s # { 1447s # GObject *ret; 1447s # GObject *source_object; 1447s # source_object = g_async_result_get_source_object (res); 1447s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1447s # g_object_unref (source_object); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # /** 1447s # * good_types_proxy_new_for_bus_sync: 1447s # * @bus_type: A #GBusType. 1447s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1447s # * @name: A bus name (well-known or unique). 1447s # * @object_path: An object path. 1447s # * @cancellable: (nullable): A #GCancellable or %NULL. 1447s # * @error: Return location for error or %NULL 1447s # * 1447s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1447s # * 1447s # * The calling thread is blocked until a reply is received. 1447s # * 1447s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1447s # */ 1447s # GoodTypes * 1447s # good_types_proxy_new_for_bus_sync ( 1447s # GBusType bus_type, 1447s # GDBusProxyFlags flags, 1447s # const gchar *name, 1447s # const gchar *object_path, 1447s # GCancellable *cancellable, 1447s # GError **error) 1447s # { 1447s # GInitable *ret; 1447s # 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); 1447s # if (ret != NULL) 1447s # return GOOD_TYPES (ret); 1447s # else 1447s # return NULL; 1447s # } 1447s # 1447s # 1447s # /* ------------------------------------------------------------------------ */ 1447s # 1447s # /** 1447s # * GoodTypesSkeleton: 1447s # * 1447s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1447s # */ 1447s # 1447s # /** 1447s # * GoodTypesSkeletonClass: 1447s # * @parent_class: The parent class. 1447s # * 1447s # * Class structure for GoodTypesSkeleton. 1447s # */ 1447s # 1447s # struct _GoodTypesSkeletonPrivate 1447s # { 1447s # GValue *properties; 1447s # GList *changed_properties; 1447s # GSource *changed_properties_idle_source; 1447s # GMainContext *context; 1447s # GMutex lock; 1447s # }; 1447s # 1447s # static void 1447s # _good_types_skeleton_handle_method_call ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name, 1447s # const gchar *method_name, 1447s # GVariant *parameters, 1447s # GDBusMethodInvocation *invocation, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # _ExtendedGDBusMethodInfo *info; 1447s # GVariantIter iter; 1447s # GVariant *child; 1447s # GValue *paramv; 1447s # gsize num_params; 1447s # guint num_extra; 1447s # gsize n; 1447s # guint signal_id; 1447s # GValue return_value = G_VALUE_INIT; 1447s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1447s # g_assert (info != NULL); 1447s # num_params = g_variant_n_children (parameters); 1447s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1447s # n = 0; 1447s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1447s # g_value_set_object (¶mv[n++], skeleton); 1447s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1447s # g_value_set_object (¶mv[n++], invocation); 1447s # if (info->pass_fdlist) 1447s # { 1447s # #ifdef G_OS_UNIX 1447s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1447s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1447s # #else 1447s # g_assert_not_reached (); 1447s # #endif 1447s # } 1447s # g_variant_iter_init (&iter, parameters); 1447s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1447s # { 1447s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1447s # if (arg_info->use_gvariant) 1447s # { 1447s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1447s # g_value_set_variant (¶mv[n], child); 1447s # n++; 1447s # } 1447s # else 1447s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1447s # g_variant_unref (child); 1447s # } 1447s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1447s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1447s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1447s # if (!g_value_get_boolean (&return_value)) 1447s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1447s # g_value_unset (&return_value); 1447s # for (n = 0; n < num_params + num_extra; n++) 1447s # g_value_unset (¶mv[n]); 1447s # g_free (paramv); 1447s # } 1447s # 1447s # static GVariant * 1447s # _good_types_skeleton_handle_get_property ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name G_GNUC_UNUSED, 1447s # const gchar *property_name, 1447s # GError **error, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GValue value = G_VALUE_INIT; 1447s # GParamSpec *pspec; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # GVariant *ret; 1447s # ret = NULL; 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1447s # g_assert (info != NULL); 1447s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1447s # if (pspec == NULL) 1447s # { 1447s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1447s # } 1447s # else 1447s # { 1447s # g_value_init (&value, pspec->value_type); 1447s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1447s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1447s # g_value_unset (&value); 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _good_types_skeleton_handle_set_property ( 1447s # GDBusConnection *connection G_GNUC_UNUSED, 1447s # const gchar *sender G_GNUC_UNUSED, 1447s # const gchar *object_path G_GNUC_UNUSED, 1447s # const gchar *interface_name G_GNUC_UNUSED, 1447s # const gchar *property_name, 1447s # GVariant *variant, 1447s # GError **error, 1447s # gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GValue value = G_VALUE_INIT; 1447s # GParamSpec *pspec; 1447s # _ExtendedGDBusPropertyInfo *info; 1447s # gboolean ret; 1447s # ret = FALSE; 1447s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1447s # g_assert (info != NULL); 1447s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1447s # if (pspec == NULL) 1447s # { 1447s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1447s # } 1447s # else 1447s # { 1447s # if (info->use_gvariant) 1447s # g_value_set_variant (&value, variant); 1447s # else 1447s # g_dbus_gvariant_to_gvalue (variant, &value); 1447s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1447s # g_value_unset (&value); 1447s # ret = TRUE; 1447s # } 1447s # return ret; 1447s # } 1447s # 1447s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1447s # { 1447s # _good_types_skeleton_handle_method_call, 1447s # _good_types_skeleton_handle_get_property, 1447s # _good_types_skeleton_handle_set_property, 1447s # {NULL} 1447s # }; 1447s # 1447s # static GDBusInterfaceInfo * 1447s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1447s # { 1447s # return good_types_interface_info (); 1447s # } 1447s # 1447s # static GDBusInterfaceVTable * 1447s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1447s # { 1447s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1447s # 1447s # GVariantBuilder builder; 1447s # guint n; 1447s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1447s # if (_good_types_interface_info.parent_struct.properties == NULL) 1447s # goto out; 1447s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1447s # { 1447s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1447s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1447s # { 1447s # GVariant *value; 1447s # 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); 1447s # if (value != NULL) 1447s # { 1447s # g_variant_take_ref (value); 1447s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1447s # g_variant_unref (value); 1447s # } 1447s # } 1447s # } 1447s # out: 1447s # return g_variant_builder_end (&builder); 1447s # } 1447s # 1447s # static gboolean _good_types_emit_changed (gpointer user_data); 1447s # 1447s # static void 1447s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1447s # gboolean emit_changed = FALSE; 1447s # 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # if (skeleton->priv->changed_properties_idle_source != NULL) 1447s # { 1447s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1447s # skeleton->priv->changed_properties_idle_source = NULL; 1447s # emit_changed = TRUE; 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # 1447s # if (emit_changed) 1447s # _good_types_emit_changed (skeleton); 1447s # } 1447s # 1447s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1447s # G_ADD_PRIVATE (GoodTypesSkeleton) 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1447s # 1447s # #else 1447s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1447s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1447s # 1447s # #endif 1447s # static void 1447s # good_types_skeleton_finalize (GObject *object) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # guint n; 1447s # for (n = 0; n < 1; n++) 1447s # g_value_unset (&skeleton->priv->properties[n]); 1447s # g_free (skeleton->priv->properties); 1447s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1447s # if (skeleton->priv->changed_properties_idle_source != NULL) 1447s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1447s # g_main_context_unref (skeleton->priv->context); 1447s # g_mutex_clear (&skeleton->priv->lock); 1447s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_get_property (GObject *object, 1447s # guint prop_id, 1447s # GValue *value, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # } 1447s # 1447s # static gboolean 1447s # _good_types_emit_changed (gpointer user_data) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1447s # GList *l; 1447s # GVariantBuilder builder; 1447s # GVariantBuilder invalidated_builder; 1447s # guint num_changes; 1447s # 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1447s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1447s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1447s # { 1447s # ChangedProperty *cp = l->data; 1447s # GVariant *variant; 1447s # const GValue *cur_value; 1447s # 1447s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1447s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1447s # { 1447s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1447s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1447s # g_variant_unref (variant); 1447s # num_changes++; 1447s # } 1447s # } 1447s # if (num_changes > 0) 1447s # { 1447s # GList *connections, *ll; 1447s # GVariant *signal_variant; 1447s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1447s # &builder, &invalidated_builder)); 1447s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1447s # for (ll = connections; ll != NULL; ll = ll->next) 1447s # { 1447s # GDBusConnection *connection = ll->data; 1447s # 1447s # g_dbus_connection_emit_signal (connection, 1447s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1447s # "org.freedesktop.DBus.Properties", 1447s # "PropertiesChanged", 1447s # signal_variant, 1447s # NULL); 1447s # } 1447s # g_variant_unref (signal_variant); 1447s # g_list_free_full (connections, g_object_unref); 1447s # } 1447s # else 1447s # { 1447s # g_variant_builder_clear (&builder); 1447s # g_variant_builder_clear (&invalidated_builder); 1447s # } 1447s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1447s # skeleton->priv->changed_properties = NULL; 1447s # skeleton->priv->changed_properties_idle_source = NULL; 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # return FALSE; 1447s # } 1447s # 1447s # static void 1447s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1447s # { 1447s # ChangedProperty *cp; 1447s # GList *l; 1447s # cp = NULL; 1447s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1447s # { 1447s # ChangedProperty *i_cp = l->data; 1447s # if (i_cp->info == info) 1447s # { 1447s # cp = i_cp; 1447s # break; 1447s # } 1447s # } 1447s # if (cp == NULL) 1447s # { 1447s # cp = g_new0 (ChangedProperty, 1); 1447s # cp->prop_id = prop_id; 1447s # cp->info = info; 1447s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1447s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1447s # g_value_copy (orig_value, &cp->orig_value); 1447s # } 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_notify (GObject *object, 1447s # GParamSpec *pspec G_GNUC_UNUSED) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # if (skeleton->priv->changed_properties != NULL && 1447s # skeleton->priv->changed_properties_idle_source == NULL) 1447s # { 1447s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1447s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1447s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1447s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1447s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1447s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_set_property (GObject *object, 1447s # guint prop_id, 1447s # const GValue *value, 1447s # GParamSpec *pspec) 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1447s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # g_object_freeze_notify (object); 1447s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1447s # { 1447s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1447s # info->emits_changed_signal) 1447s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1447s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1447s # g_object_notify_by_pspec (object, pspec); 1447s # } 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # g_object_thaw_notify (object); 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1447s # { 1447s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1447s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1447s # #else 1447s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1447s # #endif 1447s # 1447s # g_mutex_init (&skeleton->priv->lock); 1447s # skeleton->priv->context = g_main_context_ref_thread_default (); 1447s # skeleton->priv->properties = g_new0 (GValue, 1); 1447s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1447s # } 1447s # 1447s # static GVariant * 1447s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1447s # { 1447s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1447s # GVariant *value; 1447s # g_mutex_lock (&skeleton->priv->lock); 1447s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1447s # g_mutex_unlock (&skeleton->priv->lock); 1447s # return value; 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1447s # { 1447s # GObjectClass *gobject_class; 1447s # GDBusInterfaceSkeletonClass *skeleton_class; 1447s # 1447s # gobject_class = G_OBJECT_CLASS (klass); 1447s # gobject_class->finalize = good_types_skeleton_finalize; 1447s # gobject_class->get_property = good_types_skeleton_get_property; 1447s # gobject_class->set_property = good_types_skeleton_set_property; 1447s # gobject_class->notify = good_types_skeleton_notify; 1447s # 1447s # 1447s # good_types_override_properties (gobject_class, 1); 1447s # 1447s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1447s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1447s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1447s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1447s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1447s # 1447s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1447s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1447s # #endif 1447s # } 1447s # 1447s # static void 1447s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1447s # { 1447s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1447s # } 1447s # 1447s # /** 1447s # * good_types_skeleton_new: 1447s # * 1447s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1447s # * 1447s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1447s # */ 1447s # GoodTypes * 1447s # good_types_skeleton_new (void) 1447s # { 1447s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1447s # } 1447s ok 3 __main__.TestCodegen.test_empty_interface_body 1447s # tmpdir: /tmp/tmp5cr7creu 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmp5cr7creu/tmphq2zxps9.xml: 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5cr7creu/tmphq2zxps9.xml', '--output', '-', '--body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifdef HAVE_CONFIG_H 1447s # # include "config.h" 1447s # #endif 1447s # 1447s # #include 1447s # #ifdef G_OS_UNIX 1447s # # include 1447s # #endif 1447s # 1447s # #ifdef G_ENABLE_DEBUG 1447s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1447s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1447s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1447s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1447s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1447s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1447s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1447s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1447s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1447s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1447s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1447s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1447s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1447s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1447s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1447s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1447s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1447s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1447s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1447s # #else /* !G_ENABLE_DEBUG */ 1447s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1447s # * Do not access GValues directly in your code. Instead, use the 1447s # * g_value_get_*() functions 1447s # */ 1447s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1447s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1447s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1447s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1447s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1447s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1447s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1447s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1447s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1447s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1447s # #endif /* !G_ENABLE_DEBUG */ 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusArgInfo parent_struct; 1447s # gboolean use_gvariant; 1447s # } _ExtendedGDBusArgInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusMethodInfo parent_struct; 1447s # const gchar *signal_name; 1447s # gboolean pass_fdlist; 1447s # } _ExtendedGDBusMethodInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusSignalInfo parent_struct; 1447s # const gchar *signal_name; 1447s # } _ExtendedGDBusSignalInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusPropertyInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # guint use_gvariant : 1; 1447s # guint emits_changed_signal : 1; 1447s # } _ExtendedGDBusPropertyInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # GDBusInterfaceInfo parent_struct; 1447s # const gchar *hyphen_name; 1447s # } _ExtendedGDBusInterfaceInfo; 1447s # 1447s # typedef struct 1447s # { 1447s # const _ExtendedGDBusPropertyInfo *info; 1447s # guint prop_id; 1447s # GValue orig_value; /* the value before the change */ 1447s # } ChangedProperty; 1447s # 1447s # static void 1447s # _changed_property_free (ChangedProperty *data) 1447s # { 1447s # g_value_unset (&data->orig_value); 1447s # g_free (data); 1447s # } 1447s # 1447s # static gboolean 1447s # _g_strv_equal0 (gchar **a, gchar **b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # guint n; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # if (g_strv_length (a) != g_strv_length (b)) 1447s # goto out; 1447s # for (n = 0; a[n] != NULL; n++) 1447s # if (g_strcmp0 (a[n], b[n]) != 0) 1447s # goto out; 1447s # ret = TRUE; 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # static gboolean 1447s # _g_variant_equal0 (GVariant *a, GVariant *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # if (a == NULL && b == NULL) 1447s # { 1447s # ret = TRUE; 1447s # goto out; 1447s # } 1447s # if (a == NULL || b == NULL) 1447s # goto out; 1447s # ret = g_variant_equal (a, b); 1447s # out: 1447s # return ret; 1447s # } 1447s # 1447s # G_GNUC_UNUSED static gboolean 1447s # _g_value_equal (const GValue *a, const GValue *b) 1447s # { 1447s # gboolean ret = FALSE; 1447s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1447s # switch (G_VALUE_TYPE (a)) 1447s # { 1447s # case G_TYPE_BOOLEAN: 1447s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1447s # break; 1447s # case G_TYPE_UCHAR: 1447s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1447s # break; 1447s # case G_TYPE_INT: 1447s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1447s # break; 1447s # case G_TYPE_UINT: 1447s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1447s # break; 1447s # case G_TYPE_INT64: 1447s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1447s # break; 1447s # case G_TYPE_UINT64: 1447s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1447s # break; 1447s # case G_TYPE_DOUBLE: 1447s # { 1447s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1447s # gdouble da = g_value_get_double (a); 1447s # gdouble db = g_value_get_double (b); 1447s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1447s # } 1447s # break; 1447s # case G_TYPE_STRING: 1447s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1447s # break; 1447s # case G_TYPE_VARIANT: 1447s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1447s # break; 1447s # default: 1447s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1447s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1447s # else 1447s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1447s # break; 1447s # } 1447s # return ret; 1447s # } 1447s ok 4 __main__.TestCodegen.test_empty_interface_header 1447s # tmpdir: /tmp/tmpmlf9u7jz 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmpmlf9u7jz/tmppidfr8es.xml: 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmlf9u7jz/tmppidfr8es.xml', '--output', '-', '--header'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifndef __STDOUT__ 1447s # #define __STDOUT__ 1447s # 1447s # #include 1447s # 1447s # G_BEGIN_DECLS 1447s # 1447s # 1447s # G_END_DECLS 1447s # 1447s # #endif /* __STDOUT__ */ 1447s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1447s # tmpdir: /tmp/tmp94nsx157 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmp94nsx157/tmpp4n7f31b.xml: 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp94nsx157/tmpp4n7f31b.xml', '--output', '-', '--interface-info-body'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifdef HAVE_CONFIG_H 1447s # # include "config.h" 1447s # #endif 1447s # 1447s # #include 1447s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1447s # tmpdir: /tmp/tmp8hcw6rad 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmp8hcw6rad/tmpa_xzr8s9.xml: 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8hcw6rad/tmpa_xzr8s9.xml', '--output', '-', '--interface-info-header'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: /* 1447s # * This file is generated by gdbus-codegen, do not modify it. 1447s # * 1447s # * The license of this code is the same as for the D-Bus interface description 1447s # * it was derived from. Note that it links to GLib, so must comply with the 1447s # * LGPL linking clauses. 1447s # */ 1447s # 1447s # #ifndef __STDOUT__ 1447s # #define __STDOUT__ 1447s # 1447s # #include 1447s # 1447s # G_BEGIN_DECLS 1447s # 1447s # 1447s # G_END_DECLS 1447s # 1447s # #endif /* __STDOUT__ */ 1447s ok 7 __main__.TestCodegen.test_generate_docbook 1447s # tmpdir: /tmp/tmpa3coau2u 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmpa3coau2u/tmpt5w83yno.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa3coau2u/tmpt5w83yno.xml', '--generate-docbook', 'test'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: 1447s ok 8 __main__.TestCodegen.test_generate_md 1447s # tmpdir: /tmp/tmpvoei5fkg 1447s # codegen: /usr/bin/gdbus-codegen 1447s # /tmp/tmpvoei5fkg/tmpgsvl7j2l.xml: 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # 1447s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvoei5fkg/tmpgsvl7j2l.xml', '--generate-md', 'test'] 1447s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1447s # Output: 1448s # Executing: glib/codegen.py.test 1448s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1448s # tmpdir: /tmp/tmpmmr_fjai 1448s # codegen: /usr/bin/gdbus-codegen 1448s # /tmp/tmpmmr_fjai/tmp2k3bxl9l.xml: 1448s # 1448s # 1448s # 1448s # 1448s # 1448s # 1448s # 1448s # 1448s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmmr_fjai/tmp2k3bxl9l.xml', '--output', '-', '--body'] 1448s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1448s # Output: /* 1448s # * This file is generated by gdbus-codegen, do not modify it. 1448s # * 1448s # * The license of this code is the same as for the D-Bus interface description 1448s # * it was derived from. Note that it links to GLib, so must comply with the 1448s # * LGPL linking clauses. 1448s # */ 1448s # 1448s # #ifdef HAVE_CONFIG_H 1448s # # include "config.h" 1448s # #endif 1448s # 1448s # #include 1448s # #ifdef G_OS_UNIX 1448s # # include 1448s # #endif 1448s # 1448s # #ifdef G_ENABLE_DEBUG 1448s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1448s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1448s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1448s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1448s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1448s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1448s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1448s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1448s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1448s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1448s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1448s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1448s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1448s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1448s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1448s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1448s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1448s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1448s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1448s # #else /* !G_ENABLE_DEBUG */ 1448s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1448s # * Do not access GValues directly in your code. Instead, use the 1448s # * g_value_get_*() functions 1448s # */ 1448s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1448s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1448s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1448s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1448s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1448s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1448s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1448s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1448s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1448s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1448s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1448s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1448s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1448s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1448s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1448s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1448s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1448s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1448s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1448s # #endif /* !G_ENABLE_DEBUG */ 1448s # 1448s # typedef struct 1448s # { 1448s # GDBusArgInfo parent_struct; 1448s # gboolean use_gvariant; 1448s # } _ExtendedGDBusArgInfo; 1448s # 1448s # typedef struct 1448s # { 1448s # GDBusMethodInfo parent_struct; 1448s # const gchar *signal_name; 1448s # gboolean pass_fdlist; 1448s # } _ExtendedGDBusMethodInfo; 1448s # 1448s # typedef struct 1448s # { 1448s # GDBusSignalInfo parent_struct; 1448s # const gchar *signal_name; 1448s # } _ExtendedGDBusSignalInfo; 1448s # 1448s # typedef struct 1448s # { 1448s # GDBusPropertyInfo parent_struct; 1448s # const gchar *hyphen_name; 1448s # guint use_gvariant : 1; 1448s # guint emits_changed_signal : 1; 1448s # } _ExtendedGDBusPropertyInfo; 1448s # 1448s # typedef struct 1448s # { 1448s # GDBusInterfaceInfo parent_struct; 1448s # const gchar *hyphen_name; 1448s # } _ExtendedGDBusInterfaceInfo; 1448s # 1448s # typedef struct 1448s # { 1448s # const _ExtendedGDBusPropertyInfo *info; 1448s # guint prop_id; 1448s # GValue orig_value; /* the value before the change */ 1448s # } ChangedProperty; 1448s # 1448s # static void 1448s # _changed_property_free (ChangedProperty *data) 1448s # { 1448s # g_value_unset (&data->orig_value); 1448s # g_free (data); 1448s # } 1448s # 1448s # static gboolean 1448s # _g_strv_equal0 (gchar **a, gchar **b) 1448s # { 1448s # gboolean ret = FALSE; 1448s # guint n; 1448s # if (a == NULL && b == NULL) 1448s # { 1448s # ret = TRUE; 1448s # goto out; 1448s # } 1448s # if (a == NULL || b == NULL) 1448s # goto out; 1448s # if (g_strv_length (a) != g_strv_length (b)) 1448s # goto out; 1448s # for (n = 0; a[n] != NULL; n++) 1448s # if (g_strcmp0 (a[n], b[n]) != 0) 1448s # goto out; 1448s # ret = TRUE; 1448s # out: 1448s # return ret; 1448s # } 1448s # 1448s # static gboolean 1448s # _g_variant_equal0 (GVariant *a, GVariant *b) 1448s # { 1448s # gboolean ret = FALSE; 1448s # if (a == NULL && b == NULL) 1448s # { 1448s # ret = TRUE; 1448s # goto out; 1448s # } 1448s # if (a == NULL || b == NULL) 1448s # goto out; 1448s # ret = g_variant_equal (a, b); 1448s # out: 1448s # return ret; 1448s # } 1448s # 1448s # G_GNUC_UNUSED static gboolean 1448s # _g_value_equal (const GValue *a, const GValue *b) 1448s # { 1448s # gboolean ret = FALSE; 1448s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1448s # switch (G_VALUE_TYPE (a)) 1448s # { 1448s # case G_TYPE_BOOLEAN: 1448s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1448s # break; 1448s # case G_TYPE_UCHAR: 1448s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1448s # break; 1448s # case G_TYPE_INT: 1448s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1448s # break; 1448s # case G_TYPE_UINT: 1448s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1448s # break; 1448s # case G_TYPE_INT64: 1448s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1448s # break; 1448s # case G_TYPE_UINT64: 1448s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1448s # break; 1448s # case G_TYPE_DOUBLE: 1448s # { 1448s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1448s # gdouble da = g_value_get_double (a); 1448s # gdouble db = g_value_get_double (b); 1448s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1448s # } 1448s # break; 1448s # case G_TYPE_STRING: 1448s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1448s # break; 1448s # case G_TYPE_VARIANT: 1448s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1448s # break; 1448s # default: 1448s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1448s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1448s # else 1448s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1448s # break; 1448s # } 1448s # return ret; 1448s # } 1448s # 1448s # static void 1448s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1448s # GClosure *closure, 1448s # GValue *return_value, 1448s # unsigned int n_param_values, 1448s # const GValue *param_values, 1448s # void *invocation_hint G_GNUC_UNUSED, 1448s # void *marshal_data) 1448s # { 1448s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1448s # (void *data1, 1448s # GDBusMethodInvocation *arg_method_invocation, 1448s # void *data2); 1448s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1448s # GCClosure *cc = (GCClosure*) closure; 1448s # void *data1, *data2; 1448s # gboolean v_return; 1448s # 1448s # g_return_if_fail (return_value != NULL); 1448s # g_return_if_fail (n_param_values == 2); 1448s # 1448s # if (G_CCLOSURE_SWAP_DATA (closure)) 1448s # { 1448s # data1 = closure->data; 1448s # data2 = g_value_peek_pointer (param_values + 0); 1448s # } 1448s # else 1448s # { 1448s # data1 = g_value_peek_pointer (param_values + 0); 1448s # data2 = closure->data; 1448s # } 1448s # 1448s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1448s # (marshal_data ? marshal_data : cc->callback); 1448s # 1448s # v_return = 1448s # callback (data1, 1448s # g_marshal_value_peek_object (param_values + 1), 1448s # data2); 1448s # 1448s # g_value_set_boolean (return_value, v_return); 1448s # } 1448s # 1448s # /* ------------------------------------------------------------------------ 1448s # * Code for interface org.project.CallableIface 1448s # * ------------------------------------------------------------------------ 1448s # */ 1448s # 1448s # /** 1448s # * SECTION:OrgProjectCallableIface 1448s # * @title: OrgProjectCallableIface 1448s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1448s # * 1448s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1448s # */ 1448s # 1448s # /* ---- Introspection data for org.project.CallableIface ---- */ 1448s # 1448s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1448s # { 1448s # { 1448s # -1, 1448s # (gchar *) "SimpleMethod", 1448s # NULL, 1448s # NULL, 1448s # NULL 1448s # }, 1448s # "handle-simple-method", 1448s # FALSE 1448s # }; 1448s # 1448s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1448s # { 1448s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1448s # NULL 1448s # }; 1448s # 1448s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1448s # { 1448s # { 1448s # -1, 1448s # (gchar *) "org.project.CallableIface", 1448s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1448s # NULL, 1448s # NULL, 1448s # NULL 1448s # }, 1448s # "org-project-callable-iface", 1448s # }; 1448s # 1448s # 1448s # /** 1448s # * org_project_callable_iface_interface_info: 1448s # * 1448s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1448s # * 1448s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1448s # */ 1448s # GDBusInterfaceInfo * 1448s # org_project_callable_iface_interface_info (void) 1448s # { 1448s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_override_properties: 1448s # * @klass: The class structure for a #GObject derived class. 1448s # * @property_id_begin: The property id to assign to the first overridden property. 1448s # * 1448s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1448s # * The properties are overridden in the order they are defined. 1448s # * 1448s # * Returns: The last property id. 1448s # */ 1448s # guint 1448s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1448s # { 1448s # return property_id_begin - 1; 1448s # } 1448s # 1448s # 1448s # inline static void 1448s # org_project_callable_iface_method_marshal_simple_method ( 1448s # GClosure *closure, 1448s # GValue *return_value, 1448s # unsigned int n_param_values, 1448s # const GValue *param_values, 1448s # void *invocation_hint, 1448s # void *marshal_data) 1448s # { 1448s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1448s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1448s # } 1448s # 1448s # 1448s # /** 1448s # * OrgProjectCallableIface: 1448s # * 1448s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1448s # */ 1448s # 1448s # /** 1448s # * OrgProjectCallableIfaceIface: 1448s # * @parent_iface: The parent interface. 1448s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1448s # * 1448s # * Virtual table for the D-Bus interface org.project.CallableIface. 1448s # */ 1448s # 1448s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1448s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1448s # 1448s # static void 1448s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1448s # { 1448s # /* GObject signals for incoming D-Bus method calls: */ 1448s # /** 1448s # * OrgProjectCallableIface::handle-simple-method: 1448s # * @object: A #OrgProjectCallableIface. 1448s # * @invocation: A #GDBusMethodInvocation. 1448s # * 1448s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1448s # * 1448s # * 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. 1448s # * 1448s # * 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. 1448s # */ 1448s # g_signal_new ("handle-simple-method", 1448s # G_TYPE_FROM_INTERFACE (iface), 1448s # G_SIGNAL_RUN_LAST, 1448s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1448s # g_signal_accumulator_true_handled, 1448s # NULL, 1448s # org_project_callable_iface_method_marshal_simple_method, 1448s # G_TYPE_BOOLEAN, 1448s # 1, 1448s # G_TYPE_DBUS_METHOD_INVOCATION); 1448s # 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_call_simple_method: 1448s # * @proxy: A #OrgProjectCallableIfaceProxy. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1448s # * @user_data: User data to pass to @callback. 1448s # * 1448s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1448s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1448s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1448s # * 1448s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1448s # */ 1448s # void 1448s # org_project_callable_iface_call_simple_method ( 1448s # OrgProjectCallableIface *proxy, 1448s # GCancellable *cancellable, 1448s # GAsyncReadyCallback callback, 1448s # gpointer user_data) 1448s # { 1448s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1448s # "SimpleMethod", 1448s # g_variant_new ("()"), 1448s # G_DBUS_CALL_FLAGS_NONE, 1448s # -1, 1448s # cancellable, 1448s # callback, 1448s # user_data); 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_call_simple_method_finish: 1448s # * @proxy: A #OrgProjectCallableIfaceProxy. 1448s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1448s # * @error: Return location for error or %NULL. 1448s # * 1448s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1448s # * 1448s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1448s # */ 1448s # gboolean 1448s # org_project_callable_iface_call_simple_method_finish ( 1448s # OrgProjectCallableIface *proxy, 1448s # GAsyncResult *res, 1448s # GError **error) 1448s # { 1448s # GVariant *_ret; 1448s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1448s # if (_ret == NULL) 1448s # goto _out; 1448s # g_variant_get (_ret, 1448s # "()"); 1448s # g_variant_unref (_ret); 1448s # _out: 1448s # return _ret != NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_call_simple_method_sync: 1448s # * @proxy: A #OrgProjectCallableIfaceProxy. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @error: Return location for error or %NULL. 1448s # * 1448s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1448s # * 1448s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1448s # * 1448s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1448s # */ 1448s # gboolean 1448s # org_project_callable_iface_call_simple_method_sync ( 1448s # OrgProjectCallableIface *proxy, 1448s # GCancellable *cancellable, 1448s # GError **error) 1448s # { 1448s # GVariant *_ret; 1448s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1448s # "SimpleMethod", 1448s # g_variant_new ("()"), 1448s # G_DBUS_CALL_FLAGS_NONE, 1448s # -1, 1448s # cancellable, 1448s # error); 1448s # if (_ret == NULL) 1448s # goto _out; 1448s # g_variant_get (_ret, 1448s # "()"); 1448s # g_variant_unref (_ret); 1448s # _out: 1448s # return _ret != NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_complete_simple_method: 1448s # * @object: A #OrgProjectCallableIface. 1448s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1448s # * 1448s # * 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. 1448s # * 1448s # * This method will free @invocation, you cannot use it afterwards. 1448s # */ 1448s # void 1448s # org_project_callable_iface_complete_simple_method ( 1448s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1448s # GDBusMethodInvocation *invocation) 1448s # { 1448s # g_dbus_method_invocation_return_value (invocation, 1448s # g_variant_new ("()")); 1448s # } 1448s # 1448s # /* ------------------------------------------------------------------------ */ 1448s # 1448s # /** 1448s # * OrgProjectCallableIfaceProxy: 1448s # * 1448s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1448s # */ 1448s # 1448s # /** 1448s # * OrgProjectCallableIfaceProxyClass: 1448s # * @parent_class: The parent class. 1448s # * 1448s # * Class structure for #OrgProjectCallableIfaceProxy. 1448s # */ 1448s # 1448s # struct _OrgProjectCallableIfaceProxyPrivate 1448s # { 1448s # GData *qdata; 1448s # }; 1448s # 1448s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1448s # 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1448s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1448s # 1448s # #else 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1448s # 1448s # #endif 1448s # static void 1448s # org_project_callable_iface_proxy_finalize (GObject *object) 1448s # { 1448s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1448s # g_datalist_clear (&proxy->priv->qdata); 1448s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1448s # guint prop_id G_GNUC_UNUSED, 1448s # GValue *value G_GNUC_UNUSED, 1448s # GParamSpec *pspec G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1448s # guint prop_id G_GNUC_UNUSED, 1448s # const GValue *value G_GNUC_UNUSED, 1448s # GParamSpec *pspec G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1448s # const gchar *sender_name G_GNUC_UNUSED, 1448s # const gchar *signal_name, 1448s # GVariant *parameters) 1448s # { 1448s # _ExtendedGDBusSignalInfo *info; 1448s # GVariantIter iter; 1448s # GVariant *child; 1448s # GValue *paramv; 1448s # gsize num_params; 1448s # gsize n; 1448s # guint signal_id; 1448s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1448s # if (info == NULL) 1448s # return; 1448s # num_params = g_variant_n_children (parameters); 1448s # paramv = g_new0 (GValue, num_params + 1); 1448s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1448s # g_value_set_object (¶mv[0], proxy); 1448s # g_variant_iter_init (&iter, parameters); 1448s # n = 1; 1448s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1448s # { 1448s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1448s # if (arg_info->use_gvariant) 1448s # { 1448s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1448s # g_value_set_variant (¶mv[n], child); 1448s # n++; 1448s # } 1448s # else 1448s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1448s # g_variant_unref (child); 1448s # } 1448s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1448s # g_signal_emitv (paramv, signal_id, 0, NULL); 1448s # for (n = 0; n < num_params + 1; n++) 1448s # g_value_unset (¶mv[n]); 1448s # g_free (paramv); 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1448s # GVariant *changed_properties, 1448s # const gchar *const *invalidated_properties) 1448s # { 1448s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1448s # guint n; 1448s # const gchar *key; 1448s # GVariantIter *iter; 1448s # _ExtendedGDBusPropertyInfo *info; 1448s # g_variant_get (changed_properties, "a{sv}", &iter); 1448s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1448s # { 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1448s # g_datalist_remove_data (&proxy->priv->qdata, key); 1448s # if (info != NULL) 1448s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1448s # } 1448s # g_variant_iter_free (iter); 1448s # for (n = 0; invalidated_properties[n] != NULL; n++) 1448s # { 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1448s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1448s # if (info != NULL) 1448s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1448s # } 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1448s # { 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1448s # #else 1448s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1448s # #endif 1448s # 1448s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1448s # { 1448s # GObjectClass *gobject_class; 1448s # GDBusProxyClass *proxy_class; 1448s # 1448s # gobject_class = G_OBJECT_CLASS (klass); 1448s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1448s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1448s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1448s # 1448s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1448s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1448s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1448s # 1448s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1448s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1448s # #endif 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_proxy_new: 1448s # * @connection: A #GDBusConnection. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1448s # * @user_data: User data to pass to @callback. 1448s # * 1448s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1448s # * 1448s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1448s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1448s # * 1448s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1448s # */ 1448s # void 1448s # org_project_callable_iface_proxy_new ( 1448s # GDBusConnection *connection, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GAsyncReadyCallback callback, 1448s # gpointer user_data) 1448s # { 1448s # 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); 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_proxy_new_finish: 1448s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectCallableIface * 1448s # org_project_callable_iface_proxy_new_finish ( 1448s # GAsyncResult *res, 1448s # GError **error) 1448s # { 1448s # GObject *ret; 1448s # GObject *source_object; 1448s # source_object = g_async_result_get_source_object (res); 1448s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1448s # g_object_unref (source_object); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_proxy_new_sync: 1448s # * @connection: A #GDBusConnection. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1448s # * 1448s # * The calling thread is blocked until a reply is received. 1448s # * 1448s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectCallableIface * 1448s # org_project_callable_iface_proxy_new_sync ( 1448s # GDBusConnection *connection, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GError **error) 1448s # { 1448s # GInitable *ret; 1448s # 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); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # 1448s # /** 1448s # * org_project_callable_iface_proxy_new_for_bus: 1448s # * @bus_type: A #GBusType. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: A bus name (well-known or unique). 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1448s # * @user_data: User data to pass to @callback. 1448s # * 1448s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1448s # * 1448s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1448s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1448s # * 1448s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1448s # */ 1448s # void 1448s # org_project_callable_iface_proxy_new_for_bus ( 1448s # GBusType bus_type, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GAsyncReadyCallback callback, 1448s # gpointer user_data) 1448s # { 1448s # 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); 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_proxy_new_for_bus_finish: 1448s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectCallableIface * 1448s # org_project_callable_iface_proxy_new_for_bus_finish ( 1448s # GAsyncResult *res, 1448s # GError **error) 1448s # { 1448s # GObject *ret; 1448s # GObject *source_object; 1448s # source_object = g_async_result_get_source_object (res); 1448s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1448s # g_object_unref (source_object); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_proxy_new_for_bus_sync: 1448s # * @bus_type: A #GBusType. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: A bus name (well-known or unique). 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1448s # * 1448s # * The calling thread is blocked until a reply is received. 1448s # * 1448s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectCallableIface * 1448s # org_project_callable_iface_proxy_new_for_bus_sync ( 1448s # GBusType bus_type, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GError **error) 1448s # { 1448s # GInitable *ret; 1448s # 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); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # 1448s # /* ------------------------------------------------------------------------ */ 1448s # 1448s # /** 1448s # * OrgProjectCallableIfaceSkeleton: 1448s # * 1448s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1448s # */ 1448s # 1448s # /** 1448s # * OrgProjectCallableIfaceSkeletonClass: 1448s # * @parent_class: The parent class. 1448s # * 1448s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1448s # */ 1448s # 1448s # struct _OrgProjectCallableIfaceSkeletonPrivate 1448s # { 1448s # GValue *properties; 1448s # GList *changed_properties; 1448s # GSource *changed_properties_idle_source; 1448s # GMainContext *context; 1448s # GMutex lock; 1448s # }; 1448s # 1448s # static void 1448s # _org_project_callable_iface_skeleton_handle_method_call ( 1448s # GDBusConnection *connection G_GNUC_UNUSED, 1448s # const gchar *sender G_GNUC_UNUSED, 1448s # const gchar *object_path G_GNUC_UNUSED, 1448s # const gchar *interface_name, 1448s # const gchar *method_name, 1448s # GVariant *parameters, 1448s # GDBusMethodInvocation *invocation, 1448s # gpointer user_data) 1448s # { 1448s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1448s # _ExtendedGDBusMethodInfo *info; 1448s # GVariantIter iter; 1448s # GVariant *child; 1448s # GValue *paramv; 1448s # gsize num_params; 1448s # guint num_extra; 1448s # gsize n; 1448s # guint signal_id; 1448s # GValue return_value = G_VALUE_INIT; 1448s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1448s # g_assert (info != NULL); 1448s # num_params = g_variant_n_children (parameters); 1448s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1448s # n = 0; 1448s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1448s # g_value_set_object (¶mv[n++], skeleton); 1448s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1448s # g_value_set_object (¶mv[n++], invocation); 1448s # if (info->pass_fdlist) 1448s # { 1448s # #ifdef G_OS_UNIX 1448s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1448s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1448s # #else 1448s # g_assert_not_reached (); 1448s # #endif 1448s # } 1448s # g_variant_iter_init (&iter, parameters); 1448s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1448s # { 1448s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1448s # if (arg_info->use_gvariant) 1448s # { 1448s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1448s # g_value_set_variant (¶mv[n], child); 1448s # n++; 1448s # } 1448s # else 1448s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1448s # g_variant_unref (child); 1448s # } 1448s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1448s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1448s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1448s # if (!g_value_get_boolean (&return_value)) 1448s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1448s # g_value_unset (&return_value); 1448s # for (n = 0; n < num_params + num_extra; n++) 1448s # g_value_unset (¶mv[n]); 1448s # g_free (paramv); 1448s # } 1448s # 1448s # static GVariant * 1448s # _org_project_callable_iface_skeleton_handle_get_property ( 1448s # GDBusConnection *connection G_GNUC_UNUSED, 1448s # const gchar *sender G_GNUC_UNUSED, 1448s # const gchar *object_path G_GNUC_UNUSED, 1448s # const gchar *interface_name G_GNUC_UNUSED, 1448s # const gchar *property_name, 1448s # GError **error, 1448s # gpointer user_data) 1448s # { 1448s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1448s # GValue value = G_VALUE_INIT; 1448s # GParamSpec *pspec; 1448s # _ExtendedGDBusPropertyInfo *info; 1448s # GVariant *ret; 1448s # ret = NULL; 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1448s # g_assert (info != NULL); 1448s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1448s # if (pspec == NULL) 1448s # { 1448s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1448s # } 1448s # else 1448s # { 1448s # g_value_init (&value, pspec->value_type); 1448s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1448s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1448s # g_value_unset (&value); 1448s # } 1448s # return ret; 1448s # } 1448s # 1448s # static gboolean 1448s # _org_project_callable_iface_skeleton_handle_set_property ( 1448s # GDBusConnection *connection G_GNUC_UNUSED, 1448s # const gchar *sender G_GNUC_UNUSED, 1448s # const gchar *object_path G_GNUC_UNUSED, 1448s # const gchar *interface_name G_GNUC_UNUSED, 1448s # const gchar *property_name, 1448s # GVariant *variant, 1448s # GError **error, 1448s # gpointer user_data) 1448s # { 1448s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1448s # GValue value = G_VALUE_INIT; 1448s # GParamSpec *pspec; 1448s # _ExtendedGDBusPropertyInfo *info; 1448s # gboolean ret; 1448s # ret = FALSE; 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1448s # g_assert (info != NULL); 1448s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1448s # if (pspec == NULL) 1448s # { 1448s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1448s # } 1448s # else 1448s # { 1448s # if (info->use_gvariant) 1448s # g_value_set_variant (&value, variant); 1448s # else 1448s # g_dbus_gvariant_to_gvalue (variant, &value); 1448s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1448s # g_value_unset (&value); 1448s # ret = TRUE; 1448s # } 1448s # return ret; 1448s # } 1448s # 1448s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1448s # { 1448s # _org_project_callable_iface_skeleton_handle_method_call, 1448s # _org_project_callable_iface_skeleton_handle_get_property, 1448s # _org_project_callable_iface_skeleton_handle_set_property, 1448s # {NULL} 1448s # }; 1448s # 1448s # static GDBusInterfaceInfo * 1448s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1448s # { 1448s # return org_project_callable_iface_interface_info (); 1448s # } 1448s # 1448s # static GDBusInterfaceVTable * 1448s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1448s # { 1448s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1448s # } 1448s # 1448s # static GVariant * 1448s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1448s # { 1448s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1448s # 1448s # GVariantBuilder builder; 1448s # guint n; 1448s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1448s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1448s # goto out; 1448s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1448s # { 1448s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1448s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1448s # { 1448s # GVariant *value; 1448s # 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); 1448s # if (value != NULL) 1448s # { 1448s # g_variant_take_ref (value); 1448s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1448s # g_variant_unref (value); 1448s # } 1448s # } 1448s # } 1448s # out: 1448s # return g_variant_builder_end (&builder); 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1448s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1448s # 1448s # #else 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1448s # 1448s # #endif 1448s # static void 1448s # org_project_callable_iface_skeleton_finalize (GObject *object) 1448s # { 1448s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1448s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1448s # if (skeleton->priv->changed_properties_idle_source != NULL) 1448s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1448s # g_main_context_unref (skeleton->priv->context); 1448s # g_mutex_clear (&skeleton->priv->lock); 1448s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1448s # { 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1448s # #else 1448s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1448s # #endif 1448s # 1448s # g_mutex_init (&skeleton->priv->lock); 1448s # skeleton->priv->context = g_main_context_ref_thread_default (); 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1448s # { 1448s # GObjectClass *gobject_class; 1448s # GDBusInterfaceSkeletonClass *skeleton_class; 1448s # 1448s # gobject_class = G_OBJECT_CLASS (klass); 1448s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1448s # 1448s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1448s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1448s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1448s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1448s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1448s # 1448s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1448s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1448s # #endif 1448s # } 1448s # 1448s # static void 1448s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # /** 1448s # * org_project_callable_iface_skeleton_new: 1448s # * 1448s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1448s # */ 1448s # OrgProjectCallableIface * 1448s # org_project_callable_iface_skeleton_new (void) 1448s # { 1448s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1448s # } 1448s # 1448s # /* ------------------------------------------------------------------------ 1448s # * Code for interface org.project.OtherCallableIface 1448s # * ------------------------------------------------------------------------ 1448s # */ 1448s # 1448s # /** 1448s # * SECTION:OrgProjectOtherCallableIface 1448s # * @title: OrgProjectOtherCallableIface 1448s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1448s # * 1448s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1448s # */ 1448s # 1448s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1448s # 1448s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1448s # { 1448s # { 1448s # -1, 1448s # (gchar *) "SimpleMethod", 1448s # NULL, 1448s # NULL, 1448s # NULL 1448s # }, 1448s # "handle-simple-method", 1448s # FALSE 1448s # }; 1448s # 1448s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1448s # { 1448s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1448s # NULL 1448s # }; 1448s # 1448s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1448s # { 1448s # { 1448s # -1, 1448s # (gchar *) "org.project.OtherCallableIface", 1448s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1448s # NULL, 1448s # NULL, 1448s # NULL 1448s # }, 1448s # "org-project-other-callable-iface", 1448s # }; 1448s # 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_interface_info: 1448s # * 1448s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1448s # * 1448s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1448s # */ 1448s # GDBusInterfaceInfo * 1448s # org_project_other_callable_iface_interface_info (void) 1448s # { 1448s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_override_properties: 1448s # * @klass: The class structure for a #GObject derived class. 1448s # * @property_id_begin: The property id to assign to the first overridden property. 1448s # * 1448s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1448s # * The properties are overridden in the order they are defined. 1448s # * 1448s # * Returns: The last property id. 1448s # */ 1448s # guint 1448s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1448s # { 1448s # return property_id_begin - 1; 1448s # } 1448s # 1448s # 1448s # inline static void 1448s # org_project_other_callable_iface_method_marshal_simple_method ( 1448s # GClosure *closure, 1448s # GValue *return_value, 1448s # unsigned int n_param_values, 1448s # const GValue *param_values, 1448s # void *invocation_hint, 1448s # void *marshal_data) 1448s # { 1448s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1448s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1448s # } 1448s # 1448s # 1448s # /** 1448s # * OrgProjectOtherCallableIface: 1448s # * 1448s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1448s # */ 1448s # 1448s # /** 1448s # * OrgProjectOtherCallableIfaceIface: 1448s # * @parent_iface: The parent interface. 1448s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1448s # * 1448s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1448s # */ 1448s # 1448s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1448s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1448s # 1448s # static void 1448s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1448s # { 1448s # /* GObject signals for incoming D-Bus method calls: */ 1448s # /** 1448s # * OrgProjectOtherCallableIface::handle-simple-method: 1448s # * @object: A #OrgProjectOtherCallableIface. 1448s # * @invocation: A #GDBusMethodInvocation. 1448s # * 1448s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1448s # * 1448s # * 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. 1448s # * 1448s # * 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. 1448s # */ 1448s # g_signal_new ("handle-simple-method", 1448s # G_TYPE_FROM_INTERFACE (iface), 1448s # G_SIGNAL_RUN_LAST, 1448s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1448s # g_signal_accumulator_true_handled, 1448s # NULL, 1448s # org_project_other_callable_iface_method_marshal_simple_method, 1448s # G_TYPE_BOOLEAN, 1448s # 1, 1448s # G_TYPE_DBUS_METHOD_INVOCATION); 1448s # 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_call_simple_method: 1448s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1448s # * @user_data: User data to pass to @callback. 1448s # * 1448s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1448s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1448s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1448s # * 1448s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1448s # */ 1448s # void 1448s # org_project_other_callable_iface_call_simple_method ( 1448s # OrgProjectOtherCallableIface *proxy, 1448s # GCancellable *cancellable, 1448s # GAsyncReadyCallback callback, 1448s # gpointer user_data) 1448s # { 1448s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1448s # "SimpleMethod", 1448s # g_variant_new ("()"), 1448s # G_DBUS_CALL_FLAGS_NONE, 1448s # -1, 1448s # cancellable, 1448s # callback, 1448s # user_data); 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_call_simple_method_finish: 1448s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1448s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1448s # * @error: Return location for error or %NULL. 1448s # * 1448s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1448s # * 1448s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1448s # */ 1448s # gboolean 1448s # org_project_other_callable_iface_call_simple_method_finish ( 1448s # OrgProjectOtherCallableIface *proxy, 1448s # GAsyncResult *res, 1448s # GError **error) 1448s # { 1448s # GVariant *_ret; 1448s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1448s # if (_ret == NULL) 1448s # goto _out; 1448s # g_variant_get (_ret, 1448s # "()"); 1448s # g_variant_unref (_ret); 1448s # _out: 1448s # return _ret != NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_call_simple_method_sync: 1448s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @error: Return location for error or %NULL. 1448s # * 1448s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1448s # * 1448s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1448s # * 1448s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1448s # */ 1448s # gboolean 1448s # org_project_other_callable_iface_call_simple_method_sync ( 1448s # OrgProjectOtherCallableIface *proxy, 1448s # GCancellable *cancellable, 1448s # GError **error) 1448s # { 1448s # GVariant *_ret; 1448s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1448s # "SimpleMethod", 1448s # g_variant_new ("()"), 1448s # G_DBUS_CALL_FLAGS_NONE, 1448s # -1, 1448s # cancellable, 1448s # error); 1448s # if (_ret == NULL) 1448s # goto _out; 1448s # g_variant_get (_ret, 1448s # "()"); 1448s # g_variant_unref (_ret); 1448s # _out: 1448s # return _ret != NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_complete_simple_method: 1448s # * @object: A #OrgProjectOtherCallableIface. 1448s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1448s # * 1448s # * 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. 1448s # * 1448s # * This method will free @invocation, you cannot use it afterwards. 1448s # */ 1448s # void 1448s # org_project_other_callable_iface_complete_simple_method ( 1448s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1448s # GDBusMethodInvocation *invocation) 1448s # { 1448s # g_dbus_method_invocation_return_value (invocation, 1448s # g_variant_new ("()")); 1448s # } 1448s # 1448s # /* ------------------------------------------------------------------------ */ 1448s # 1448s # /** 1448s # * OrgProjectOtherCallableIfaceProxy: 1448s # * 1448s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1448s # */ 1448s # 1448s # /** 1448s # * OrgProjectOtherCallableIfaceProxyClass: 1448s # * @parent_class: The parent class. 1448s # * 1448s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1448s # */ 1448s # 1448s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1448s # { 1448s # GData *qdata; 1448s # }; 1448s # 1448s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1448s # 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1448s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1448s # 1448s # #else 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1448s # 1448s # #endif 1448s # static void 1448s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1448s # { 1448s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1448s # g_datalist_clear (&proxy->priv->qdata); 1448s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1448s # guint prop_id G_GNUC_UNUSED, 1448s # GValue *value G_GNUC_UNUSED, 1448s # GParamSpec *pspec G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1448s # guint prop_id G_GNUC_UNUSED, 1448s # const GValue *value G_GNUC_UNUSED, 1448s # GParamSpec *pspec G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1448s # const gchar *sender_name G_GNUC_UNUSED, 1448s # const gchar *signal_name, 1448s # GVariant *parameters) 1448s # { 1448s # _ExtendedGDBusSignalInfo *info; 1448s # GVariantIter iter; 1448s # GVariant *child; 1448s # GValue *paramv; 1448s # gsize num_params; 1448s # gsize n; 1448s # guint signal_id; 1448s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1448s # if (info == NULL) 1448s # return; 1448s # num_params = g_variant_n_children (parameters); 1448s # paramv = g_new0 (GValue, num_params + 1); 1448s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1448s # g_value_set_object (¶mv[0], proxy); 1448s # g_variant_iter_init (&iter, parameters); 1448s # n = 1; 1448s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1448s # { 1448s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1448s # if (arg_info->use_gvariant) 1448s # { 1448s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1448s # g_value_set_variant (¶mv[n], child); 1448s # n++; 1448s # } 1448s # else 1448s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1448s # g_variant_unref (child); 1448s # } 1448s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1448s # g_signal_emitv (paramv, signal_id, 0, NULL); 1448s # for (n = 0; n < num_params + 1; n++) 1448s # g_value_unset (¶mv[n]); 1448s # g_free (paramv); 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1448s # GVariant *changed_properties, 1448s # const gchar *const *invalidated_properties) 1448s # { 1448s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1448s # guint n; 1448s # const gchar *key; 1448s # GVariantIter *iter; 1448s # _ExtendedGDBusPropertyInfo *info; 1448s # g_variant_get (changed_properties, "a{sv}", &iter); 1448s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1448s # { 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1448s # g_datalist_remove_data (&proxy->priv->qdata, key); 1448s # if (info != NULL) 1448s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1448s # } 1448s # g_variant_iter_free (iter); 1448s # for (n = 0; invalidated_properties[n] != NULL; n++) 1448s # { 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1448s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1448s # if (info != NULL) 1448s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1448s # } 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1448s # { 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1448s # #else 1448s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1448s # #endif 1448s # 1448s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1448s # { 1448s # GObjectClass *gobject_class; 1448s # GDBusProxyClass *proxy_class; 1448s # 1448s # gobject_class = G_OBJECT_CLASS (klass); 1448s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1448s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1448s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1448s # 1448s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1448s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1448s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1448s # 1448s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1448s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1448s # #endif 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_proxy_new: 1448s # * @connection: A #GDBusConnection. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1448s # * @user_data: User data to pass to @callback. 1448s # * 1448s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1448s # * 1448s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1448s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1448s # * 1448s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1448s # */ 1448s # void 1448s # org_project_other_callable_iface_proxy_new ( 1448s # GDBusConnection *connection, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GAsyncReadyCallback callback, 1448s # gpointer user_data) 1448s # { 1448s # 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); 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_proxy_new_finish: 1448s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectOtherCallableIface * 1448s # org_project_other_callable_iface_proxy_new_finish ( 1448s # GAsyncResult *res, 1448s # GError **error) 1448s # { 1448s # GObject *ret; 1448s # GObject *source_object; 1448s # source_object = g_async_result_get_source_object (res); 1448s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1448s # g_object_unref (source_object); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_proxy_new_sync: 1448s # * @connection: A #GDBusConnection. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1448s # * 1448s # * The calling thread is blocked until a reply is received. 1448s # * 1448s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectOtherCallableIface * 1448s # org_project_other_callable_iface_proxy_new_sync ( 1448s # GDBusConnection *connection, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GError **error) 1448s # { 1448s # GInitable *ret; 1448s # 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); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_proxy_new_for_bus: 1448s # * @bus_type: A #GBusType. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: A bus name (well-known or unique). 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1448s # * @user_data: User data to pass to @callback. 1448s # * 1448s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1448s # * 1448s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1448s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1448s # * 1448s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1448s # */ 1448s # void 1448s # org_project_other_callable_iface_proxy_new_for_bus ( 1448s # GBusType bus_type, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GAsyncReadyCallback callback, 1448s # gpointer user_data) 1448s # { 1448s # 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); 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1448s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectOtherCallableIface * 1448s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1448s # GAsyncResult *res, 1448s # GError **error) 1448s # { 1448s # GObject *ret; 1448s # GObject *source_object; 1448s # source_object = g_async_result_get_source_object (res); 1448s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1448s # g_object_unref (source_object); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1448s # * @bus_type: A #GBusType. 1448s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1448s # * @name: A bus name (well-known or unique). 1448s # * @object_path: An object path. 1448s # * @cancellable: (nullable): A #GCancellable or %NULL. 1448s # * @error: Return location for error or %NULL 1448s # * 1448s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1448s # * 1448s # * The calling thread is blocked until a reply is received. 1448s # * 1448s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1448s # */ 1448s # OrgProjectOtherCallableIface * 1448s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1448s # GBusType bus_type, 1448s # GDBusProxyFlags flags, 1448s # const gchar *name, 1448s # const gchar *object_path, 1448s # GCancellable *cancellable, 1448s # GError **error) 1448s # { 1448s # GInitable *ret; 1448s # 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); 1448s # if (ret != NULL) 1448s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1448s # else 1448s # return NULL; 1448s # } 1448s # 1448s # 1448s # /* ------------------------------------------------------------------------ */ 1448s # 1448s # /** 1448s # * OrgProjectOtherCallableIfaceSkeleton: 1448s # * 1448s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1448s # */ 1448s # 1448s # /** 1448s # * OrgProjectOtherCallableIfaceSkeletonClass: 1448s # * @parent_class: The parent class. 1448s # * 1448s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1448s # */ 1448s # 1448s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1448s # { 1448s # GValue *properties; 1448s # GList *changed_properties; 1448s # GSource *changed_properties_idle_source; 1448s # GMainContext *context; 1448s # GMutex lock; 1448s # }; 1448s # 1448s # static void 1448s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1448s # GDBusConnection *connection G_GNUC_UNUSED, 1448s # const gchar *sender G_GNUC_UNUSED, 1448s # const gchar *object_path G_GNUC_UNUSED, 1448s # const gchar *interface_name, 1448s # const gchar *method_name, 1448s # GVariant *parameters, 1448s # GDBusMethodInvocation *invocation, 1448s # gpointer user_data) 1448s # { 1448s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1448s # _ExtendedGDBusMethodInfo *info; 1448s # GVariantIter iter; 1448s # GVariant *child; 1448s # GValue *paramv; 1448s # gsize num_params; 1448s # guint num_extra; 1448s # gsize n; 1448s # guint signal_id; 1448s # GValue return_value = G_VALUE_INIT; 1448s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1448s # g_assert (info != NULL); 1448s # num_params = g_variant_n_children (parameters); 1448s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1448s # n = 0; 1448s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1448s # g_value_set_object (¶mv[n++], skeleton); 1448s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1448s # g_value_set_object (¶mv[n++], invocation); 1448s # if (info->pass_fdlist) 1448s # { 1448s # #ifdef G_OS_UNIX 1448s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1448s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1448s # #else 1448s # g_assert_not_reached (); 1448s # #endif 1448s # } 1448s # g_variant_iter_init (&iter, parameters); 1448s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1448s # { 1448s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1448s # if (arg_info->use_gvariant) 1448s # { 1448s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1448s # g_value_set_variant (¶mv[n], child); 1448s # n++; 1448s # } 1448s # else 1448s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1448s # g_variant_unref (child); 1448s # } 1448s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1448s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1448s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1448s # if (!g_value_get_boolean (&return_value)) 1448s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1448s # g_value_unset (&return_value); 1448s # for (n = 0; n < num_params + num_extra; n++) 1448s # g_value_unset (¶mv[n]); 1448s # g_free (paramv); 1448s # } 1448s # 1448s # static GVariant * 1448s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1448s # GDBusConnection *connection G_GNUC_UNUSED, 1448s # const gchar *sender G_GNUC_UNUSED, 1448s # const gchar *object_path G_GNUC_UNUSED, 1448s # const gchar *interface_name G_GNUC_UNUSED, 1448s # const gchar *property_name, 1448s # GError **error, 1448s # gpointer user_data) 1448s # { 1448s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1448s # GValue value = G_VALUE_INIT; 1448s # GParamSpec *pspec; 1448s # _ExtendedGDBusPropertyInfo *info; 1448s # GVariant *ret; 1448s # ret = NULL; 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1448s # g_assert (info != NULL); 1448s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1448s # if (pspec == NULL) 1448s # { 1448s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1448s # } 1448s # else 1448s # { 1448s # g_value_init (&value, pspec->value_type); 1448s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1448s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1448s # g_value_unset (&value); 1448s # } 1448s # return ret; 1448s # } 1448s # 1448s # static gboolean 1448s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1448s # GDBusConnection *connection G_GNUC_UNUSED, 1448s # const gchar *sender G_GNUC_UNUSED, 1448s # const gchar *object_path G_GNUC_UNUSED, 1448s # const gchar *interface_name G_GNUC_UNUSED, 1448s # const gchar *property_name, 1448s # GVariant *variant, 1448s # GError **error, 1448s # gpointer user_data) 1448s # { 1448s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1448s # GValue value = G_VALUE_INIT; 1448s # GParamSpec *pspec; 1448s # _ExtendedGDBusPropertyInfo *info; 1448s # gboolean ret; 1448s # ret = FALSE; 1448s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1448s # g_assert (info != NULL); 1448s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1448s # if (pspec == NULL) 1448s # { 1448s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1448s # } 1448s # else 1448s # { 1448s # if (info->use_gvariant) 1448s # g_value_set_variant (&value, variant); 1448s # else 1448s # g_dbus_gvariant_to_gvalue (variant, &value); 1448s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1448s # g_value_unset (&value); 1448s # ret = TRUE; 1448s # } 1448s # return ret; 1448s # } 1448s # 1448s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1448s # { 1448s # _org_project_other_callable_iface_skeleton_handle_method_call, 1448s # _org_project_other_callable_iface_skeleton_handle_get_property, 1448s # _org_project_other_callable_iface_skeleton_handle_set_property, 1448s # {NULL} 1448s # }; 1448s # 1448s # static GDBusInterfaceInfo * 1448s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1448s # { 1448s # return org_project_other_callable_iface_interface_info (); 1448s # } 1448s # 1448s # static GDBusInterfaceVTable * 1448s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1448s # { 1448s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1448s # } 1448s # 1448s # static GVariant * 1448s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1448s # { 1448s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1448s # 1448s # GVariantBuilder builder; 1448s # guint n; 1448s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1448s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1448s # goto out; 1448s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1448s # { 1448s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1448s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1448s # { 1448s # GVariant *value; 1448s # 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); 1448s # if (value != NULL) 1448s # { 1448s # g_variant_take_ref (value); 1448s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1448s # g_variant_unref (value); 1448s # } 1448s # } 1448s # } 1448s # out: 1448s # return g_variant_builder_end (&builder); 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1448s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1448s # 1448s # #else 1448s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1448s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1448s # 1448s # #endif 1448s # static void 1448s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1448s # { 1448s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1448s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1448s # if (skeleton->priv->changed_properties_idle_source != NULL) 1448s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1448s # g_main_context_unref (skeleton->priv->context); 1448s # g_mutex_clear (&skeleton->priv->lock); 1448s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1448s # { 1448s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1448s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1448s # #else 1448s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1448s # #endif 1448s # 1448s # g_mutex_init (&skeleton->priv->lock); 1448s # skeleton->priv->context = g_main_context_ref_thread_default (); 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1448s # { 1448s # GObjectClass *gobject_class; 1448s # GDBusInterfaceSkeletonClass *skeleton_class; 1448s # 1448s # gobject_class = G_OBJECT_CLASS (klass); 1448s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1448s # 1448s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1448s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1448s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1448s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1448s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1448s # 1448s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1448s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1448s # #endif 1448s # } 1448s # 1448s # static void 1448s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1448s # { 1448s # } 1448s # 1448s # /** 1448s # * org_project_other_callable_iface_skeleton_new: 1448s # * 1448s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1448s # * 1448s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1448s # */ 1448s # OrgProjectOtherCallableIface * 1448s # org_project_other_callable_iface_skeleton_new (void) 1448s # { 1448s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1448s # } 1451s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1451s # tmpdir: /tmp/tmpqe8xheo_ 1451s # codegen: /usr/bin/gdbus-codegen 1451s # /tmp/tmpqe8xheo_/tmp208aqra5.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmp208aqra5.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # gboolean arg_arg_b, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_boolean (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_b", 1451s # (gchar *) "b", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodB", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-b", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_b: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-b", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_b, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_b: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_b: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_b ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gboolean arg_arg_b, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodB", 1451s # g_variant_new ("(b)", 1451s # arg_arg_b), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_b_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_b_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_b_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_b: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_b_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gboolean arg_arg_b, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodB", 1451s # g_variant_new ("(b)", 1451s # arg_arg_b), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_b: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_b ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpztjyit_2.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpztjyit_2.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # guchar arg_arg_y, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_uchar (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_y", 1451s # (gchar *) "y", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodY", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-y", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_y: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-y", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_y, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_y: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_y: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_y ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guchar arg_arg_y, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodY", 1451s # g_variant_new ("(y)", 1451s # arg_arg_y), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_y_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_y_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_y_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_y: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_y_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guchar arg_arg_y, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodY", 1451s # g_variant_new ("(y)", 1451s # arg_arg_y), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_y: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_y ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpmp1jm0to.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpmp1jm0to.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # gint16 arg_arg_n, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_int (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_n", 1451s # (gchar *) "n", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodN", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-n", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_n: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-n", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_n, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_n: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_n: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_n ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gint16 arg_arg_n, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodN", 1451s # g_variant_new ("(n)", 1451s # arg_arg_n), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_n_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_n_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_n_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_n: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_n_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gint16 arg_arg_n, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodN", 1451s # g_variant_new ("(n)", 1451s # arg_arg_n), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_n: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_n ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpb1d_tepi.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpb1d_tepi.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # guint16 arg_arg_q, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_uint (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_q", 1451s # (gchar *) "q", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodQ", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-q", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_q: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-q", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_q, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_q: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_q: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_q ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guint16 arg_arg_q, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodQ", 1451s # g_variant_new ("(q)", 1451s # arg_arg_q), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_q_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_q_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_q_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_q: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_q_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guint16 arg_arg_q, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodQ", 1451s # g_variant_new ("(q)", 1451s # arg_arg_q), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_q: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_q ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpsl8bdhvk.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpsl8bdhvk.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # gint arg_arg_i, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_int (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_i", 1451s # (gchar *) "i", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodI", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-i", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_i: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-i", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_i, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_i: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_i: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_i ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gint arg_arg_i, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodI", 1451s # g_variant_new ("(i)", 1451s # arg_arg_i), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_i_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_i_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_i_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_i: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_i_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gint arg_arg_i, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodI", 1451s # g_variant_new ("(i)", 1451s # arg_arg_i), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_i: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_i ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpi7hjff9j.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpi7hjff9j.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # guint arg_arg_u, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_uint (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_u", 1451s # (gchar *) "u", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodU", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-u", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_u: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-u", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_u, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_u: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_u: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_u ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guint arg_arg_u, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodU", 1451s # g_variant_new ("(u)", 1451s # arg_arg_u), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_u_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_u_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_u_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_u: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_u_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guint arg_arg_u, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodU", 1451s # g_variant_new ("(u)", 1451s # arg_arg_u), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_u: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_u ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmphjinnis0.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmphjinnis0.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # gint64 arg_arg_x, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_int64 (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_x", 1451s # (gchar *) "x", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodX", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-x", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_x: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-x", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_x, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_x: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_x: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_x ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gint64 arg_arg_x, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodX", 1451s # g_variant_new ("(x)", 1451s # arg_arg_x), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_x_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_x_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_x_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_x: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_x_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gint64 arg_arg_x, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodX", 1451s # g_variant_new ("(x)", 1451s # arg_arg_x), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_x: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_x ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpclpbsjza.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpclpbsjza.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # guint64 arg_arg_t, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_uint64 (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_t", 1451s # (gchar *) "t", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodT", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-t", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_t: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-t", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_t, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_t: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_t: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_t ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guint64 arg_arg_t, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodT", 1451s # g_variant_new ("(t)", 1451s # arg_arg_t), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_t_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_t_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_t_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_t: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_t_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # guint64 arg_arg_t, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodT", 1451s # g_variant_new ("(t)", 1451s # arg_arg_t), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_t: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_t ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpcoej0uwy.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpcoej0uwy.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # gdouble arg_arg_d, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_double (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_d", 1451s # (gchar *) "d", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodD", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-d", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_d: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-d", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_d, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_d: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_d: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_d ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gdouble arg_arg_d, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodD", 1451s # g_variant_new ("(d)", 1451s # arg_arg_d), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_d_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_d_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_d_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_d: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_d_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # gdouble arg_arg_d, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodD", 1451s # g_variant_new ("(d)", 1451s # arg_arg_d), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_d: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_d ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmphshe973d.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmphshe973d.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *arg_arg_s, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_string (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_s", 1451s # (gchar *) "s", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodS", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-s", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_s: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-s", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_s, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_s: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_s: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_s ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_s, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodS", 1451s # g_variant_new ("(s)", 1451s # arg_arg_s), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_s_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_s_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_s_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_s: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_s_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_s, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodS", 1451s # g_variant_new ("(s)", 1451s # arg_arg_s), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_s: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_s ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpnpxzzd2s.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpnpxzzd2s.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *arg_arg_o, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_string (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_o", 1451s # (gchar *) "o", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodO", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-o", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_o: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-o", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_o, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_o: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_o: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_o ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_o, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodO", 1451s # g_variant_new ("(o)", 1451s # arg_arg_o), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_o_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_o_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_o_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_o: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_o_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_o, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodO", 1451s # g_variant_new ("(o)", 1451s # arg_arg_o), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_o: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_o ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpxynxat62.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpxynxat62.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *arg_arg_g, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_string (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_g", 1451s # (gchar *) "g", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodG", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-g", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_g: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-g", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_g, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_g: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_g: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_g ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_g, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodG", 1451s # g_variant_new ("(g)", 1451s # arg_arg_g), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_g_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_g_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_g_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_g: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_g_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_g, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodG", 1451s # g_variant_new ("(g)", 1451s # arg_arg_g), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_g: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_g ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmp5ifyxhi8.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmp5ifyxhi8.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # GVariant *arg_arg_h, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_variant (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_h", 1451s # (gchar *) "h", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodH", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-h", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_h: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-h", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_h, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_h: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_h: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_h ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GVariant *arg_arg_h, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodH", 1451s # g_variant_new ("(@h)", 1451s # arg_arg_h), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_h_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_h_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_h_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_h: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_h_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GVariant *arg_arg_h, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodH", 1451s # g_variant_new ("(@h)", 1451s # arg_arg_h), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_h: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_h ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpv3i0jjyj.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpv3i0jjyj.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *arg_arg_ay, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_string (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_ay", 1451s # (gchar *) "ay", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodAy", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-ay", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_ay: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-ay", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_ay: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_ay: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_ay ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_ay, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAy", 1451s # g_variant_new ("(^ay)", 1451s # arg_arg_ay), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_ay: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *arg_arg_ay, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAy", 1451s # g_variant_new ("(^ay)", 1451s # arg_arg_ay), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_ay: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_ay ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpcp3qdt1s.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpcp3qdt1s.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *const *arg_arg_as, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_boxed (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_as", 1451s # (gchar *) "as", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodAs", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-as", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_as: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-as", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_as, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_as: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_as: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_as ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *const *arg_arg_as, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAs", 1451s # g_variant_new ("(^as)", 1451s # arg_arg_as), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_as_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_as_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_as_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_as: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_as_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *const *arg_arg_as, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAs", 1451s # g_variant_new ("(^as)", 1451s # arg_arg_as), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_as: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_as ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpra4smj07.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpra4smj07.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *const *arg_arg_ao, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_boxed (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_ao", 1451s # (gchar *) "ao", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodAo", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-ao", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_ao: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-ao", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_ao: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_ao: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_ao ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *const *arg_arg_ao, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAo", 1451s # g_variant_new ("(^ao)", 1451s # arg_arg_ao), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_ao: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *const *arg_arg_ao, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAo", 1451s # g_variant_new ("(^ao)", 1451s # arg_arg_ao), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_ao: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_ao ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpc8my4djl.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpc8my4djl.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # const gchar *const *arg_arg_aay, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_boxed (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_aay", 1451s # (gchar *) "aay", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodAay", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-aay", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_aay: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-aay", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_aay: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_aay: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_aay ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *const *arg_arg_aay, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAay", 1451s # g_variant_new ("(^aay)", 1451s # arg_arg_aay), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_aay: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # const gchar *const *arg_arg_aay, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAay", 1451s # g_variant_new ("(^aay)", 1451s # arg_arg_aay), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_aay: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_aay ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1451s # /tmp/tmpqe8xheo_/tmpig5dwpu2.xml: 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # 1451s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqe8xheo_/tmpig5dwpu2.xml', '--output', '-', '--body'] 1451s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1451s # Output: /* 1451s # * This file is generated by gdbus-codegen, do not modify it. 1451s # * 1451s # * The license of this code is the same as for the D-Bus interface description 1451s # * it was derived from. Note that it links to GLib, so must comply with the 1451s # * LGPL linking clauses. 1451s # */ 1451s # 1451s # #ifdef HAVE_CONFIG_H 1451s # # include "config.h" 1451s # #endif 1451s # 1451s # #include 1451s # #ifdef G_OS_UNIX 1451s # # include 1451s # #endif 1451s # 1451s # #ifdef G_ENABLE_DEBUG 1451s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1451s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1451s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1451s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1451s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1451s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1451s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1451s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1451s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1451s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1451s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1451s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1451s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1451s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1451s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1451s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1451s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1451s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1451s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1451s # #else /* !G_ENABLE_DEBUG */ 1451s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1451s # * Do not access GValues directly in your code. Instead, use the 1451s # * g_value_get_*() functions 1451s # */ 1451s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1451s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1451s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1451s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1451s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1451s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1451s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1451s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1451s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1451s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1451s # #endif /* !G_ENABLE_DEBUG */ 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusArgInfo parent_struct; 1451s # gboolean use_gvariant; 1451s # } _ExtendedGDBusArgInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusMethodInfo parent_struct; 1451s # const gchar *signal_name; 1451s # gboolean pass_fdlist; 1451s # } _ExtendedGDBusMethodInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusSignalInfo parent_struct; 1451s # const gchar *signal_name; 1451s # } _ExtendedGDBusSignalInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusPropertyInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # guint use_gvariant : 1; 1451s # guint emits_changed_signal : 1; 1451s # } _ExtendedGDBusPropertyInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # GDBusInterfaceInfo parent_struct; 1451s # const gchar *hyphen_name; 1451s # } _ExtendedGDBusInterfaceInfo; 1451s # 1451s # typedef struct 1451s # { 1451s # const _ExtendedGDBusPropertyInfo *info; 1451s # guint prop_id; 1451s # GValue orig_value; /* the value before the change */ 1451s # } ChangedProperty; 1451s # 1451s # static void 1451s # _changed_property_free (ChangedProperty *data) 1451s # { 1451s # g_value_unset (&data->orig_value); 1451s # g_free (data); 1451s # } 1451s # 1451s # static gboolean 1451s # _g_strv_equal0 (gchar **a, gchar **b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # guint n; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # if (g_strv_length (a) != g_strv_length (b)) 1451s # goto out; 1451s # for (n = 0; a[n] != NULL; n++) 1451s # if (g_strcmp0 (a[n], b[n]) != 0) 1451s # goto out; 1451s # ret = TRUE; 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _g_variant_equal0 (GVariant *a, GVariant *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # if (a == NULL && b == NULL) 1451s # { 1451s # ret = TRUE; 1451s # goto out; 1451s # } 1451s # if (a == NULL || b == NULL) 1451s # goto out; 1451s # ret = g_variant_equal (a, b); 1451s # out: 1451s # return ret; 1451s # } 1451s # 1451s # G_GNUC_UNUSED static gboolean 1451s # _g_value_equal (const GValue *a, const GValue *b) 1451s # { 1451s # gboolean ret = FALSE; 1451s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1451s # switch (G_VALUE_TYPE (a)) 1451s # { 1451s # case G_TYPE_BOOLEAN: 1451s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1451s # break; 1451s # case G_TYPE_UCHAR: 1451s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1451s # break; 1451s # case G_TYPE_INT: 1451s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1451s # break; 1451s # case G_TYPE_UINT: 1451s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1451s # break; 1451s # case G_TYPE_INT64: 1451s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1451s # break; 1451s # case G_TYPE_UINT64: 1451s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1451s # break; 1451s # case G_TYPE_DOUBLE: 1451s # { 1451s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1451s # gdouble da = g_value_get_double (a); 1451s # gdouble db = g_value_get_double (b); 1451s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1451s # } 1451s # break; 1451s # case G_TYPE_STRING: 1451s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1451s # break; 1451s # case G_TYPE_VARIANT: 1451s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1451s # break; 1451s # default: 1451s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1451s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1451s # else 1451s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1451s # break; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static void 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint G_GNUC_UNUSED, 1451s # void *marshal_data) 1451s # { 1451s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1451s # (void *data1, 1451s # GDBusMethodInvocation *arg_method_invocation, 1451s # GVariant *arg_arg_asv, 1451s # void *data2); 1451s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1451s # GCClosure *cc = (GCClosure*) closure; 1451s # void *data1, *data2; 1451s # gboolean v_return; 1451s # 1451s # g_return_if_fail (return_value != NULL); 1451s # g_return_if_fail (n_param_values == 3); 1451s # 1451s # if (G_CCLOSURE_SWAP_DATA (closure)) 1451s # { 1451s # data1 = closure->data; 1451s # data2 = g_value_peek_pointer (param_values + 0); 1451s # } 1451s # else 1451s # { 1451s # data1 = g_value_peek_pointer (param_values + 0); 1451s # data2 = closure->data; 1451s # } 1451s # 1451s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1451s # (marshal_data ? marshal_data : cc->callback); 1451s # 1451s # v_return = 1451s # callback (data1, 1451s # g_marshal_value_peek_object (param_values + 1), 1451s # g_marshal_value_peek_variant (param_values + 2), 1451s # data2); 1451s # 1451s # g_value_set_boolean (return_value, v_return); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ 1451s # * Code for interface org.project.UsefulInterface 1451s # * ------------------------------------------------------------------------ 1451s # */ 1451s # 1451s # /** 1451s # * SECTION:OrgProjectUsefulInterface 1451s # * @title: OrgProjectUsefulInterface 1451s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1451s # * 1451s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1451s # */ 1451s # 1451s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1451s # 1451s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "arg_asv", 1451s # (gchar *) "a{sv}", 1451s # NULL 1451s # }, 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "SingleArgMethodAsv", 1451s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "handle-single-arg-method-asv", 1451s # FALSE 1451s # }; 1451s # 1451s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1451s # { 1451s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1451s # NULL 1451s # }; 1451s # 1451s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1451s # { 1451s # { 1451s # -1, 1451s # (gchar *) "org.project.UsefulInterface", 1451s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1451s # NULL, 1451s # NULL, 1451s # NULL 1451s # }, 1451s # "org-project-useful-interface", 1451s # }; 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_interface_info: 1451s # * 1451s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1451s # * 1451s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1451s # */ 1451s # GDBusInterfaceInfo * 1451s # org_project_useful_interface_interface_info (void) 1451s # { 1451s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_override_properties: 1451s # * @klass: The class structure for a #GObject derived class. 1451s # * @property_id_begin: The property id to assign to the first overridden property. 1451s # * 1451s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1451s # * The properties are overridden in the order they are defined. 1451s # * 1451s # * Returns: The last property id. 1451s # */ 1451s # guint 1451s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1451s # { 1451s # return property_id_begin - 1; 1451s # } 1451s # 1451s # 1451s # inline static void 1451s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1451s # GClosure *closure, 1451s # GValue *return_value, 1451s # unsigned int n_param_values, 1451s # const GValue *param_values, 1451s # void *invocation_hint, 1451s # void *marshal_data) 1451s # { 1451s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1451s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1451s # } 1451s # 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterface: 1451s # * 1451s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceIface: 1451s # * @parent_iface: The parent interface. 1451s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1451s # * 1451s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1451s # */ 1451s # 1451s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1451s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1451s # 1451s # static void 1451s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1451s # { 1451s # /* GObject signals for incoming D-Bus method calls: */ 1451s # /** 1451s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: A #GDBusMethodInvocation. 1451s # * @arg_arg_asv: Argument passed by remote caller. 1451s # * 1451s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1451s # * 1451s # * 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. 1451s # * 1451s # * 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. 1451s # */ 1451s # g_signal_new ("handle-single-arg-method-asv", 1451s # G_TYPE_FROM_INTERFACE (iface), 1451s # G_SIGNAL_RUN_LAST, 1451s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1451s # g_signal_accumulator_true_handled, 1451s # NULL, 1451s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1451s # G_TYPE_BOOLEAN, 1451s # 2, 1451s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1451s # 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_asv: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_asv: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1451s # */ 1451s # void 1451s # org_project_useful_interface_call_single_arg_method_asv ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GVariant *arg_arg_asv, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAsv", 1451s # g_variant_new ("(@a{sv})", 1451s # arg_arg_asv), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # callback, 1451s # user_data); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1451s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1451s # * @arg_arg_asv: Argument to pass with the method invocation. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL. 1451s # * 1451s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1451s # * 1451s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1451s # */ 1451s # gboolean 1451s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1451s # OrgProjectUsefulInterface *proxy, 1451s # GVariant *arg_arg_asv, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GVariant *_ret; 1451s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1451s # "SingleArgMethodAsv", 1451s # g_variant_new ("(@a{sv})", 1451s # arg_arg_asv), 1451s # G_DBUS_CALL_FLAGS_NONE, 1451s # -1, 1451s # cancellable, 1451s # error); 1451s # if (_ret == NULL) 1451s # goto _out; 1451s # g_variant_get (_ret, 1451s # "()"); 1451s # g_variant_unref (_ret); 1451s # _out: 1451s # return _ret != NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_complete_single_arg_method_asv: 1451s # * @object: A #OrgProjectUsefulInterface. 1451s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1451s # * 1451s # * 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. 1451s # * 1451s # * This method will free @invocation, you cannot use it afterwards. 1451s # */ 1451s # void 1451s # org_project_useful_interface_complete_single_arg_method_asv ( 1451s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1451s # GDBusMethodInvocation *invocation) 1451s # { 1451s # g_dbus_method_invocation_return_value (invocation, 1451s # g_variant_new ("()")); 1451s # } 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxy: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceProxyClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceProxyPrivate 1451s # { 1451s # GData *qdata; 1451s # }; 1451s # 1451s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_proxy_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1451s # g_datalist_clear (&proxy->priv->qdata); 1451s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1451s # guint prop_id G_GNUC_UNUSED, 1451s # const GValue *value G_GNUC_UNUSED, 1451s # GParamSpec *pspec G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1451s # const gchar *sender_name G_GNUC_UNUSED, 1451s # const gchar *signal_name, 1451s # GVariant *parameters) 1451s # { 1451s # _ExtendedGDBusSignalInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # gsize n; 1451s # guint signal_id; 1451s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1451s # if (info == NULL) 1451s # return; 1451s # num_params = g_variant_n_children (parameters); 1451s # paramv = g_new0 (GValue, num_params + 1); 1451s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[0], proxy); 1451s # g_variant_iter_init (&iter, parameters); 1451s # n = 1; 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_signal_emitv (paramv, signal_id, 0, NULL); 1451s # for (n = 0; n < num_params + 1; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1451s # GVariant *changed_properties, 1451s # const gchar *const *invalidated_properties) 1451s # { 1451s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1451s # guint n; 1451s # const gchar *key; 1451s # GVariantIter *iter; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # g_variant_get (changed_properties, "a{sv}", &iter); 1451s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1451s # g_datalist_remove_data (&proxy->priv->qdata, key); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # g_variant_iter_free (iter); 1451s # for (n = 0; invalidated_properties[n] != NULL; n++) 1451s # { 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1451s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1451s # if (info != NULL) 1451s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1451s # } 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1451s # #else 1451s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1451s # #endif 1451s # 1451s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusProxyClass *proxy_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1451s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1451s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1451s # 1451s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1451s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1451s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_sync: 1451s # * @connection: A #GDBusConnection. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_sync ( 1451s # GDBusConnection *connection, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1451s # * @user_data: User data to pass to @callback. 1451s # * 1451s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1451s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1451s # */ 1451s # void 1451s # org_project_useful_interface_proxy_new_for_bus ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GAsyncReadyCallback callback, 1451s # gpointer user_data) 1451s # { 1451s # g_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); 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_finish: 1451s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_finish ( 1451s # GAsyncResult *res, 1451s # GError **error) 1451s # { 1451s # GObject *ret; 1451s # GObject *source_object; 1451s # source_object = g_async_result_get_source_object (res); 1451s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1451s # g_object_unref (source_object); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_proxy_new_for_bus_sync: 1451s # * @bus_type: A #GBusType. 1451s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1451s # * @name: A bus name (well-known or unique). 1451s # * @object_path: An object path. 1451s # * @cancellable: (nullable): A #GCancellable or %NULL. 1451s # * @error: Return location for error or %NULL 1451s # * 1451s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1451s # * 1451s # * The calling thread is blocked until a reply is received. 1451s # * 1451s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_proxy_new_for_bus_sync ( 1451s # GBusType bus_type, 1451s # GDBusProxyFlags flags, 1451s # const gchar *name, 1451s # const gchar *object_path, 1451s # GCancellable *cancellable, 1451s # GError **error) 1451s # { 1451s # GInitable *ret; 1451s # 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); 1451s # if (ret != NULL) 1451s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1451s # else 1451s # return NULL; 1451s # } 1451s # 1451s # 1451s # /* ------------------------------------------------------------------------ */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeleton: 1451s # * 1451s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1451s # */ 1451s # 1451s # /** 1451s # * OrgProjectUsefulInterfaceSkeletonClass: 1451s # * @parent_class: The parent class. 1451s # * 1451s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1451s # */ 1451s # 1451s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1451s # { 1451s # GValue *properties; 1451s # GList *changed_properties; 1451s # GSource *changed_properties_idle_source; 1451s # GMainContext *context; 1451s # GMutex lock; 1451s # }; 1451s # 1451s # static void 1451s # _org_project_useful_interface_skeleton_handle_method_call ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name, 1451s # const gchar *method_name, 1451s # GVariant *parameters, 1451s # GDBusMethodInvocation *invocation, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # _ExtendedGDBusMethodInfo *info; 1451s # GVariantIter iter; 1451s # GVariant *child; 1451s # GValue *paramv; 1451s # gsize num_params; 1451s # guint num_extra; 1451s # gsize n; 1451s # guint signal_id; 1451s # GValue return_value = G_VALUE_INIT; 1451s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1451s # g_assert (info != NULL); 1451s # num_params = g_variant_n_children (parameters); 1451s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1451s # n = 0; 1451s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_set_object (¶mv[n++], skeleton); 1451s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1451s # g_value_set_object (¶mv[n++], invocation); 1451s # if (info->pass_fdlist) 1451s # { 1451s # #ifdef G_OS_UNIX 1451s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1451s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1451s # #else 1451s # g_assert_not_reached (); 1451s # #endif 1451s # } 1451s # g_variant_iter_init (&iter, parameters); 1451s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1451s # { 1451s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1451s # if (arg_info->use_gvariant) 1451s # { 1451s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1451s # g_value_set_variant (¶mv[n], child); 1451s # n++; 1451s # } 1451s # else 1451s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1451s # g_variant_unref (child); 1451s # } 1451s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1451s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1451s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1451s # if (!g_value_get_boolean (&return_value)) 1451s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1451s # g_value_unset (&return_value); 1451s # for (n = 0; n < num_params + num_extra; n++) 1451s # g_value_unset (¶mv[n]); 1451s # g_free (paramv); 1451s # } 1451s # 1451s # static GVariant * 1451s # _org_project_useful_interface_skeleton_handle_get_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # GVariant *ret; 1451s # ret = NULL; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # g_value_init (&value, pspec->value_type); 1451s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1451s # g_value_unset (&value); 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static gboolean 1451s # _org_project_useful_interface_skeleton_handle_set_property ( 1451s # GDBusConnection *connection G_GNUC_UNUSED, 1451s # const gchar *sender G_GNUC_UNUSED, 1451s # const gchar *object_path G_GNUC_UNUSED, 1451s # const gchar *interface_name G_GNUC_UNUSED, 1451s # const gchar *property_name, 1451s # GVariant *variant, 1451s # GError **error, 1451s # gpointer user_data) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1451s # GValue value = G_VALUE_INIT; 1451s # GParamSpec *pspec; 1451s # _ExtendedGDBusPropertyInfo *info; 1451s # gboolean ret; 1451s # ret = FALSE; 1451s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1451s # g_assert (info != NULL); 1451s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1451s # if (pspec == NULL) 1451s # { 1451s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1451s # } 1451s # else 1451s # { 1451s # if (info->use_gvariant) 1451s # g_value_set_variant (&value, variant); 1451s # else 1451s # g_dbus_gvariant_to_gvalue (variant, &value); 1451s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1451s # g_value_unset (&value); 1451s # ret = TRUE; 1451s # } 1451s # return ret; 1451s # } 1451s # 1451s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1451s # { 1451s # _org_project_useful_interface_skeleton_handle_method_call, 1451s # _org_project_useful_interface_skeleton_handle_get_property, 1451s # _org_project_useful_interface_skeleton_handle_set_property, 1451s # {NULL} 1451s # }; 1451s # 1451s # static GDBusInterfaceInfo * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return org_project_useful_interface_interface_info (); 1451s # } 1451s # 1451s # static GDBusInterfaceVTable * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1451s # { 1451s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1451s # } 1451s # 1451s # static GVariant * 1451s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1451s # 1451s # GVariantBuilder builder; 1451s # guint n; 1451s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1451s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1451s # goto out; 1451s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1451s # { 1451s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1451s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1451s # { 1451s # GVariant *value; 1451s # 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); 1451s # if (value != NULL) 1451s # { 1451s # g_variant_take_ref (value); 1451s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1451s # g_variant_unref (value); 1451s # } 1451s # } 1451s # } 1451s # out: 1451s # return g_variant_builder_end (&builder); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #else 1451s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1451s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1451s # 1451s # #endif 1451s # static void 1451s # org_project_useful_interface_skeleton_finalize (GObject *object) 1451s # { 1451s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1451s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1451s # if (skeleton->priv->changed_properties_idle_source != NULL) 1451s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1451s # g_main_context_unref (skeleton->priv->context); 1451s # g_mutex_clear (&skeleton->priv->lock); 1451s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1451s # { 1451s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1451s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1451s # #else 1451s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1451s # #endif 1451s # 1451s # g_mutex_init (&skeleton->priv->lock); 1451s # skeleton->priv->context = g_main_context_ref_thread_default (); 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1451s # { 1451s # GObjectClass *gobject_class; 1451s # GDBusInterfaceSkeletonClass *skeleton_class; 1451s # 1451s # gobject_class = G_OBJECT_CLASS (klass); 1451s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1451s # 1451s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1451s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1451s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1451s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1451s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1451s # 1451s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1451s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1451s # #endif 1451s # } 1451s # 1451s # static void 1451s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1451s # { 1451s # } 1451s # 1451s # /** 1451s # * org_project_useful_interface_skeleton_new: 1451s # * 1451s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1451s # * 1451s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1451s # */ 1451s # OrgProjectUsefulInterface * 1451s # org_project_useful_interface_skeleton_new (void) 1451s # { 1451s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1451s # } 1453s # Executing: glib/codegen.py.test 1454s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1454s # tmpdir: /tmp/tmphxl458b8 1454s # codegen: /usr/bin/gdbus-codegen 1454s # /tmp/tmphxl458b8/tmpit322wix.xml: 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpit322wix.xml', '--output', '-', '--body'] 1454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1454s # Output: /* 1454s # * This file is generated by gdbus-codegen, do not modify it. 1454s # * 1454s # * The license of this code is the same as for the D-Bus interface description 1454s # * it was derived from. Note that it links to GLib, so must comply with the 1454s # * LGPL linking clauses. 1454s # */ 1454s # 1454s # #ifdef HAVE_CONFIG_H 1454s # # include "config.h" 1454s # #endif 1454s # 1454s # #include 1454s # #ifdef G_OS_UNIX 1454s # # include 1454s # #endif 1454s # 1454s # #ifdef G_ENABLE_DEBUG 1454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1454s # #else /* !G_ENABLE_DEBUG */ 1454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1454s # * Do not access GValues directly in your code. Instead, use the 1454s # * g_value_get_*() functions 1454s # */ 1454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1454s # #endif /* !G_ENABLE_DEBUG */ 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusArgInfo parent_struct; 1454s # gboolean use_gvariant; 1454s # } _ExtendedGDBusArgInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusMethodInfo parent_struct; 1454s # const gchar *signal_name; 1454s # gboolean pass_fdlist; 1454s # } _ExtendedGDBusMethodInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusSignalInfo parent_struct; 1454s # const gchar *signal_name; 1454s # } _ExtendedGDBusSignalInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusPropertyInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # guint use_gvariant : 1; 1454s # guint emits_changed_signal : 1; 1454s # } _ExtendedGDBusPropertyInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusInterfaceInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # } _ExtendedGDBusInterfaceInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # const _ExtendedGDBusPropertyInfo *info; 1454s # guint prop_id; 1454s # GValue orig_value; /* the value before the change */ 1454s # } ChangedProperty; 1454s # 1454s # static void 1454s # _changed_property_free (ChangedProperty *data) 1454s # { 1454s # g_value_unset (&data->orig_value); 1454s # g_free (data); 1454s # } 1454s # 1454s # static gboolean 1454s # _g_strv_equal0 (gchar **a, gchar **b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # guint n; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # if (g_strv_length (a) != g_strv_length (b)) 1454s # goto out; 1454s # for (n = 0; a[n] != NULL; n++) 1454s # if (g_strcmp0 (a[n], b[n]) != 0) 1454s # goto out; 1454s # ret = TRUE; 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _g_variant_equal0 (GVariant *a, GVariant *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # ret = g_variant_equal (a, b); 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # G_GNUC_UNUSED static gboolean 1454s # _g_value_equal (const GValue *a, const GValue *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1454s # switch (G_VALUE_TYPE (a)) 1454s # { 1454s # case G_TYPE_BOOLEAN: 1454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1454s # break; 1454s # case G_TYPE_UCHAR: 1454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1454s # break; 1454s # case G_TYPE_INT: 1454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1454s # break; 1454s # case G_TYPE_UINT: 1454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1454s # break; 1454s # case G_TYPE_INT64: 1454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1454s # break; 1454s # case G_TYPE_UINT64: 1454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1454s # break; 1454s # case G_TYPE_DOUBLE: 1454s # { 1454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1454s # gdouble da = g_value_get_double (a); 1454s # gdouble db = g_value_get_double (b); 1454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1454s # } 1454s # break; 1454s # case G_TYPE_STRING: 1454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1454s # break; 1454s # case G_TYPE_VARIANT: 1454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1454s # break; 1454s # default: 1454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1454s # else 1454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1454s # break; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static void 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint G_GNUC_UNUSED, 1454s # void *marshal_data) 1454s # { 1454s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (void *data1, 1454s # GDBusMethodInvocation *arg_method_invocation, 1454s # void *data2); 1454s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1454s # GCClosure *cc = (GCClosure*) closure; 1454s # void *data1, *data2; 1454s # gboolean v_return; 1454s # 1454s # g_return_if_fail (return_value != NULL); 1454s # g_return_if_fail (n_param_values == 2); 1454s # 1454s # if (G_CCLOSURE_SWAP_DATA (closure)) 1454s # { 1454s # data1 = closure->data; 1454s # data2 = g_value_peek_pointer (param_values + 0); 1454s # } 1454s # else 1454s # { 1454s # data1 = g_value_peek_pointer (param_values + 0); 1454s # data2 = closure->data; 1454s # } 1454s # 1454s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (marshal_data ? marshal_data : cc->callback); 1454s # 1454s # v_return = 1454s # callback (data1, 1454s # g_marshal_value_peek_object (param_values + 1), 1454s # data2); 1454s # 1454s # g_value_set_boolean (return_value, v_return); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ 1454s # * Code for interface org.project.UsefulInterface 1454s # * ------------------------------------------------------------------------ 1454s # */ 1454s # 1454s # /** 1454s # * SECTION:OrgProjectUsefulInterface 1454s # * @title: OrgProjectUsefulInterface 1454s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1454s # * 1454s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1454s # */ 1454s # 1454s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1454s # 1454s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "arg_b", 1454s # (gchar *) "b", 1454s # NULL 1454s # }, 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "SingleArgMethodB", 1454s # NULL, 1454s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1454s # NULL 1454s # }, 1454s # "handle-single-arg-method-b", 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "org.project.UsefulInterface", 1454s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1454s # NULL, 1454s # NULL, 1454s # NULL 1454s # }, 1454s # "org-project-useful-interface", 1454s # }; 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_interface_info: 1454s # * 1454s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1454s # * 1454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1454s # */ 1454s # GDBusInterfaceInfo * 1454s # org_project_useful_interface_interface_info (void) 1454s # { 1454s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_override_properties: 1454s # * @klass: The class structure for a #GObject derived class. 1454s # * @property_id_begin: The property id to assign to the first overridden property. 1454s # * 1454s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1454s # * The properties are overridden in the order they are defined. 1454s # * 1454s # * Returns: The last property id. 1454s # */ 1454s # guint 1454s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1454s # { 1454s # return property_id_begin - 1; 1454s # } 1454s # 1454s # 1454s # inline static void 1454s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint, 1454s # void *marshal_data) 1454s # { 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1454s # } 1454s # 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterface: 1454s # * 1454s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceIface: 1454s # * @parent_iface: The parent interface. 1454s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1454s # * 1454s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1454s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1454s # 1454s # static void 1454s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1454s # { 1454s # /* GObject signals for incoming D-Bus method calls: */ 1454s # /** 1454s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: A #GDBusMethodInvocation. 1454s # * 1454s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1454s # * 1454s # * 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. 1454s # * 1454s # * 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. 1454s # */ 1454s # g_signal_new ("handle-single-arg-method-b", 1454s # G_TYPE_FROM_INTERFACE (iface), 1454s # G_SIGNAL_RUN_LAST, 1454s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1454s # g_signal_accumulator_true_handled, 1454s # NULL, 1454s # org_project_useful_interface_method_marshal_single_arg_method_b, 1454s # G_TYPE_BOOLEAN, 1454s # 1, 1454s # G_TYPE_DBUS_METHOD_INVOCATION); 1454s # 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_b: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1454s # */ 1454s # void 1454s # org_project_useful_interface_call_single_arg_method_b ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodB", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # callback, 1454s # user_data); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_b_finish: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_b_finish ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # gboolean *out_arg_b, 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(b)", 1454s # out_arg_b); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_b_sync: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_b_sync ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # gboolean *out_arg_b, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodB", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(b)", 1454s # out_arg_b); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_complete_single_arg_method_b: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1454s # * @arg_b: Parameter to return. 1454s # * 1454s # * 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. 1454s # * 1454s # * This method will free @invocation, you cannot use it afterwards. 1454s # */ 1454s # void 1454s # org_project_useful_interface_complete_single_arg_method_b ( 1454s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1454s # GDBusMethodInvocation *invocation, 1454s # gboolean arg_b) 1454s # { 1454s # g_dbus_method_invocation_return_value (invocation, 1454s # g_variant_new ("(b)", 1454s # arg_b)); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxy: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxyClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceProxyPrivate 1454s # { 1454s # GData *qdata; 1454s # }; 1454s # 1454s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_proxy_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1454s # g_datalist_clear (&proxy->priv->qdata); 1454s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # const GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1454s # const gchar *sender_name G_GNUC_UNUSED, 1454s # const gchar *signal_name, 1454s # GVariant *parameters) 1454s # { 1454s # _ExtendedGDBusSignalInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # gsize n; 1454s # guint signal_id; 1454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1454s # if (info == NULL) 1454s # return; 1454s # num_params = g_variant_n_children (parameters); 1454s # paramv = g_new0 (GValue, num_params + 1); 1454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[0], proxy); 1454s # g_variant_iter_init (&iter, parameters); 1454s # n = 1; 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_signal_emitv (paramv, signal_id, 0, NULL); 1454s # for (n = 0; n < num_params + 1; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1454s # GVariant *changed_properties, 1454s # const gchar *const *invalidated_properties) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1454s # guint n; 1454s # const gchar *key; 1454s # GVariantIter *iter; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # g_variant_get (changed_properties, "a{sv}", &iter); 1454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1454s # g_datalist_remove_data (&proxy->priv->qdata, key); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # g_variant_iter_free (iter); 1454s # for (n = 0; invalidated_properties[n] != NULL; n++) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1454s # #else 1454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1454s # #endif 1454s # 1454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusProxyClass *proxy_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1454s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1454s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1454s # 1454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1454s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1454s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_sync: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_sync ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new_for_bus ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_sync: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_sync ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeleton: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeletonClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1454s # { 1454s # GValue *properties; 1454s # GList *changed_properties; 1454s # GSource *changed_properties_idle_source; 1454s # GMainContext *context; 1454s # GMutex lock; 1454s # }; 1454s # 1454s # static void 1454s # _org_project_useful_interface_skeleton_handle_method_call ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name, 1454s # const gchar *method_name, 1454s # GVariant *parameters, 1454s # GDBusMethodInvocation *invocation, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # _ExtendedGDBusMethodInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # guint num_extra; 1454s # gsize n; 1454s # guint signal_id; 1454s # GValue return_value = G_VALUE_INIT; 1454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1454s # g_assert (info != NULL); 1454s # num_params = g_variant_n_children (parameters); 1454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1454s # n = 0; 1454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[n++], skeleton); 1454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1454s # g_value_set_object (¶mv[n++], invocation); 1454s # if (info->pass_fdlist) 1454s # { 1454s # #ifdef G_OS_UNIX 1454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1454s # #else 1454s # g_assert_not_reached (); 1454s # #endif 1454s # } 1454s # g_variant_iter_init (&iter, parameters); 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1454s # if (!g_value_get_boolean (&return_value)) 1454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1454s # g_value_unset (&return_value); 1454s # for (n = 0; n < num_params + num_extra; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static GVariant * 1454s # _org_project_useful_interface_skeleton_handle_get_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # GVariant *ret; 1454s # ret = NULL; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # g_value_init (&value, pspec->value_type); 1454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1454s # g_value_unset (&value); 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _org_project_useful_interface_skeleton_handle_set_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GVariant *variant, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # gboolean ret; 1454s # ret = FALSE; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # if (info->use_gvariant) 1454s # g_value_set_variant (&value, variant); 1454s # else 1454s # g_dbus_gvariant_to_gvalue (variant, &value); 1454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # g_value_unset (&value); 1454s # ret = TRUE; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1454s # { 1454s # _org_project_useful_interface_skeleton_handle_method_call, 1454s # _org_project_useful_interface_skeleton_handle_get_property, 1454s # _org_project_useful_interface_skeleton_handle_set_property, 1454s # {NULL} 1454s # }; 1454s # 1454s # static GDBusInterfaceInfo * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return org_project_useful_interface_interface_info (); 1454s # } 1454s # 1454s # static GDBusInterfaceVTable * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1454s # } 1454s # 1454s # static GVariant * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1454s # 1454s # GVariantBuilder builder; 1454s # guint n; 1454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1454s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1454s # goto out; 1454s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1454s # { 1454s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1454s # { 1454s # GVariant *value; 1454s # 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); 1454s # if (value != NULL) 1454s # { 1454s # g_variant_take_ref (value); 1454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1454s # g_variant_unref (value); 1454s # } 1454s # } 1454s # } 1454s # out: 1454s # return g_variant_builder_end (&builder); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_skeleton_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1454s # if (skeleton->priv->changed_properties_idle_source != NULL) 1454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1454s # g_main_context_unref (skeleton->priv->context); 1454s # g_mutex_clear (&skeleton->priv->lock); 1454s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1454s # #else 1454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1454s # #endif 1454s # 1454s # g_mutex_init (&skeleton->priv->lock); 1454s # skeleton->priv->context = g_main_context_ref_thread_default (); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusInterfaceSkeletonClass *skeleton_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1454s # 1454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1454s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1454s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1454s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1454s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_skeleton_new: 1454s # * 1454s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_skeleton_new (void) 1454s # { 1454s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1454s # } 1454s # /tmp/tmphxl458b8/tmp0079ivdz.xml: 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp0079ivdz.xml', '--output', '-', '--body'] 1454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1454s # Output: /* 1454s # * This file is generated by gdbus-codegen, do not modify it. 1454s # * 1454s # * The license of this code is the same as for the D-Bus interface description 1454s # * it was derived from. Note that it links to GLib, so must comply with the 1454s # * LGPL linking clauses. 1454s # */ 1454s # 1454s # #ifdef HAVE_CONFIG_H 1454s # # include "config.h" 1454s # #endif 1454s # 1454s # #include 1454s # #ifdef G_OS_UNIX 1454s # # include 1454s # #endif 1454s # 1454s # #ifdef G_ENABLE_DEBUG 1454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1454s # #else /* !G_ENABLE_DEBUG */ 1454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1454s # * Do not access GValues directly in your code. Instead, use the 1454s # * g_value_get_*() functions 1454s # */ 1454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1454s # #endif /* !G_ENABLE_DEBUG */ 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusArgInfo parent_struct; 1454s # gboolean use_gvariant; 1454s # } _ExtendedGDBusArgInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusMethodInfo parent_struct; 1454s # const gchar *signal_name; 1454s # gboolean pass_fdlist; 1454s # } _ExtendedGDBusMethodInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusSignalInfo parent_struct; 1454s # const gchar *signal_name; 1454s # } _ExtendedGDBusSignalInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusPropertyInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # guint use_gvariant : 1; 1454s # guint emits_changed_signal : 1; 1454s # } _ExtendedGDBusPropertyInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusInterfaceInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # } _ExtendedGDBusInterfaceInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # const _ExtendedGDBusPropertyInfo *info; 1454s # guint prop_id; 1454s # GValue orig_value; /* the value before the change */ 1454s # } ChangedProperty; 1454s # 1454s # static void 1454s # _changed_property_free (ChangedProperty *data) 1454s # { 1454s # g_value_unset (&data->orig_value); 1454s # g_free (data); 1454s # } 1454s # 1454s # static gboolean 1454s # _g_strv_equal0 (gchar **a, gchar **b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # guint n; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # if (g_strv_length (a) != g_strv_length (b)) 1454s # goto out; 1454s # for (n = 0; a[n] != NULL; n++) 1454s # if (g_strcmp0 (a[n], b[n]) != 0) 1454s # goto out; 1454s # ret = TRUE; 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _g_variant_equal0 (GVariant *a, GVariant *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # ret = g_variant_equal (a, b); 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # G_GNUC_UNUSED static gboolean 1454s # _g_value_equal (const GValue *a, const GValue *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1454s # switch (G_VALUE_TYPE (a)) 1454s # { 1454s # case G_TYPE_BOOLEAN: 1454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1454s # break; 1454s # case G_TYPE_UCHAR: 1454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1454s # break; 1454s # case G_TYPE_INT: 1454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1454s # break; 1454s # case G_TYPE_UINT: 1454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1454s # break; 1454s # case G_TYPE_INT64: 1454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1454s # break; 1454s # case G_TYPE_UINT64: 1454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1454s # break; 1454s # case G_TYPE_DOUBLE: 1454s # { 1454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1454s # gdouble da = g_value_get_double (a); 1454s # gdouble db = g_value_get_double (b); 1454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1454s # } 1454s # break; 1454s # case G_TYPE_STRING: 1454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1454s # break; 1454s # case G_TYPE_VARIANT: 1454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1454s # break; 1454s # default: 1454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1454s # else 1454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1454s # break; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static void 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint G_GNUC_UNUSED, 1454s # void *marshal_data) 1454s # { 1454s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (void *data1, 1454s # GDBusMethodInvocation *arg_method_invocation, 1454s # void *data2); 1454s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1454s # GCClosure *cc = (GCClosure*) closure; 1454s # void *data1, *data2; 1454s # gboolean v_return; 1454s # 1454s # g_return_if_fail (return_value != NULL); 1454s # g_return_if_fail (n_param_values == 2); 1454s # 1454s # if (G_CCLOSURE_SWAP_DATA (closure)) 1454s # { 1454s # data1 = closure->data; 1454s # data2 = g_value_peek_pointer (param_values + 0); 1454s # } 1454s # else 1454s # { 1454s # data1 = g_value_peek_pointer (param_values + 0); 1454s # data2 = closure->data; 1454s # } 1454s # 1454s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (marshal_data ? marshal_data : cc->callback); 1454s # 1454s # v_return = 1454s # callback (data1, 1454s # g_marshal_value_peek_object (param_values + 1), 1454s # data2); 1454s # 1454s # g_value_set_boolean (return_value, v_return); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ 1454s # * Code for interface org.project.UsefulInterface 1454s # * ------------------------------------------------------------------------ 1454s # */ 1454s # 1454s # /** 1454s # * SECTION:OrgProjectUsefulInterface 1454s # * @title: OrgProjectUsefulInterface 1454s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1454s # * 1454s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1454s # */ 1454s # 1454s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1454s # 1454s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "arg_y", 1454s # (gchar *) "y", 1454s # NULL 1454s # }, 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "SingleArgMethodY", 1454s # NULL, 1454s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1454s # NULL 1454s # }, 1454s # "handle-single-arg-method-y", 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "org.project.UsefulInterface", 1454s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1454s # NULL, 1454s # NULL, 1454s # NULL 1454s # }, 1454s # "org-project-useful-interface", 1454s # }; 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_interface_info: 1454s # * 1454s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1454s # * 1454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1454s # */ 1454s # GDBusInterfaceInfo * 1454s # org_project_useful_interface_interface_info (void) 1454s # { 1454s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_override_properties: 1454s # * @klass: The class structure for a #GObject derived class. 1454s # * @property_id_begin: The property id to assign to the first overridden property. 1454s # * 1454s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1454s # * The properties are overridden in the order they are defined. 1454s # * 1454s # * Returns: The last property id. 1454s # */ 1454s # guint 1454s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1454s # { 1454s # return property_id_begin - 1; 1454s # } 1454s # 1454s # 1454s # inline static void 1454s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint, 1454s # void *marshal_data) 1454s # { 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1454s # } 1454s # 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterface: 1454s # * 1454s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceIface: 1454s # * @parent_iface: The parent interface. 1454s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1454s # * 1454s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1454s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1454s # 1454s # static void 1454s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1454s # { 1454s # /* GObject signals for incoming D-Bus method calls: */ 1454s # /** 1454s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: A #GDBusMethodInvocation. 1454s # * 1454s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1454s # * 1454s # * 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. 1454s # * 1454s # * 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. 1454s # */ 1454s # g_signal_new ("handle-single-arg-method-y", 1454s # G_TYPE_FROM_INTERFACE (iface), 1454s # G_SIGNAL_RUN_LAST, 1454s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1454s # g_signal_accumulator_true_handled, 1454s # NULL, 1454s # org_project_useful_interface_method_marshal_single_arg_method_y, 1454s # G_TYPE_BOOLEAN, 1454s # 1, 1454s # G_TYPE_DBUS_METHOD_INVOCATION); 1454s # 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_y: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1454s # */ 1454s # void 1454s # org_project_useful_interface_call_single_arg_method_y ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodY", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # callback, 1454s # user_data); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_y_finish: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_y_finish ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # guchar *out_arg_y, 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(y)", 1454s # out_arg_y); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_y_sync: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_y_sync ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # guchar *out_arg_y, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodY", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(y)", 1454s # out_arg_y); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_complete_single_arg_method_y: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1454s # * @arg_y: Parameter to return. 1454s # * 1454s # * 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. 1454s # * 1454s # * This method will free @invocation, you cannot use it afterwards. 1454s # */ 1454s # void 1454s # org_project_useful_interface_complete_single_arg_method_y ( 1454s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1454s # GDBusMethodInvocation *invocation, 1454s # guchar arg_y) 1454s # { 1454s # g_dbus_method_invocation_return_value (invocation, 1454s # g_variant_new ("(y)", 1454s # arg_y)); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxy: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxyClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceProxyPrivate 1454s # { 1454s # GData *qdata; 1454s # }; 1454s # 1454s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_proxy_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1454s # g_datalist_clear (&proxy->priv->qdata); 1454s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # const GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1454s # const gchar *sender_name G_GNUC_UNUSED, 1454s # const gchar *signal_name, 1454s # GVariant *parameters) 1454s # { 1454s # _ExtendedGDBusSignalInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # gsize n; 1454s # guint signal_id; 1454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1454s # if (info == NULL) 1454s # return; 1454s # num_params = g_variant_n_children (parameters); 1454s # paramv = g_new0 (GValue, num_params + 1); 1454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[0], proxy); 1454s # g_variant_iter_init (&iter, parameters); 1454s # n = 1; 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_signal_emitv (paramv, signal_id, 0, NULL); 1454s # for (n = 0; n < num_params + 1; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1454s # GVariant *changed_properties, 1454s # const gchar *const *invalidated_properties) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1454s # guint n; 1454s # const gchar *key; 1454s # GVariantIter *iter; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # g_variant_get (changed_properties, "a{sv}", &iter); 1454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1454s # g_datalist_remove_data (&proxy->priv->qdata, key); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # g_variant_iter_free (iter); 1454s # for (n = 0; invalidated_properties[n] != NULL; n++) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1454s # #else 1454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1454s # #endif 1454s # 1454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusProxyClass *proxy_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1454s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1454s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1454s # 1454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1454s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1454s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_sync: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_sync ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new_for_bus ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_sync: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_sync ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeleton: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeletonClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1454s # { 1454s # GValue *properties; 1454s # GList *changed_properties; 1454s # GSource *changed_properties_idle_source; 1454s # GMainContext *context; 1454s # GMutex lock; 1454s # }; 1454s # 1454s # static void 1454s # _org_project_useful_interface_skeleton_handle_method_call ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name, 1454s # const gchar *method_name, 1454s # GVariant *parameters, 1454s # GDBusMethodInvocation *invocation, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # _ExtendedGDBusMethodInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # guint num_extra; 1454s # gsize n; 1454s # guint signal_id; 1454s # GValue return_value = G_VALUE_INIT; 1454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1454s # g_assert (info != NULL); 1454s # num_params = g_variant_n_children (parameters); 1454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1454s # n = 0; 1454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[n++], skeleton); 1454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1454s # g_value_set_object (¶mv[n++], invocation); 1454s # if (info->pass_fdlist) 1454s # { 1454s # #ifdef G_OS_UNIX 1454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1454s # #else 1454s # g_assert_not_reached (); 1454s # #endif 1454s # } 1454s # g_variant_iter_init (&iter, parameters); 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1454s # if (!g_value_get_boolean (&return_value)) 1454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1454s # g_value_unset (&return_value); 1454s # for (n = 0; n < num_params + num_extra; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static GVariant * 1454s # _org_project_useful_interface_skeleton_handle_get_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # GVariant *ret; 1454s # ret = NULL; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # g_value_init (&value, pspec->value_type); 1454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1454s # g_value_unset (&value); 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _org_project_useful_interface_skeleton_handle_set_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GVariant *variant, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # gboolean ret; 1454s # ret = FALSE; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # if (info->use_gvariant) 1454s # g_value_set_variant (&value, variant); 1454s # else 1454s # g_dbus_gvariant_to_gvalue (variant, &value); 1454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # g_value_unset (&value); 1454s # ret = TRUE; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1454s # { 1454s # _org_project_useful_interface_skeleton_handle_method_call, 1454s # _org_project_useful_interface_skeleton_handle_get_property, 1454s # _org_project_useful_interface_skeleton_handle_set_property, 1454s # {NULL} 1454s # }; 1454s # 1454s # static GDBusInterfaceInfo * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return org_project_useful_interface_interface_info (); 1454s # } 1454s # 1454s # static GDBusInterfaceVTable * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1454s # } 1454s # 1454s # static GVariant * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1454s # 1454s # GVariantBuilder builder; 1454s # guint n; 1454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1454s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1454s # goto out; 1454s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1454s # { 1454s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1454s # { 1454s # GVariant *value; 1454s # 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); 1454s # if (value != NULL) 1454s # { 1454s # g_variant_take_ref (value); 1454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1454s # g_variant_unref (value); 1454s # } 1454s # } 1454s # } 1454s # out: 1454s # return g_variant_builder_end (&builder); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_skeleton_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1454s # if (skeleton->priv->changed_properties_idle_source != NULL) 1454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1454s # g_main_context_unref (skeleton->priv->context); 1454s # g_mutex_clear (&skeleton->priv->lock); 1454s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1454s # #else 1454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1454s # #endif 1454s # 1454s # g_mutex_init (&skeleton->priv->lock); 1454s # skeleton->priv->context = g_main_context_ref_thread_default (); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusInterfaceSkeletonClass *skeleton_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1454s # 1454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1454s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1454s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1454s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1454s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_skeleton_new: 1454s # * 1454s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_skeleton_new (void) 1454s # { 1454s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1454s # } 1454s # /tmp/tmphxl458b8/tmp3210nbns.xml: 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp3210nbns.xml', '--output', '-', '--body'] 1454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1454s # Output: /* 1454s # * This file is generated by gdbus-codegen, do not modify it. 1454s # * 1454s # * The license of this code is the same as for the D-Bus interface description 1454s # * it was derived from. Note that it links to GLib, so must comply with the 1454s # * LGPL linking clauses. 1454s # */ 1454s # 1454s # #ifdef HAVE_CONFIG_H 1454s # # include "config.h" 1454s # #endif 1454s # 1454s # #include 1454s # #ifdef G_OS_UNIX 1454s # # include 1454s # #endif 1454s # 1454s # #ifdef G_ENABLE_DEBUG 1454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1454s # #else /* !G_ENABLE_DEBUG */ 1454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1454s # * Do not access GValues directly in your code. Instead, use the 1454s # * g_value_get_*() functions 1454s # */ 1454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1454s # #endif /* !G_ENABLE_DEBUG */ 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusArgInfo parent_struct; 1454s # gboolean use_gvariant; 1454s # } _ExtendedGDBusArgInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusMethodInfo parent_struct; 1454s # const gchar *signal_name; 1454s # gboolean pass_fdlist; 1454s # } _ExtendedGDBusMethodInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusSignalInfo parent_struct; 1454s # const gchar *signal_name; 1454s # } _ExtendedGDBusSignalInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusPropertyInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # guint use_gvariant : 1; 1454s # guint emits_changed_signal : 1; 1454s # } _ExtendedGDBusPropertyInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusInterfaceInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # } _ExtendedGDBusInterfaceInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # const _ExtendedGDBusPropertyInfo *info; 1454s # guint prop_id; 1454s # GValue orig_value; /* the value before the change */ 1454s # } ChangedProperty; 1454s # 1454s # static void 1454s # _changed_property_free (ChangedProperty *data) 1454s # { 1454s # g_value_unset (&data->orig_value); 1454s # g_free (data); 1454s # } 1454s # 1454s # static gboolean 1454s # _g_strv_equal0 (gchar **a, gchar **b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # guint n; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # if (g_strv_length (a) != g_strv_length (b)) 1454s # goto out; 1454s # for (n = 0; a[n] != NULL; n++) 1454s # if (g_strcmp0 (a[n], b[n]) != 0) 1454s # goto out; 1454s # ret = TRUE; 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _g_variant_equal0 (GVariant *a, GVariant *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # ret = g_variant_equal (a, b); 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # G_GNUC_UNUSED static gboolean 1454s # _g_value_equal (const GValue *a, const GValue *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1454s # switch (G_VALUE_TYPE (a)) 1454s # { 1454s # case G_TYPE_BOOLEAN: 1454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1454s # break; 1454s # case G_TYPE_UCHAR: 1454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1454s # break; 1454s # case G_TYPE_INT: 1454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1454s # break; 1454s # case G_TYPE_UINT: 1454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1454s # break; 1454s # case G_TYPE_INT64: 1454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1454s # break; 1454s # case G_TYPE_UINT64: 1454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1454s # break; 1454s # case G_TYPE_DOUBLE: 1454s # { 1454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1454s # gdouble da = g_value_get_double (a); 1454s # gdouble db = g_value_get_double (b); 1454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1454s # } 1454s # break; 1454s # case G_TYPE_STRING: 1454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1454s # break; 1454s # case G_TYPE_VARIANT: 1454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1454s # break; 1454s # default: 1454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1454s # else 1454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1454s # break; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static void 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint G_GNUC_UNUSED, 1454s # void *marshal_data) 1454s # { 1454s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (void *data1, 1454s # GDBusMethodInvocation *arg_method_invocation, 1454s # void *data2); 1454s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1454s # GCClosure *cc = (GCClosure*) closure; 1454s # void *data1, *data2; 1454s # gboolean v_return; 1454s # 1454s # g_return_if_fail (return_value != NULL); 1454s # g_return_if_fail (n_param_values == 2); 1454s # 1454s # if (G_CCLOSURE_SWAP_DATA (closure)) 1454s # { 1454s # data1 = closure->data; 1454s # data2 = g_value_peek_pointer (param_values + 0); 1454s # } 1454s # else 1454s # { 1454s # data1 = g_value_peek_pointer (param_values + 0); 1454s # data2 = closure->data; 1454s # } 1454s # 1454s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (marshal_data ? marshal_data : cc->callback); 1454s # 1454s # v_return = 1454s # callback (data1, 1454s # g_marshal_value_peek_object (param_values + 1), 1454s # data2); 1454s # 1454s # g_value_set_boolean (return_value, v_return); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ 1454s # * Code for interface org.project.UsefulInterface 1454s # * ------------------------------------------------------------------------ 1454s # */ 1454s # 1454s # /** 1454s # * SECTION:OrgProjectUsefulInterface 1454s # * @title: OrgProjectUsefulInterface 1454s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1454s # * 1454s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1454s # */ 1454s # 1454s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1454s # 1454s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "arg_n", 1454s # (gchar *) "n", 1454s # NULL 1454s # }, 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "SingleArgMethodN", 1454s # NULL, 1454s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1454s # NULL 1454s # }, 1454s # "handle-single-arg-method-n", 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "org.project.UsefulInterface", 1454s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1454s # NULL, 1454s # NULL, 1454s # NULL 1454s # }, 1454s # "org-project-useful-interface", 1454s # }; 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_interface_info: 1454s # * 1454s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1454s # * 1454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1454s # */ 1454s # GDBusInterfaceInfo * 1454s # org_project_useful_interface_interface_info (void) 1454s # { 1454s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_override_properties: 1454s # * @klass: The class structure for a #GObject derived class. 1454s # * @property_id_begin: The property id to assign to the first overridden property. 1454s # * 1454s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1454s # * The properties are overridden in the order they are defined. 1454s # * 1454s # * Returns: The last property id. 1454s # */ 1454s # guint 1454s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1454s # { 1454s # return property_id_begin - 1; 1454s # } 1454s # 1454s # 1454s # inline static void 1454s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint, 1454s # void *marshal_data) 1454s # { 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1454s # } 1454s # 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterface: 1454s # * 1454s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceIface: 1454s # * @parent_iface: The parent interface. 1454s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1454s # * 1454s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1454s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1454s # 1454s # static void 1454s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1454s # { 1454s # /* GObject signals for incoming D-Bus method calls: */ 1454s # /** 1454s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: A #GDBusMethodInvocation. 1454s # * 1454s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1454s # * 1454s # * 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. 1454s # * 1454s # * 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. 1454s # */ 1454s # g_signal_new ("handle-single-arg-method-n", 1454s # G_TYPE_FROM_INTERFACE (iface), 1454s # G_SIGNAL_RUN_LAST, 1454s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1454s # g_signal_accumulator_true_handled, 1454s # NULL, 1454s # org_project_useful_interface_method_marshal_single_arg_method_n, 1454s # G_TYPE_BOOLEAN, 1454s # 1, 1454s # G_TYPE_DBUS_METHOD_INVOCATION); 1454s # 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_n: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1454s # */ 1454s # void 1454s # org_project_useful_interface_call_single_arg_method_n ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodN", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # callback, 1454s # user_data); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_n_finish: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_n_finish ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # gint16 *out_arg_n, 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(n)", 1454s # out_arg_n); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_n_sync: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_n_sync ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # gint16 *out_arg_n, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodN", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(n)", 1454s # out_arg_n); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_complete_single_arg_method_n: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1454s # * @arg_n: Parameter to return. 1454s # * 1454s # * 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. 1454s # * 1454s # * This method will free @invocation, you cannot use it afterwards. 1454s # */ 1454s # void 1454s # org_project_useful_interface_complete_single_arg_method_n ( 1454s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1454s # GDBusMethodInvocation *invocation, 1454s # gint16 arg_n) 1454s # { 1454s # g_dbus_method_invocation_return_value (invocation, 1454s # g_variant_new ("(n)", 1454s # arg_n)); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxy: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxyClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceProxyPrivate 1454s # { 1454s # GData *qdata; 1454s # }; 1454s # 1454s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_proxy_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1454s # g_datalist_clear (&proxy->priv->qdata); 1454s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # const GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1454s # const gchar *sender_name G_GNUC_UNUSED, 1454s # const gchar *signal_name, 1454s # GVariant *parameters) 1454s # { 1454s # _ExtendedGDBusSignalInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # gsize n; 1454s # guint signal_id; 1454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1454s # if (info == NULL) 1454s # return; 1454s # num_params = g_variant_n_children (parameters); 1454s # paramv = g_new0 (GValue, num_params + 1); 1454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[0], proxy); 1454s # g_variant_iter_init (&iter, parameters); 1454s # n = 1; 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_signal_emitv (paramv, signal_id, 0, NULL); 1454s # for (n = 0; n < num_params + 1; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1454s # GVariant *changed_properties, 1454s # const gchar *const *invalidated_properties) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1454s # guint n; 1454s # const gchar *key; 1454s # GVariantIter *iter; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # g_variant_get (changed_properties, "a{sv}", &iter); 1454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1454s # g_datalist_remove_data (&proxy->priv->qdata, key); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # g_variant_iter_free (iter); 1454s # for (n = 0; invalidated_properties[n] != NULL; n++) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1454s # #else 1454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1454s # #endif 1454s # 1454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusProxyClass *proxy_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1454s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1454s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1454s # 1454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1454s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1454s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_sync: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_sync ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new_for_bus ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_sync: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_sync ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeleton: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeletonClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1454s # { 1454s # GValue *properties; 1454s # GList *changed_properties; 1454s # GSource *changed_properties_idle_source; 1454s # GMainContext *context; 1454s # GMutex lock; 1454s # }; 1454s # 1454s # static void 1454s # _org_project_useful_interface_skeleton_handle_method_call ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name, 1454s # const gchar *method_name, 1454s # GVariant *parameters, 1454s # GDBusMethodInvocation *invocation, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # _ExtendedGDBusMethodInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # guint num_extra; 1454s # gsize n; 1454s # guint signal_id; 1454s # GValue return_value = G_VALUE_INIT; 1454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1454s # g_assert (info != NULL); 1454s # num_params = g_variant_n_children (parameters); 1454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1454s # n = 0; 1454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[n++], skeleton); 1454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1454s # g_value_set_object (¶mv[n++], invocation); 1454s # if (info->pass_fdlist) 1454s # { 1454s # #ifdef G_OS_UNIX 1454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1454s # #else 1454s # g_assert_not_reached (); 1454s # #endif 1454s # } 1454s # g_variant_iter_init (&iter, parameters); 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1454s # if (!g_value_get_boolean (&return_value)) 1454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1454s # g_value_unset (&return_value); 1454s # for (n = 0; n < num_params + num_extra; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static GVariant * 1454s # _org_project_useful_interface_skeleton_handle_get_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # GVariant *ret; 1454s # ret = NULL; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # g_value_init (&value, pspec->value_type); 1454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1454s # g_value_unset (&value); 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _org_project_useful_interface_skeleton_handle_set_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GVariant *variant, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # gboolean ret; 1454s # ret = FALSE; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # if (info->use_gvariant) 1454s # g_value_set_variant (&value, variant); 1454s # else 1454s # g_dbus_gvariant_to_gvalue (variant, &value); 1454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # g_value_unset (&value); 1454s # ret = TRUE; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1454s # { 1454s # _org_project_useful_interface_skeleton_handle_method_call, 1454s # _org_project_useful_interface_skeleton_handle_get_property, 1454s # _org_project_useful_interface_skeleton_handle_set_property, 1454s # {NULL} 1454s # }; 1454s # 1454s # static GDBusInterfaceInfo * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return org_project_useful_interface_interface_info (); 1454s # } 1454s # 1454s # static GDBusInterfaceVTable * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1454s # } 1454s # 1454s # static GVariant * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1454s # 1454s # GVariantBuilder builder; 1454s # guint n; 1454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1454s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1454s # goto out; 1454s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1454s # { 1454s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1454s # { 1454s # GVariant *value; 1454s # 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); 1454s # if (value != NULL) 1454s # { 1454s # g_variant_take_ref (value); 1454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1454s # g_variant_unref (value); 1454s # } 1454s # } 1454s # } 1454s # out: 1454s # return g_variant_builder_end (&builder); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_skeleton_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1454s # if (skeleton->priv->changed_properties_idle_source != NULL) 1454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1454s # g_main_context_unref (skeleton->priv->context); 1454s # g_mutex_clear (&skeleton->priv->lock); 1454s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1454s # #else 1454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1454s # #endif 1454s # 1454s # g_mutex_init (&skeleton->priv->lock); 1454s # skeleton->priv->context = g_main_context_ref_thread_default (); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusInterfaceSkeletonClass *skeleton_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1454s # 1454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1454s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1454s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1454s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1454s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_skeleton_new: 1454s # * 1454s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_skeleton_new (void) 1454s # { 1454s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1454s # } 1454s # /tmp/tmphxl458b8/tmpdxqblxio.xml: 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpdxqblxio.xml', '--output', '-', '--body'] 1454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1454s # Output: /* 1454s # * This file is generated by gdbus-codegen, do not modify it. 1454s # * 1454s # * The license of this code is the same as for the D-Bus interface description 1454s # * it was derived from. Note that it links to GLib, so must comply with the 1454s # * LGPL linking clauses. 1454s # */ 1454s # 1454s # #ifdef HAVE_CONFIG_H 1454s # # include "config.h" 1454s # #endif 1454s # 1454s # #include 1454s # #ifdef G_OS_UNIX 1454s # # include 1454s # #endif 1454s # 1454s # #ifdef G_ENABLE_DEBUG 1454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1454s # #else /* !G_ENABLE_DEBUG */ 1454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1454s # * Do not access GValues directly in your code. Instead, use the 1454s # * g_value_get_*() functions 1454s # */ 1454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1454s # #endif /* !G_ENABLE_DEBUG */ 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusArgInfo parent_struct; 1454s # gboolean use_gvariant; 1454s # } _ExtendedGDBusArgInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusMethodInfo parent_struct; 1454s # const gchar *signal_name; 1454s # gboolean pass_fdlist; 1454s # } _ExtendedGDBusMethodInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusSignalInfo parent_struct; 1454s # const gchar *signal_name; 1454s # } _ExtendedGDBusSignalInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusPropertyInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # guint use_gvariant : 1; 1454s # guint emits_changed_signal : 1; 1454s # } _ExtendedGDBusPropertyInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusInterfaceInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # } _ExtendedGDBusInterfaceInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # const _ExtendedGDBusPropertyInfo *info; 1454s # guint prop_id; 1454s # GValue orig_value; /* the value before the change */ 1454s # } ChangedProperty; 1454s # 1454s # static void 1454s # _changed_property_free (ChangedProperty *data) 1454s # { 1454s # g_value_unset (&data->orig_value); 1454s # g_free (data); 1454s # } 1454s # 1454s # static gboolean 1454s # _g_strv_equal0 (gchar **a, gchar **b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # guint n; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # if (g_strv_length (a) != g_strv_length (b)) 1454s # goto out; 1454s # for (n = 0; a[n] != NULL; n++) 1454s # if (g_strcmp0 (a[n], b[n]) != 0) 1454s # goto out; 1454s # ret = TRUE; 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _g_variant_equal0 (GVariant *a, GVariant *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # ret = g_variant_equal (a, b); 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # G_GNUC_UNUSED static gboolean 1454s # _g_value_equal (const GValue *a, const GValue *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1454s # switch (G_VALUE_TYPE (a)) 1454s # { 1454s # case G_TYPE_BOOLEAN: 1454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1454s # break; 1454s # case G_TYPE_UCHAR: 1454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1454s # break; 1454s # case G_TYPE_INT: 1454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1454s # break; 1454s # case G_TYPE_UINT: 1454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1454s # break; 1454s # case G_TYPE_INT64: 1454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1454s # break; 1454s # case G_TYPE_UINT64: 1454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1454s # break; 1454s # case G_TYPE_DOUBLE: 1454s # { 1454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1454s # gdouble da = g_value_get_double (a); 1454s # gdouble db = g_value_get_double (b); 1454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1454s # } 1454s # break; 1454s # case G_TYPE_STRING: 1454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1454s # break; 1454s # case G_TYPE_VARIANT: 1454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1454s # break; 1454s # default: 1454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1454s # else 1454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1454s # break; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static void 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint G_GNUC_UNUSED, 1454s # void *marshal_data) 1454s # { 1454s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (void *data1, 1454s # GDBusMethodInvocation *arg_method_invocation, 1454s # void *data2); 1454s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1454s # GCClosure *cc = (GCClosure*) closure; 1454s # void *data1, *data2; 1454s # gboolean v_return; 1454s # 1454s # g_return_if_fail (return_value != NULL); 1454s # g_return_if_fail (n_param_values == 2); 1454s # 1454s # if (G_CCLOSURE_SWAP_DATA (closure)) 1454s # { 1454s # data1 = closure->data; 1454s # data2 = g_value_peek_pointer (param_values + 0); 1454s # } 1454s # else 1454s # { 1454s # data1 = g_value_peek_pointer (param_values + 0); 1454s # data2 = closure->data; 1454s # } 1454s # 1454s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (marshal_data ? marshal_data : cc->callback); 1454s # 1454s # v_return = 1454s # callback (data1, 1454s # g_marshal_value_peek_object (param_values + 1), 1454s # data2); 1454s # 1454s # g_value_set_boolean (return_value, v_return); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ 1454s # * Code for interface org.project.UsefulInterface 1454s # * ------------------------------------------------------------------------ 1454s # */ 1454s # 1454s # /** 1454s # * SECTION:OrgProjectUsefulInterface 1454s # * @title: OrgProjectUsefulInterface 1454s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1454s # * 1454s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1454s # */ 1454s # 1454s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1454s # 1454s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "arg_q", 1454s # (gchar *) "q", 1454s # NULL 1454s # }, 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "SingleArgMethodQ", 1454s # NULL, 1454s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1454s # NULL 1454s # }, 1454s # "handle-single-arg-method-q", 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "org.project.UsefulInterface", 1454s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1454s # NULL, 1454s # NULL, 1454s # NULL 1454s # }, 1454s # "org-project-useful-interface", 1454s # }; 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_interface_info: 1454s # * 1454s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1454s # * 1454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1454s # */ 1454s # GDBusInterfaceInfo * 1454s # org_project_useful_interface_interface_info (void) 1454s # { 1454s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_override_properties: 1454s # * @klass: The class structure for a #GObject derived class. 1454s # * @property_id_begin: The property id to assign to the first overridden property. 1454s # * 1454s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1454s # * The properties are overridden in the order they are defined. 1454s # * 1454s # * Returns: The last property id. 1454s # */ 1454s # guint 1454s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1454s # { 1454s # return property_id_begin - 1; 1454s # } 1454s # 1454s # 1454s # inline static void 1454s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint, 1454s # void *marshal_data) 1454s # { 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1454s # } 1454s # 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterface: 1454s # * 1454s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceIface: 1454s # * @parent_iface: The parent interface. 1454s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1454s # * 1454s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1454s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1454s # 1454s # static void 1454s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1454s # { 1454s # /* GObject signals for incoming D-Bus method calls: */ 1454s # /** 1454s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: A #GDBusMethodInvocation. 1454s # * 1454s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1454s # * 1454s # * 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. 1454s # * 1454s # * 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. 1454s # */ 1454s # g_signal_new ("handle-single-arg-method-q", 1454s # G_TYPE_FROM_INTERFACE (iface), 1454s # G_SIGNAL_RUN_LAST, 1454s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1454s # g_signal_accumulator_true_handled, 1454s # NULL, 1454s # org_project_useful_interface_method_marshal_single_arg_method_q, 1454s # G_TYPE_BOOLEAN, 1454s # 1, 1454s # G_TYPE_DBUS_METHOD_INVOCATION); 1454s # 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_q: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1454s # */ 1454s # void 1454s # org_project_useful_interface_call_single_arg_method_q ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodQ", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # callback, 1454s # user_data); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_q_finish: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_q_finish ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # guint16 *out_arg_q, 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(q)", 1454s # out_arg_q); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_q_sync: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_q_sync ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # guint16 *out_arg_q, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodQ", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(q)", 1454s # out_arg_q); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_complete_single_arg_method_q: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1454s # * @arg_q: Parameter to return. 1454s # * 1454s # * 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. 1454s # * 1454s # * This method will free @invocation, you cannot use it afterwards. 1454s # */ 1454s # void 1454s # org_project_useful_interface_complete_single_arg_method_q ( 1454s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1454s # GDBusMethodInvocation *invocation, 1454s # guint16 arg_q) 1454s # { 1454s # g_dbus_method_invocation_return_value (invocation, 1454s # g_variant_new ("(q)", 1454s # arg_q)); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxy: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxyClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceProxyPrivate 1454s # { 1454s # GData *qdata; 1454s # }; 1454s # 1454s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_proxy_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1454s # g_datalist_clear (&proxy->priv->qdata); 1454s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # const GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1454s # const gchar *sender_name G_GNUC_UNUSED, 1454s # const gchar *signal_name, 1454s # GVariant *parameters) 1454s # { 1454s # _ExtendedGDBusSignalInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # gsize n; 1454s # guint signal_id; 1454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1454s # if (info == NULL) 1454s # return; 1454s # num_params = g_variant_n_children (parameters); 1454s # paramv = g_new0 (GValue, num_params + 1); 1454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[0], proxy); 1454s # g_variant_iter_init (&iter, parameters); 1454s # n = 1; 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_signal_emitv (paramv, signal_id, 0, NULL); 1454s # for (n = 0; n < num_params + 1; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1454s # GVariant *changed_properties, 1454s # const gchar *const *invalidated_properties) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1454s # guint n; 1454s # const gchar *key; 1454s # GVariantIter *iter; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # g_variant_get (changed_properties, "a{sv}", &iter); 1454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1454s # g_datalist_remove_data (&proxy->priv->qdata, key); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # g_variant_iter_free (iter); 1454s # for (n = 0; invalidated_properties[n] != NULL; n++) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1454s # #else 1454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1454s # #endif 1454s # 1454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusProxyClass *proxy_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1454s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1454s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1454s # 1454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1454s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1454s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_sync: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_sync ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new_for_bus ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_sync: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_sync ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeleton: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeletonClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1454s # { 1454s # GValue *properties; 1454s # GList *changed_properties; 1454s # GSource *changed_properties_idle_source; 1454s # GMainContext *context; 1454s # GMutex lock; 1454s # }; 1454s # 1454s # static void 1454s # _org_project_useful_interface_skeleton_handle_method_call ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name, 1454s # const gchar *method_name, 1454s # GVariant *parameters, 1454s # GDBusMethodInvocation *invocation, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # _ExtendedGDBusMethodInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # guint num_extra; 1454s # gsize n; 1454s # guint signal_id; 1454s # GValue return_value = G_VALUE_INIT; 1454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1454s # g_assert (info != NULL); 1454s # num_params = g_variant_n_children (parameters); 1454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1454s # n = 0; 1454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[n++], skeleton); 1454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1454s # g_value_set_object (¶mv[n++], invocation); 1454s # if (info->pass_fdlist) 1454s # { 1454s # #ifdef G_OS_UNIX 1454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1454s # #else 1454s # g_assert_not_reached (); 1454s # #endif 1454s # } 1454s # g_variant_iter_init (&iter, parameters); 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1454s # if (!g_value_get_boolean (&return_value)) 1454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1454s # g_value_unset (&return_value); 1454s # for (n = 0; n < num_params + num_extra; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static GVariant * 1454s # _org_project_useful_interface_skeleton_handle_get_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # GVariant *ret; 1454s # ret = NULL; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # g_value_init (&value, pspec->value_type); 1454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1454s # g_value_unset (&value); 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _org_project_useful_interface_skeleton_handle_set_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GVariant *variant, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # gboolean ret; 1454s # ret = FALSE; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # if (info->use_gvariant) 1454s # g_value_set_variant (&value, variant); 1454s # else 1454s # g_dbus_gvariant_to_gvalue (variant, &value); 1454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # g_value_unset (&value); 1454s # ret = TRUE; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1454s # { 1454s # _org_project_useful_interface_skeleton_handle_method_call, 1454s # _org_project_useful_interface_skeleton_handle_get_property, 1454s # _org_project_useful_interface_skeleton_handle_set_property, 1454s # {NULL} 1454s # }; 1454s # 1454s # static GDBusInterfaceInfo * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return org_project_useful_interface_interface_info (); 1454s # } 1454s # 1454s # static GDBusInterfaceVTable * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1454s # } 1454s # 1454s # static GVariant * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1454s # 1454s # GVariantBuilder builder; 1454s # guint n; 1454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1454s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1454s # goto out; 1454s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1454s # { 1454s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1454s # { 1454s # GVariant *value; 1454s # 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); 1454s # if (value != NULL) 1454s # { 1454s # g_variant_take_ref (value); 1454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1454s # g_variant_unref (value); 1454s # } 1454s # } 1454s # } 1454s # out: 1454s # return g_variant_builder_end (&builder); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_skeleton_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1454s # if (skeleton->priv->changed_properties_idle_source != NULL) 1454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1454s # g_main_context_unref (skeleton->priv->context); 1454s # g_mutex_clear (&skeleton->priv->lock); 1454s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1454s # #else 1454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1454s # #endif 1454s # 1454s # g_mutex_init (&skeleton->priv->lock); 1454s # skeleton->priv->context = g_main_context_ref_thread_default (); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusInterfaceSkeletonClass *skeleton_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1454s # 1454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1454s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1454s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1454s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1454s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_skeleton_new: 1454s # * 1454s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_skeleton_new (void) 1454s # { 1454s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1454s # } 1454s # /tmp/tmphxl458b8/tmpx69nbtr2.xml: 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # 1454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpx69nbtr2.xml', '--output', '-', '--body'] 1454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1454s # Output: /* 1454s # * This file is generated by gdbus-codegen, do not modify it. 1454s # * 1454s # * The license of this code is the same as for the D-Bus interface description 1454s # * it was derived from. Note that it links to GLib, so must comply with the 1454s # * LGPL linking clauses. 1454s # */ 1454s # 1454s # #ifdef HAVE_CONFIG_H 1454s # # include "config.h" 1454s # #endif 1454s # 1454s # #include 1454s # #ifdef G_OS_UNIX 1454s # # include 1454s # #endif 1454s # 1454s # #ifdef G_ENABLE_DEBUG 1454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1454s # #else /* !G_ENABLE_DEBUG */ 1454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1454s # * Do not access GValues directly in your code. Instead, use the 1454s # * g_value_get_*() functions 1454s # */ 1454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1454s # #endif /* !G_ENABLE_DEBUG */ 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusArgInfo parent_struct; 1454s # gboolean use_gvariant; 1454s # } _ExtendedGDBusArgInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusMethodInfo parent_struct; 1454s # const gchar *signal_name; 1454s # gboolean pass_fdlist; 1454s # } _ExtendedGDBusMethodInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusSignalInfo parent_struct; 1454s # const gchar *signal_name; 1454s # } _ExtendedGDBusSignalInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusPropertyInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # guint use_gvariant : 1; 1454s # guint emits_changed_signal : 1; 1454s # } _ExtendedGDBusPropertyInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # GDBusInterfaceInfo parent_struct; 1454s # const gchar *hyphen_name; 1454s # } _ExtendedGDBusInterfaceInfo; 1454s # 1454s # typedef struct 1454s # { 1454s # const _ExtendedGDBusPropertyInfo *info; 1454s # guint prop_id; 1454s # GValue orig_value; /* the value before the change */ 1454s # } ChangedProperty; 1454s # 1454s # static void 1454s # _changed_property_free (ChangedProperty *data) 1454s # { 1454s # g_value_unset (&data->orig_value); 1454s # g_free (data); 1454s # } 1454s # 1454s # static gboolean 1454s # _g_strv_equal0 (gchar **a, gchar **b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # guint n; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # if (g_strv_length (a) != g_strv_length (b)) 1454s # goto out; 1454s # for (n = 0; a[n] != NULL; n++) 1454s # if (g_strcmp0 (a[n], b[n]) != 0) 1454s # goto out; 1454s # ret = TRUE; 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _g_variant_equal0 (GVariant *a, GVariant *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # if (a == NULL && b == NULL) 1454s # { 1454s # ret = TRUE; 1454s # goto out; 1454s # } 1454s # if (a == NULL || b == NULL) 1454s # goto out; 1454s # ret = g_variant_equal (a, b); 1454s # out: 1454s # return ret; 1454s # } 1454s # 1454s # G_GNUC_UNUSED static gboolean 1454s # _g_value_equal (const GValue *a, const GValue *b) 1454s # { 1454s # gboolean ret = FALSE; 1454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1454s # switch (G_VALUE_TYPE (a)) 1454s # { 1454s # case G_TYPE_BOOLEAN: 1454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1454s # break; 1454s # case G_TYPE_UCHAR: 1454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1454s # break; 1454s # case G_TYPE_INT: 1454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1454s # break; 1454s # case G_TYPE_UINT: 1454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1454s # break; 1454s # case G_TYPE_INT64: 1454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1454s # break; 1454s # case G_TYPE_UINT64: 1454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1454s # break; 1454s # case G_TYPE_DOUBLE: 1454s # { 1454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1454s # gdouble da = g_value_get_double (a); 1454s # gdouble db = g_value_get_double (b); 1454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1454s # } 1454s # break; 1454s # case G_TYPE_STRING: 1454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1454s # break; 1454s # case G_TYPE_VARIANT: 1454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1454s # break; 1454s # default: 1454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1454s # else 1454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1454s # break; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static void 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint G_GNUC_UNUSED, 1454s # void *marshal_data) 1454s # { 1454s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (void *data1, 1454s # GDBusMethodInvocation *arg_method_invocation, 1454s # void *data2); 1454s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1454s # GCClosure *cc = (GCClosure*) closure; 1454s # void *data1, *data2; 1454s # gboolean v_return; 1454s # 1454s # g_return_if_fail (return_value != NULL); 1454s # g_return_if_fail (n_param_values == 2); 1454s # 1454s # if (G_CCLOSURE_SWAP_DATA (closure)) 1454s # { 1454s # data1 = closure->data; 1454s # data2 = g_value_peek_pointer (param_values + 0); 1454s # } 1454s # else 1454s # { 1454s # data1 = g_value_peek_pointer (param_values + 0); 1454s # data2 = closure->data; 1454s # } 1454s # 1454s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1454s # (marshal_data ? marshal_data : cc->callback); 1454s # 1454s # v_return = 1454s # callback (data1, 1454s # g_marshal_value_peek_object (param_values + 1), 1454s # data2); 1454s # 1454s # g_value_set_boolean (return_value, v_return); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ 1454s # * Code for interface org.project.UsefulInterface 1454s # * ------------------------------------------------------------------------ 1454s # */ 1454s # 1454s # /** 1454s # * SECTION:OrgProjectUsefulInterface 1454s # * @title: OrgProjectUsefulInterface 1454s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1454s # * 1454s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1454s # */ 1454s # 1454s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1454s # 1454s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "arg_i", 1454s # (gchar *) "i", 1454s # NULL 1454s # }, 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "SingleArgMethodI", 1454s # NULL, 1454s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1454s # NULL 1454s # }, 1454s # "handle-single-arg-method-i", 1454s # FALSE 1454s # }; 1454s # 1454s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1454s # { 1454s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1454s # NULL 1454s # }; 1454s # 1454s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1454s # { 1454s # { 1454s # -1, 1454s # (gchar *) "org.project.UsefulInterface", 1454s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1454s # NULL, 1454s # NULL, 1454s # NULL 1454s # }, 1454s # "org-project-useful-interface", 1454s # }; 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_interface_info: 1454s # * 1454s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1454s # * 1454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1454s # */ 1454s # GDBusInterfaceInfo * 1454s # org_project_useful_interface_interface_info (void) 1454s # { 1454s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_override_properties: 1454s # * @klass: The class structure for a #GObject derived class. 1454s # * @property_id_begin: The property id to assign to the first overridden property. 1454s # * 1454s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1454s # * The properties are overridden in the order they are defined. 1454s # * 1454s # * Returns: The last property id. 1454s # */ 1454s # guint 1454s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1454s # { 1454s # return property_id_begin - 1; 1454s # } 1454s # 1454s # 1454s # inline static void 1454s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1454s # GClosure *closure, 1454s # GValue *return_value, 1454s # unsigned int n_param_values, 1454s # const GValue *param_values, 1454s # void *invocation_hint, 1454s # void *marshal_data) 1454s # { 1454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1454s # } 1454s # 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterface: 1454s # * 1454s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceIface: 1454s # * @parent_iface: The parent interface. 1454s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1454s # * 1454s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1454s # */ 1454s # 1454s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1454s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1454s # 1454s # static void 1454s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1454s # { 1454s # /* GObject signals for incoming D-Bus method calls: */ 1454s # /** 1454s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: A #GDBusMethodInvocation. 1454s # * 1454s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1454s # * 1454s # * 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. 1454s # * 1454s # * 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. 1454s # */ 1454s # g_signal_new ("handle-single-arg-method-i", 1454s # G_TYPE_FROM_INTERFACE (iface), 1454s # G_SIGNAL_RUN_LAST, 1454s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1454s # g_signal_accumulator_true_handled, 1454s # NULL, 1454s # org_project_useful_interface_method_marshal_single_arg_method_i, 1454s # G_TYPE_BOOLEAN, 1454s # 1, 1454s # G_TYPE_DBUS_METHOD_INVOCATION); 1454s # 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_i: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1454s # */ 1454s # void 1454s # org_project_useful_interface_call_single_arg_method_i ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodI", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # callback, 1454s # user_data); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_i_finish: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_i_finish ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # gint *out_arg_i, 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(i)", 1454s # out_arg_i); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_call_single_arg_method_i_sync: 1454s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1454s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL. 1454s # * 1454s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1454s # * 1454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1454s # */ 1454s # gboolean 1454s # org_project_useful_interface_call_single_arg_method_i_sync ( 1454s # OrgProjectUsefulInterface *proxy, 1454s # gint *out_arg_i, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GVariant *_ret; 1454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1454s # "SingleArgMethodI", 1454s # g_variant_new ("()"), 1454s # G_DBUS_CALL_FLAGS_NONE, 1454s # -1, 1454s # cancellable, 1454s # error); 1454s # if (_ret == NULL) 1454s # goto _out; 1454s # g_variant_get (_ret, 1454s # "(i)", 1454s # out_arg_i); 1454s # g_variant_unref (_ret); 1454s # _out: 1454s # return _ret != NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_complete_single_arg_method_i: 1454s # * @object: A #OrgProjectUsefulInterface. 1454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1454s # * @arg_i: Parameter to return. 1454s # * 1454s # * 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. 1454s # * 1454s # * This method will free @invocation, you cannot use it afterwards. 1454s # */ 1454s # void 1454s # org_project_useful_interface_complete_single_arg_method_i ( 1454s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1454s # GDBusMethodInvocation *invocation, 1454s # gint arg_i) 1454s # { 1454s # g_dbus_method_invocation_return_value (invocation, 1454s # g_variant_new ("(i)", 1454s # arg_i)); 1454s # } 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxy: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceProxyClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceProxyPrivate 1454s # { 1454s # GData *qdata; 1454s # }; 1454s # 1454s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_proxy_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1454s # g_datalist_clear (&proxy->priv->qdata); 1454s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1454s # guint prop_id G_GNUC_UNUSED, 1454s # const GValue *value G_GNUC_UNUSED, 1454s # GParamSpec *pspec G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1454s # const gchar *sender_name G_GNUC_UNUSED, 1454s # const gchar *signal_name, 1454s # GVariant *parameters) 1454s # { 1454s # _ExtendedGDBusSignalInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # gsize n; 1454s # guint signal_id; 1454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1454s # if (info == NULL) 1454s # return; 1454s # num_params = g_variant_n_children (parameters); 1454s # paramv = g_new0 (GValue, num_params + 1); 1454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[0], proxy); 1454s # g_variant_iter_init (&iter, parameters); 1454s # n = 1; 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_signal_emitv (paramv, signal_id, 0, NULL); 1454s # for (n = 0; n < num_params + 1; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1454s # GVariant *changed_properties, 1454s # const gchar *const *invalidated_properties) 1454s # { 1454s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1454s # guint n; 1454s # const gchar *key; 1454s # GVariantIter *iter; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # g_variant_get (changed_properties, "a{sv}", &iter); 1454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1454s # g_datalist_remove_data (&proxy->priv->qdata, key); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # g_variant_iter_free (iter); 1454s # for (n = 0; invalidated_properties[n] != NULL; n++) 1454s # { 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1454s # if (info != NULL) 1454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1454s # } 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1454s # #else 1454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1454s # #endif 1454s # 1454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusProxyClass *proxy_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1454s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1454s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1454s # 1454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1454s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1454s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_sync: 1454s # * @connection: A #GDBusConnection. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_sync ( 1454s # GDBusConnection *connection, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1454s # * @user_data: User data to pass to @callback. 1454s # * 1454s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1454s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1454s # */ 1454s # void 1454s # org_project_useful_interface_proxy_new_for_bus ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GAsyncReadyCallback callback, 1454s # gpointer user_data) 1454s # { 1454s # g_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); 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_finish: 1454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_finish ( 1454s # GAsyncResult *res, 1454s # GError **error) 1454s # { 1454s # GObject *ret; 1454s # GObject *source_object; 1454s # source_object = g_async_result_get_source_object (res); 1454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1454s # g_object_unref (source_object); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # /** 1454s # * org_project_useful_interface_proxy_new_for_bus_sync: 1454s # * @bus_type: A #GBusType. 1454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1454s # * @name: A bus name (well-known or unique). 1454s # * @object_path: An object path. 1454s # * @cancellable: (nullable): A #GCancellable or %NULL. 1454s # * @error: Return location for error or %NULL 1454s # * 1454s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1454s # * 1454s # * The calling thread is blocked until a reply is received. 1454s # * 1454s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1454s # * 1454s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1454s # */ 1454s # OrgProjectUsefulInterface * 1454s # org_project_useful_interface_proxy_new_for_bus_sync ( 1454s # GBusType bus_type, 1454s # GDBusProxyFlags flags, 1454s # const gchar *name, 1454s # const gchar *object_path, 1454s # GCancellable *cancellable, 1454s # GError **error) 1454s # { 1454s # GInitable *ret; 1454s # 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); 1454s # if (ret != NULL) 1454s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1454s # else 1454s # return NULL; 1454s # } 1454s # 1454s # 1454s # /* ------------------------------------------------------------------------ */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeleton: 1454s # * 1454s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1454s # */ 1454s # 1454s # /** 1454s # * OrgProjectUsefulInterfaceSkeletonClass: 1454s # * @parent_class: The parent class. 1454s # * 1454s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1454s # */ 1454s # 1454s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1454s # { 1454s # GValue *properties; 1454s # GList *changed_properties; 1454s # GSource *changed_properties_idle_source; 1454s # GMainContext *context; 1454s # GMutex lock; 1454s # }; 1454s # 1454s # static void 1454s # _org_project_useful_interface_skeleton_handle_method_call ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name, 1454s # const gchar *method_name, 1454s # GVariant *parameters, 1454s # GDBusMethodInvocation *invocation, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # _ExtendedGDBusMethodInfo *info; 1454s # GVariantIter iter; 1454s # GVariant *child; 1454s # GValue *paramv; 1454s # gsize num_params; 1454s # guint num_extra; 1454s # gsize n; 1454s # guint signal_id; 1454s # GValue return_value = G_VALUE_INIT; 1454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1454s # g_assert (info != NULL); 1454s # num_params = g_variant_n_children (parameters); 1454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1454s # n = 0; 1454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_set_object (¶mv[n++], skeleton); 1454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1454s # g_value_set_object (¶mv[n++], invocation); 1454s # if (info->pass_fdlist) 1454s # { 1454s # #ifdef G_OS_UNIX 1454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1454s # #else 1454s # g_assert_not_reached (); 1454s # #endif 1454s # } 1454s # g_variant_iter_init (&iter, parameters); 1454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1454s # { 1454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1454s # if (arg_info->use_gvariant) 1454s # { 1454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1454s # g_value_set_variant (¶mv[n], child); 1454s # n++; 1454s # } 1454s # else 1454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1454s # g_variant_unref (child); 1454s # } 1454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1454s # if (!g_value_get_boolean (&return_value)) 1454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1454s # g_value_unset (&return_value); 1454s # for (n = 0; n < num_params + num_extra; n++) 1454s # g_value_unset (¶mv[n]); 1454s # g_free (paramv); 1454s # } 1454s # 1454s # static GVariant * 1454s # _org_project_useful_interface_skeleton_handle_get_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # GVariant *ret; 1454s # ret = NULL; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # g_value_init (&value, pspec->value_type); 1454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1454s # g_value_unset (&value); 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static gboolean 1454s # _org_project_useful_interface_skeleton_handle_set_property ( 1454s # GDBusConnection *connection G_GNUC_UNUSED, 1454s # const gchar *sender G_GNUC_UNUSED, 1454s # const gchar *object_path G_GNUC_UNUSED, 1454s # const gchar *interface_name G_GNUC_UNUSED, 1454s # const gchar *property_name, 1454s # GVariant *variant, 1454s # GError **error, 1454s # gpointer user_data) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1454s # GValue value = G_VALUE_INIT; 1454s # GParamSpec *pspec; 1454s # _ExtendedGDBusPropertyInfo *info; 1454s # gboolean ret; 1454s # ret = FALSE; 1454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1454s # g_assert (info != NULL); 1454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1454s # if (pspec == NULL) 1454s # { 1454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1454s # } 1454s # else 1454s # { 1454s # if (info->use_gvariant) 1454s # g_value_set_variant (&value, variant); 1454s # else 1454s # g_dbus_gvariant_to_gvalue (variant, &value); 1454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1454s # g_value_unset (&value); 1454s # ret = TRUE; 1454s # } 1454s # return ret; 1454s # } 1454s # 1454s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1454s # { 1454s # _org_project_useful_interface_skeleton_handle_method_call, 1454s # _org_project_useful_interface_skeleton_handle_get_property, 1454s # _org_project_useful_interface_skeleton_handle_set_property, 1454s # {NULL} 1454s # }; 1454s # 1454s # static GDBusInterfaceInfo * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return org_project_useful_interface_interface_info (); 1454s # } 1454s # 1454s # static GDBusInterfaceVTable * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1454s # { 1454s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1454s # } 1454s # 1454s # static GVariant * 1454s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1454s # 1454s # GVariantBuilder builder; 1454s # guint n; 1454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1454s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1454s # goto out; 1454s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1454s # { 1454s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1454s # { 1454s # GVariant *value; 1454s # 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); 1454s # if (value != NULL) 1454s # { 1454s # g_variant_take_ref (value); 1454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1454s # g_variant_unref (value); 1454s # } 1454s # } 1454s # } 1454s # out: 1454s # return g_variant_builder_end (&builder); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1454s # { 1454s # } 1454s # 1454s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #else 1454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1454s # 1454s # #endif 1454s # static void 1454s # org_project_useful_interface_skeleton_finalize (GObject *object) 1454s # { 1454s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1454s # if (skeleton->priv->changed_properties_idle_source != NULL) 1454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1454s # g_main_context_unref (skeleton->priv->context); 1454s # g_mutex_clear (&skeleton->priv->lock); 1454s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1454s # { 1454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1454s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1454s # #else 1454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1454s # #endif 1454s # 1454s # g_mutex_init (&skeleton->priv->lock); 1454s # skeleton->priv->context = g_main_context_ref_thread_default (); 1454s # } 1454s # 1454s # static void 1454s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1454s # { 1454s # GObjectClass *gobject_class; 1454s # GDBusInterfaceSkeletonClass *skeleton_class; 1454s # 1454s # gobject_class = G_OBJECT_CLASS (klass); 1454s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1454s # 1454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1454s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1454s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1454s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1454s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1454s # 1454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1454s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1454s # #endif 1454s # } 1454s # 1454s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmp9v567zz1.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp9v567zz1.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_u", 1455s # (gchar *) "u", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodU", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-u", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-u", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_u, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_u: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_u ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodU", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_u_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_u_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # guint *out_arg_u, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(u)", 1455s # out_arg_u); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_u_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_u_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # guint *out_arg_u, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodU", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(u)", 1455s # out_arg_u); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_u: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_u: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_u ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # guint arg_u) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(u)", 1455s # arg_u)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpht2j7i9f.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpht2j7i9f.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_x", 1455s # (gchar *) "x", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodX", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-x", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-x", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_x, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_x: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_x ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodX", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_x_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_x_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gint64 *out_arg_x, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(x)", 1455s # out_arg_x); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_x_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_x_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gint64 *out_arg_x, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodX", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(x)", 1455s # out_arg_x); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_x: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_x: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_x ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # gint64 arg_x) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(x)", 1455s # arg_x)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpktllhij2.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpktllhij2.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_t", 1455s # (gchar *) "t", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodT", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-t", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-t", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_t, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_t: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_t ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodT", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_t_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_t_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # guint64 *out_arg_t, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(t)", 1455s # out_arg_t); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_t_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_t_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # guint64 *out_arg_t, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodT", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(t)", 1455s # out_arg_t); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_t: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_t: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_t ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # guint64 arg_t) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(t)", 1455s # arg_t)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpshievc6e.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpshievc6e.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_d", 1455s # (gchar *) "d", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodD", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-d", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-d", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_d, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_d: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_d ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodD", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_d_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_d_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gdouble *out_arg_d, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(d)", 1455s # out_arg_d); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_d_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_d_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gdouble *out_arg_d, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodD", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(d)", 1455s # out_arg_d); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_d: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_d: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_d ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # gdouble arg_d) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(d)", 1455s # arg_d)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmp4tlxio9q.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp4tlxio9q.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_s", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodS", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-s", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-s", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_s, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_s: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_s ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodS", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_s_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_s_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_s, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(s)", 1455s # out_arg_s); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_s_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_s_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_s, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodS", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(s)", 1455s # out_arg_s); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_s: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_s: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_s ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *arg_s) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(s)", 1455s # arg_s)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmp91_zi1eh.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp91_zi1eh.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_o", 1455s # (gchar *) "o", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodO", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-o", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-o", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_o, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_o: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_o ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodO", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_o_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_o_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_o, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(o)", 1455s # out_arg_o); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_o_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_o_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_o, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodO", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(o)", 1455s # out_arg_o); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_o: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_o: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_o ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *arg_o) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(o)", 1455s # arg_o)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpgo8n484j.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpgo8n484j.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_g", 1455s # (gchar *) "g", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodG", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-g", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-g", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_g, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_g: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_g ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodG", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_g_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_g_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_g, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(g)", 1455s # out_arg_g); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_g_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_g_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_g, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodG", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(g)", 1455s # out_arg_g); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_g: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_g: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_g ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *arg_g) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(g)", 1455s # arg_g)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmp6sqgw7kc.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp6sqgw7kc.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_h", 1455s # (gchar *) "h", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodH", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-h", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-h", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_h, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_h: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_h ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodH", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_h_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_h_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GVariant **out_arg_h, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(@h)", 1455s # out_arg_h); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_h_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_h_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GVariant **out_arg_h, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodH", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(@h)", 1455s # out_arg_h); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_h: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_h: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_h ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # GVariant *arg_h) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(@h)", 1455s # arg_h)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpo30wnmv2.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpo30wnmv2.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_ay", 1455s # (gchar *) "ay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodAy", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-ay", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-ay", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_ay: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_ay ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAy", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_ay, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^ay)", 1455s # out_arg_ay); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar **out_arg_ay, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAy", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^ay)", 1455s # out_arg_ay); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_ay: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_ay: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_ay ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *arg_ay) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(^ay)", 1455s # arg_ay)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmp7r3wbxhh.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmp7r3wbxhh.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_as", 1455s # (gchar *) "as", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodAs", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-as", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-as", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_as, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_as: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_as ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAs", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_as_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_as_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar ***out_arg_as, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^as)", 1455s # out_arg_as); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_as_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_as_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar ***out_arg_as, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAs", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^as)", 1455s # out_arg_as); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_as: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_as: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_as ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *const *arg_as) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(^as)", 1455s # arg_as)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpj4ji8cjg.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpj4ji8cjg.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_ao", 1455s # (gchar *) "ao", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodAo", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-ao", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-ao", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_ao: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_ao ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAo", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar ***out_arg_ao, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^ao)", 1455s # out_arg_ao); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar ***out_arg_ao, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAo", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^ao)", 1455s # out_arg_ao); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_ao: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_ao: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_ao ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *const *arg_ao) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(^ao)", 1455s # arg_ao)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpzcng9fas.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpzcng9fas.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_aay", 1455s # (gchar *) "aay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodAay", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-aay", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-aay", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_aay: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_aay ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAay", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar ***out_arg_aay, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^aay)", 1455s # out_arg_aay); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # gchar ***out_arg_aay, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAay", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(^aay)", 1455s # out_arg_aay); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_aay: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_aay: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_aay ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # const gchar *const *arg_aay) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(^aay)", 1455s # arg_aay)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s # /tmp/tmphxl458b8/tmpzyew8j93.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphxl458b8/tmpzyew8j93.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.UsefulInterface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectUsefulInterface 1455s # * @title: OrgProjectUsefulInterface 1455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "arg_asv", 1455s # (gchar *) "a{sv}", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SingleArgMethodAsv", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-single-arg-method-asv", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1455s # { 1455s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.UsefulInterface", 1455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-useful-interface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_useful_interface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1455s # */ 1455s # 1455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-single-arg-method-asv", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_asv: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_useful_interface_call_single_arg_method_asv ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAsv", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GVariant **out_arg_asv, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(@a{sv})", 1455s # out_arg_asv); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1455s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1455s # OrgProjectUsefulInterface *proxy, 1455s # GVariant **out_arg_asv, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SingleArgMethodAsv", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(@a{sv})", 1455s # out_arg_asv); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_complete_single_arg_method_asv: 1455s # * @object: A #OrgProjectUsefulInterface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @arg_asv: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_useful_interface_complete_single_arg_method_asv ( 1455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # GVariant *arg_asv) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(@a{sv})", 1455s # arg_asv)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxy: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_useful_interface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeleton: 1455s # * 1455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectUsefulInterfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_useful_interface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_useful_interface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_useful_interface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1455s # { 1455s # _org_project_useful_interface_skeleton_handle_method_call, 1455s # _org_project_useful_interface_skeleton_handle_get_property, 1455s # _org_project_useful_interface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_useful_interface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_useful_interface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_useful_interface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectUsefulInterface * 1455s # org_project_useful_interface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1455s # } 1455s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1455s # tmpdir: /tmp/tmptpspvfgt 1455s # codegen: /usr/bin/gdbus-codegen 1455s # /tmp/tmptpspvfgt/tmpk4doyyy4.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptpspvfgt/tmpk4doyyy4.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 20); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # g_marshal_value_peek_boolean (param_values + 2), 1455s # g_marshal_value_peek_uchar (param_values + 3), 1455s # g_marshal_value_peek_int (param_values + 4), 1455s # g_marshal_value_peek_uint (param_values + 5), 1455s # g_marshal_value_peek_int (param_values + 6), 1455s # g_marshal_value_peek_uint (param_values + 7), 1455s # g_marshal_value_peek_int64 (param_values + 8), 1455s # g_marshal_value_peek_uint64 (param_values + 9), 1455s # g_marshal_value_peek_double (param_values + 10), 1455s # g_marshal_value_peek_string (param_values + 11), 1455s # g_marshal_value_peek_string (param_values + 12), 1455s # g_marshal_value_peek_string (param_values + 13), 1455s # g_marshal_value_peek_variant (param_values + 14), 1455s # g_marshal_value_peek_string (param_values + 15), 1455s # g_marshal_value_peek_boxed (param_values + 16), 1455s # g_marshal_value_peek_boxed (param_values + 17), 1455s # g_marshal_value_peek_boxed (param_values + 18), 1455s # g_marshal_value_peek_variant (param_values + 19), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.CallableIface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectCallableIface 1455s # * @title: OrgProjectCallableIface 1455s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.CallableIface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_b", 1455s # (gchar *) "b", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_y", 1455s # (gchar *) "y", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_n", 1455s # (gchar *) "n", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_q", 1455s # (gchar *) "q", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_i", 1455s # (gchar *) "i", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_u", 1455s # (gchar *) "u", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_x", 1455s # (gchar *) "x", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_t", 1455s # (gchar *) "t", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_d", 1455s # (gchar *) "d", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_s", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_o", 1455s # (gchar *) "o", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_g", 1455s # (gchar *) "g", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_h", 1455s # (gchar *) "h", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ay", 1455s # (gchar *) "ay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_as", 1455s # (gchar *) "as", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ao", 1455s # (gchar *) "ao", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_aay", 1455s # (gchar *) "aay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_asv", 1455s # (gchar *) "a{sv}", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1455s # { 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "MethodWithManyArgs", 1455s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "handle-method-with-many-args", 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_b", 1455s # (gchar *) "b", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_y", 1455s # (gchar *) "y", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_n", 1455s # (gchar *) "n", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_q", 1455s # (gchar *) "q", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_i", 1455s # (gchar *) "i", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_u", 1455s # (gchar *) "u", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_x", 1455s # (gchar *) "x", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_t", 1455s # (gchar *) "t", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_d", 1455s # (gchar *) "d", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_s", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_o", 1455s # (gchar *) "o", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_g", 1455s # (gchar *) "g", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_h", 1455s # (gchar *) "h", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ay", 1455s # (gchar *) "ay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_as", 1455s # (gchar *) "as", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ao", 1455s # (gchar *) "ao", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_aay", 1455s # (gchar *) "aay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_asv", 1455s # (gchar *) "a{sv}", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1455s # { 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "SameMethodWithManyArgs", 1455s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "handle-same-method-with-many-args", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1455s # { 1455s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1455s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.CallableIface", 1455s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-callable-iface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_callable_iface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_callable_iface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_callable_iface_method_marshal_method_with_many_args ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _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, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # inline static void 1455s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _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, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectCallableIface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1455s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.CallableIface. 1455s # */ 1455s # 1455s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectCallableIface::handle-method-with-many-args: 1455s # * @object: A #OrgProjectCallableIface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * @arg_an_b: Argument passed by remote caller. 1455s # * @arg_an_y: Argument passed by remote caller. 1455s # * @arg_an_n: Argument passed by remote caller. 1455s # * @arg_an_q: Argument passed by remote caller. 1455s # * @arg_an_i: Argument passed by remote caller. 1455s # * @arg_an_u: Argument passed by remote caller. 1455s # * @arg_an_x: Argument passed by remote caller. 1455s # * @arg_an_t: Argument passed by remote caller. 1455s # * @arg_an_d: Argument passed by remote caller. 1455s # * @arg_an_s: Argument passed by remote caller. 1455s # * @arg_an_o: Argument passed by remote caller. 1455s # * @arg_an_g: Argument passed by remote caller. 1455s # * @arg_an_h: Argument passed by remote caller. 1455s # * @arg_an_ay: Argument passed by remote caller. 1455s # * @arg_an_as: Argument passed by remote caller. 1455s # * @arg_an_ao: Argument passed by remote caller. 1455s # * @arg_an_aay: Argument passed by remote caller. 1455s # * @arg_an_asv: Argument passed by remote caller. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-method-with-many-args", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_callable_iface_method_marshal_method_with_many_args, 1455s # G_TYPE_BOOLEAN, 1455s # 19, 1455s # 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); 1455s # 1455s # /** 1455s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1455s # * @object: A #OrgProjectCallableIface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * @arg_an_b: Argument passed by remote caller. 1455s # * @arg_an_y: Argument passed by remote caller. 1455s # * @arg_an_n: Argument passed by remote caller. 1455s # * @arg_an_q: Argument passed by remote caller. 1455s # * @arg_an_i: Argument passed by remote caller. 1455s # * @arg_an_u: Argument passed by remote caller. 1455s # * @arg_an_x: Argument passed by remote caller. 1455s # * @arg_an_t: Argument passed by remote caller. 1455s # * @arg_an_d: Argument passed by remote caller. 1455s # * @arg_an_s: Argument passed by remote caller. 1455s # * @arg_an_o: Argument passed by remote caller. 1455s # * @arg_an_g: Argument passed by remote caller. 1455s # * @arg_an_h: Argument passed by remote caller. 1455s # * @arg_an_ay: Argument passed by remote caller. 1455s # * @arg_an_as: Argument passed by remote caller. 1455s # * @arg_an_ao: Argument passed by remote caller. 1455s # * @arg_an_aay: Argument passed by remote caller. 1455s # * @arg_an_asv: Argument passed by remote caller. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-same-method-with-many-args", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1455s # G_TYPE_BOOLEAN, 1455s # 19, 1455s # 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); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_method_with_many_args: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @arg_an_b: Argument to pass with the method invocation. 1455s # * @arg_an_y: Argument to pass with the method invocation. 1455s # * @arg_an_n: Argument to pass with the method invocation. 1455s # * @arg_an_q: Argument to pass with the method invocation. 1455s # * @arg_an_i: Argument to pass with the method invocation. 1455s # * @arg_an_u: Argument to pass with the method invocation. 1455s # * @arg_an_x: Argument to pass with the method invocation. 1455s # * @arg_an_t: Argument to pass with the method invocation. 1455s # * @arg_an_d: Argument to pass with the method invocation. 1455s # * @arg_an_s: Argument to pass with the method invocation. 1455s # * @arg_an_o: Argument to pass with the method invocation. 1455s # * @arg_an_g: Argument to pass with the method invocation. 1455s # * @arg_an_h: Argument to pass with the method invocation. 1455s # * @arg_an_ay: Argument to pass with the method invocation. 1455s # * @arg_an_as: Argument to pass with the method invocation. 1455s # * @arg_an_ao: Argument to pass with the method invocation. 1455s # * @arg_an_aay: Argument to pass with the method invocation. 1455s # * @arg_an_asv: Argument to pass with the method invocation. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_callable_iface_call_method_with_many_args ( 1455s # OrgProjectCallableIface *proxy, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "MethodWithManyArgs", 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # arg_an_b, 1455s # arg_an_y, 1455s # arg_an_n, 1455s # arg_an_q, 1455s # arg_an_i, 1455s # arg_an_u, 1455s # arg_an_x, 1455s # arg_an_t, 1455s # arg_an_d, 1455s # arg_an_s, 1455s # arg_an_o, 1455s # arg_an_g, 1455s # arg_an_h, 1455s # arg_an_ay, 1455s # arg_an_as, 1455s # arg_an_ao, 1455s # arg_an_aay, 1455s # arg_an_asv), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_method_with_many_args_finish: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_callable_iface_call_method_with_many_args_finish ( 1455s # OrgProjectCallableIface *proxy, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "()"); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_method_with_many_args_sync: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @arg_an_b: Argument to pass with the method invocation. 1455s # * @arg_an_y: Argument to pass with the method invocation. 1455s # * @arg_an_n: Argument to pass with the method invocation. 1455s # * @arg_an_q: Argument to pass with the method invocation. 1455s # * @arg_an_i: Argument to pass with the method invocation. 1455s # * @arg_an_u: Argument to pass with the method invocation. 1455s # * @arg_an_x: Argument to pass with the method invocation. 1455s # * @arg_an_t: Argument to pass with the method invocation. 1455s # * @arg_an_d: Argument to pass with the method invocation. 1455s # * @arg_an_s: Argument to pass with the method invocation. 1455s # * @arg_an_o: Argument to pass with the method invocation. 1455s # * @arg_an_g: Argument to pass with the method invocation. 1455s # * @arg_an_h: Argument to pass with the method invocation. 1455s # * @arg_an_ay: Argument to pass with the method invocation. 1455s # * @arg_an_as: Argument to pass with the method invocation. 1455s # * @arg_an_ao: Argument to pass with the method invocation. 1455s # * @arg_an_aay: Argument to pass with the method invocation. 1455s # * @arg_an_asv: Argument to pass with the method invocation. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_callable_iface_call_method_with_many_args_sync ( 1455s # OrgProjectCallableIface *proxy, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "MethodWithManyArgs", 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # arg_an_b, 1455s # arg_an_y, 1455s # arg_an_n, 1455s # arg_an_q, 1455s # arg_an_i, 1455s # arg_an_u, 1455s # arg_an_x, 1455s # arg_an_t, 1455s # arg_an_d, 1455s # arg_an_s, 1455s # arg_an_o, 1455s # arg_an_g, 1455s # arg_an_h, 1455s # arg_an_ay, 1455s # arg_an_as, 1455s # arg_an_ao, 1455s # arg_an_aay, 1455s # arg_an_asv), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "()"); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_same_method_with_many_args: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @arg_an_b: Argument to pass with the method invocation. 1455s # * @arg_an_y: Argument to pass with the method invocation. 1455s # * @arg_an_n: Argument to pass with the method invocation. 1455s # * @arg_an_q: Argument to pass with the method invocation. 1455s # * @arg_an_i: Argument to pass with the method invocation. 1455s # * @arg_an_u: Argument to pass with the method invocation. 1455s # * @arg_an_x: Argument to pass with the method invocation. 1455s # * @arg_an_t: Argument to pass with the method invocation. 1455s # * @arg_an_d: Argument to pass with the method invocation. 1455s # * @arg_an_s: Argument to pass with the method invocation. 1455s # * @arg_an_o: Argument to pass with the method invocation. 1455s # * @arg_an_g: Argument to pass with the method invocation. 1455s # * @arg_an_h: Argument to pass with the method invocation. 1455s # * @arg_an_ay: Argument to pass with the method invocation. 1455s # * @arg_an_as: Argument to pass with the method invocation. 1455s # * @arg_an_ao: Argument to pass with the method invocation. 1455s # * @arg_an_aay: Argument to pass with the method invocation. 1455s # * @arg_an_asv: Argument to pass with the method invocation. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_callable_iface_call_same_method_with_many_args ( 1455s # OrgProjectCallableIface *proxy, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "SameMethodWithManyArgs", 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # arg_an_b, 1455s # arg_an_y, 1455s # arg_an_n, 1455s # arg_an_q, 1455s # arg_an_i, 1455s # arg_an_u, 1455s # arg_an_x, 1455s # arg_an_t, 1455s # arg_an_d, 1455s # arg_an_s, 1455s # arg_an_o, 1455s # arg_an_g, 1455s # arg_an_h, 1455s # arg_an_ay, 1455s # arg_an_as, 1455s # arg_an_ao, 1455s # arg_an_aay, 1455s # arg_an_asv), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1455s # OrgProjectCallableIface *proxy, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "()"); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @arg_an_b: Argument to pass with the method invocation. 1455s # * @arg_an_y: Argument to pass with the method invocation. 1455s # * @arg_an_n: Argument to pass with the method invocation. 1455s # * @arg_an_q: Argument to pass with the method invocation. 1455s # * @arg_an_i: Argument to pass with the method invocation. 1455s # * @arg_an_u: Argument to pass with the method invocation. 1455s # * @arg_an_x: Argument to pass with the method invocation. 1455s # * @arg_an_t: Argument to pass with the method invocation. 1455s # * @arg_an_d: Argument to pass with the method invocation. 1455s # * @arg_an_s: Argument to pass with the method invocation. 1455s # * @arg_an_o: Argument to pass with the method invocation. 1455s # * @arg_an_g: Argument to pass with the method invocation. 1455s # * @arg_an_h: Argument to pass with the method invocation. 1455s # * @arg_an_ay: Argument to pass with the method invocation. 1455s # * @arg_an_as: Argument to pass with the method invocation. 1455s # * @arg_an_ao: Argument to pass with the method invocation. 1455s # * @arg_an_aay: Argument to pass with the method invocation. 1455s # * @arg_an_asv: Argument to pass with the method invocation. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1455s # OrgProjectCallableIface *proxy, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "SameMethodWithManyArgs", 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # arg_an_b, 1455s # arg_an_y, 1455s # arg_an_n, 1455s # arg_an_q, 1455s # arg_an_i, 1455s # arg_an_u, 1455s # arg_an_x, 1455s # arg_an_t, 1455s # arg_an_d, 1455s # arg_an_s, 1455s # arg_an_o, 1455s # arg_an_g, 1455s # arg_an_h, 1455s # arg_an_ay, 1455s # arg_an_as, 1455s # arg_an_ao, 1455s # arg_an_aay, 1455s # arg_an_asv), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "()"); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_complete_method_with_many_args: 1455s # * @object: A #OrgProjectCallableIface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_callable_iface_complete_method_with_many_args ( 1455s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("()")); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_complete_same_method_with_many_args: 1455s # * @object: A #OrgProjectCallableIface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_callable_iface_complete_same_method_with_many_args ( 1455s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("()")); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceProxy: 1455s # * 1455s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectCallableIfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectCallableIfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_callable_iface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1455s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1455s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_callable_iface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_callable_iface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceSkeleton: 1455s # * 1455s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectCallableIfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_callable_iface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_callable_iface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_callable_iface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1455s # { 1455s # _org_project_callable_iface_skeleton_handle_method_call, 1455s # _org_project_callable_iface_skeleton_handle_get_property, 1455s # _org_project_callable_iface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_callable_iface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_callable_iface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.OtherCallableIface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectOtherCallableIface 1455s # * @title: OrgProjectOtherCallableIface 1455s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_b", 1455s # (gchar *) "b", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_y", 1455s # (gchar *) "y", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_n", 1455s # (gchar *) "n", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_q", 1455s # (gchar *) "q", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_i", 1455s # (gchar *) "i", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_u", 1455s # (gchar *) "u", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_x", 1455s # (gchar *) "x", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_t", 1455s # (gchar *) "t", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_d", 1455s # (gchar *) "d", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_s", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_o", 1455s # (gchar *) "o", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_g", 1455s # (gchar *) "g", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_h", 1455s # (gchar *) "h", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ay", 1455s # (gchar *) "ay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_as", 1455s # (gchar *) "as", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ao", 1455s # (gchar *) "ao", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_aay", 1455s # (gchar *) "aay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_asv", 1455s # (gchar *) "a{sv}", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1455s # { 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "MethodWithManyArgs", 1455s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "handle-method-with-many-args", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1455s # { 1455s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.OtherCallableIface", 1455s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-other-callable-iface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_other_callable_iface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _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, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectOtherCallableIface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectOtherCallableIfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1455s # */ 1455s # 1455s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1455s # * @object: A #OrgProjectOtherCallableIface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * @arg_an_b: Argument passed by remote caller. 1455s # * @arg_an_y: Argument passed by remote caller. 1455s # * @arg_an_n: Argument passed by remote caller. 1455s # * @arg_an_q: Argument passed by remote caller. 1455s # * @arg_an_i: Argument passed by remote caller. 1455s # * @arg_an_u: Argument passed by remote caller. 1455s # * @arg_an_x: Argument passed by remote caller. 1455s # * @arg_an_t: Argument passed by remote caller. 1455s # * @arg_an_d: Argument passed by remote caller. 1455s # * @arg_an_s: Argument passed by remote caller. 1455s # * @arg_an_o: Argument passed by remote caller. 1455s # * @arg_an_g: Argument passed by remote caller. 1455s # * @arg_an_h: Argument passed by remote caller. 1455s # * @arg_an_ay: Argument passed by remote caller. 1455s # * @arg_an_as: Argument passed by remote caller. 1455s # * @arg_an_ao: Argument passed by remote caller. 1455s # * @arg_an_aay: Argument passed by remote caller. 1455s # * @arg_an_asv: Argument passed by remote caller. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-method-with-many-args", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1455s # G_TYPE_BOOLEAN, 1455s # 19, 1455s # 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); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_call_method_with_many_args: 1455s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1455s # * @arg_an_b: Argument to pass with the method invocation. 1455s # * @arg_an_y: Argument to pass with the method invocation. 1455s # * @arg_an_n: Argument to pass with the method invocation. 1455s # * @arg_an_q: Argument to pass with the method invocation. 1455s # * @arg_an_i: Argument to pass with the method invocation. 1455s # * @arg_an_u: Argument to pass with the method invocation. 1455s # * @arg_an_x: Argument to pass with the method invocation. 1455s # * @arg_an_t: Argument to pass with the method invocation. 1455s # * @arg_an_d: Argument to pass with the method invocation. 1455s # * @arg_an_s: Argument to pass with the method invocation. 1455s # * @arg_an_o: Argument to pass with the method invocation. 1455s # * @arg_an_g: Argument to pass with the method invocation. 1455s # * @arg_an_h: Argument to pass with the method invocation. 1455s # * @arg_an_ay: Argument to pass with the method invocation. 1455s # * @arg_an_as: Argument to pass with the method invocation. 1455s # * @arg_an_ao: Argument to pass with the method invocation. 1455s # * @arg_an_aay: Argument to pass with the method invocation. 1455s # * @arg_an_asv: Argument to pass with the method invocation. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_other_callable_iface_call_method_with_many_args ( 1455s # OrgProjectOtherCallableIface *proxy, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "MethodWithManyArgs", 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # arg_an_b, 1455s # arg_an_y, 1455s # arg_an_n, 1455s # arg_an_q, 1455s # arg_an_i, 1455s # arg_an_u, 1455s # arg_an_x, 1455s # arg_an_t, 1455s # arg_an_d, 1455s # arg_an_s, 1455s # arg_an_o, 1455s # arg_an_g, 1455s # arg_an_h, 1455s # arg_an_ay, 1455s # arg_an_as, 1455s # arg_an_ao, 1455s # arg_an_aay, 1455s # arg_an_asv), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1455s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1455s # OrgProjectOtherCallableIface *proxy, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "()"); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1455s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1455s # * @arg_an_b: Argument to pass with the method invocation. 1455s # * @arg_an_y: Argument to pass with the method invocation. 1455s # * @arg_an_n: Argument to pass with the method invocation. 1455s # * @arg_an_q: Argument to pass with the method invocation. 1455s # * @arg_an_i: Argument to pass with the method invocation. 1455s # * @arg_an_u: Argument to pass with the method invocation. 1455s # * @arg_an_x: Argument to pass with the method invocation. 1455s # * @arg_an_t: Argument to pass with the method invocation. 1455s # * @arg_an_d: Argument to pass with the method invocation. 1455s # * @arg_an_s: Argument to pass with the method invocation. 1455s # * @arg_an_o: Argument to pass with the method invocation. 1455s # * @arg_an_g: Argument to pass with the method invocation. 1455s # * @arg_an_h: Argument to pass with the method invocation. 1455s # * @arg_an_ay: Argument to pass with the method invocation. 1455s # * @arg_an_as: Argument to pass with the method invocation. 1455s # * @arg_an_ao: Argument to pass with the method invocation. 1455s # * @arg_an_aay: Argument to pass with the method invocation. 1455s # * @arg_an_asv: Argument to pass with the method invocation. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1455s # OrgProjectOtherCallableIface *proxy, 1455s # gboolean arg_an_b, 1455s # guchar arg_an_y, 1455s # gint16 arg_an_n, 1455s # guint16 arg_an_q, 1455s # gint arg_an_i, 1455s # guint arg_an_u, 1455s # gint64 arg_an_x, 1455s # guint64 arg_an_t, 1455s # gdouble arg_an_d, 1455s # const gchar *arg_an_s, 1455s # const gchar *arg_an_o, 1455s # const gchar *arg_an_g, 1455s # GVariant *arg_an_h, 1455s # const gchar *arg_an_ay, 1455s # const gchar *const *arg_an_as, 1455s # const gchar *const *arg_an_ao, 1455s # const gchar *const *arg_an_aay, 1455s # GVariant *arg_an_asv, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "MethodWithManyArgs", 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # arg_an_b, 1455s # arg_an_y, 1455s # arg_an_n, 1455s # arg_an_q, 1455s # arg_an_i, 1455s # arg_an_u, 1455s # arg_an_x, 1455s # arg_an_t, 1455s # arg_an_d, 1455s # arg_an_s, 1455s # arg_an_o, 1455s # arg_an_g, 1455s # arg_an_h, 1455s # arg_an_ay, 1455s # arg_an_as, 1455s # arg_an_ao, 1455s # arg_an_aay, 1455s # arg_an_asv), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "()"); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_complete_method_with_many_args: 1455s # * @object: A #OrgProjectOtherCallableIface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_other_callable_iface_complete_method_with_many_args ( 1455s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("()")); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectOtherCallableIfaceProxy: 1455s # * 1455s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectOtherCallableIfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1455s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1455s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_other_callable_iface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectOtherCallableIface * 1455s # org_project_other_callable_iface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectOtherCallableIface * 1455s # org_project_other_callable_iface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_other_callable_iface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectOtherCallableIface * 1455s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectOtherCallableIface * 1455s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectOtherCallableIfaceSkeleton: 1455s # * 1455s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectOtherCallableIfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1455s # { 1455s # _org_project_other_callable_iface_skeleton_handle_method_call, 1455s # _org_project_other_callable_iface_skeleton_handle_get_property, 1455s # _org_project_other_callable_iface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_other_callable_iface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_other_callable_iface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectOtherCallableIface * 1455s # org_project_other_callable_iface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1455s # } 1455s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1455s # tmpdir: /tmp/tmpjx9hi6l8 1455s # codegen: /usr/bin/gdbus-codegen 1455s # /tmp/tmpjx9hi6l8/tmpub0uyy0e.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjx9hi6l8/tmpub0uyy0e.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (void *data1, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 2); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface org.project.CallableIface 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:OrgProjectCallableIface 1455s # * @title: OrgProjectCallableIface 1455s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1455s # * 1455s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for org.project.CallableIface ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_b", 1455s # (gchar *) "b", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_y", 1455s # (gchar *) "y", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_n", 1455s # (gchar *) "n", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_q", 1455s # (gchar *) "q", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_i", 1455s # (gchar *) "i", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_u", 1455s # (gchar *) "u", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_x", 1455s # (gchar *) "x", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_t", 1455s # (gchar *) "t", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_d", 1455s # (gchar *) "d", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_s", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_o", 1455s # (gchar *) "o", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_g", 1455s # (gchar *) "g", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_h", 1455s # (gchar *) "h", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ay", 1455s # (gchar *) "ay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_as", 1455s # (gchar *) "as", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_ao", 1455s # (gchar *) "ao", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_aay", 1455s # (gchar *) "aay", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "an_asv", 1455s # (gchar *) "a{sv}", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1455s # { 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "MethodWithManyArgs", 1455s # NULL, 1455s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-method-with-many-args", 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1455s # { 1455s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "org.project.CallableIface", 1455s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "org-project-callable-iface", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * org_project_callable_iface_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # org_project_callable_iface_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # org_project_callable_iface_method_marshal_method_with_many_args ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * OrgProjectCallableIface: 1455s # * 1455s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1455s # * 1455s # * Virtual table for the D-Bus interface org.project.CallableIface. 1455s # */ 1455s # 1455s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1455s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * OrgProjectCallableIface::handle-method-with-many-args: 1455s # * @object: A #OrgProjectCallableIface. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-method-with-many-args", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # org_project_callable_iface_method_marshal_method_with_many_args, 1455s # G_TYPE_BOOLEAN, 1455s # 1, 1455s # G_TYPE_DBUS_METHOD_INVOCATION); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_method_with_many_args: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # org_project_callable_iface_call_method_with_many_args ( 1455s # OrgProjectCallableIface *proxy, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1455s # "MethodWithManyArgs", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_method_with_many_args_finish: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_callable_iface_call_method_with_many_args_finish ( 1455s # OrgProjectCallableIface *proxy, 1455s # gboolean *out_an_b, 1455s # guchar *out_an_y, 1455s # gint16 *out_an_n, 1455s # guint16 *out_an_q, 1455s # gint *out_an_i, 1455s # guint *out_an_u, 1455s # gint64 *out_an_x, 1455s # guint64 *out_an_t, 1455s # gdouble *out_an_d, 1455s # gchar **out_an_s, 1455s # gchar **out_an_o, 1455s # gchar **out_an_g, 1455s # GVariant **out_an_h, 1455s # gchar **out_an_ay, 1455s # gchar ***out_an_as, 1455s # gchar ***out_an_ao, 1455s # gchar ***out_an_aay, 1455s # GVariant **out_an_asv, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # out_an_b, 1455s # out_an_y, 1455s # out_an_n, 1455s # out_an_q, 1455s # out_an_i, 1455s # out_an_u, 1455s # out_an_x, 1455s # out_an_t, 1455s # out_an_d, 1455s # out_an_s, 1455s # out_an_o, 1455s # out_an_g, 1455s # out_an_h, 1455s # out_an_ay, 1455s # out_an_as, 1455s # out_an_ao, 1455s # out_an_aay, 1455s # out_an_asv); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_call_method_with_many_args_sync: 1455s # * @proxy: A #OrgProjectCallableIfaceProxy. 1455s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1455s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # org_project_callable_iface_call_method_with_many_args_sync ( 1455s # OrgProjectCallableIface *proxy, 1455s # gboolean *out_an_b, 1455s # guchar *out_an_y, 1455s # gint16 *out_an_n, 1455s # guint16 *out_an_q, 1455s # gint *out_an_i, 1455s # guint *out_an_u, 1455s # gint64 *out_an_x, 1455s # guint64 *out_an_t, 1455s # gdouble *out_an_d, 1455s # gchar **out_an_s, 1455s # gchar **out_an_o, 1455s # gchar **out_an_g, 1455s # GVariant **out_an_h, 1455s # gchar **out_an_ay, 1455s # gchar ***out_an_as, 1455s # gchar ***out_an_ao, 1455s # gchar ***out_an_aay, 1455s # GVariant **out_an_asv, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1455s # "MethodWithManyArgs", 1455s # g_variant_new ("()"), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # out_an_b, 1455s # out_an_y, 1455s # out_an_n, 1455s # out_an_q, 1455s # out_an_i, 1455s # out_an_u, 1455s # out_an_x, 1455s # out_an_t, 1455s # out_an_d, 1455s # out_an_s, 1455s # out_an_o, 1455s # out_an_g, 1455s # out_an_h, 1455s # out_an_ay, 1455s # out_an_as, 1455s # out_an_ao, 1455s # out_an_aay, 1455s # out_an_asv); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_complete_method_with_many_args: 1455s # * @object: A #OrgProjectCallableIface. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @an_b: Parameter to return. 1455s # * @an_y: Parameter to return. 1455s # * @an_n: Parameter to return. 1455s # * @an_q: Parameter to return. 1455s # * @an_i: Parameter to return. 1455s # * @an_u: Parameter to return. 1455s # * @an_x: Parameter to return. 1455s # * @an_t: Parameter to return. 1455s # * @an_d: Parameter to return. 1455s # * @an_s: Parameter to return. 1455s # * @an_o: Parameter to return. 1455s # * @an_g: Parameter to return. 1455s # * @an_h: Parameter to return. 1455s # * @an_ay: Parameter to return. 1455s # * @an_as: Parameter to return. 1455s # * @an_ao: Parameter to return. 1455s # * @an_aay: Parameter to return. 1455s # * @an_asv: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # org_project_callable_iface_complete_method_with_many_args ( 1455s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # gboolean an_b, 1455s # guchar an_y, 1455s # gint16 an_n, 1455s # guint16 an_q, 1455s # gint an_i, 1455s # guint an_u, 1455s # gint64 an_x, 1455s # guint64 an_t, 1455s # gdouble an_d, 1455s # const gchar *an_s, 1455s # const gchar *an_o, 1455s # const gchar *an_g, 1455s # GVariant *an_h, 1455s # const gchar *an_ay, 1455s # const gchar *const *an_as, 1455s # const gchar *const *an_ao, 1455s # const gchar *const *an_aay, 1455s # GVariant *an_asv) 1455s # { 1455s # g_dbus_method_invocation_return_value (invocation, 1455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1455s # an_b, 1455s # an_y, 1455s # an_n, 1455s # an_q, 1455s # an_i, 1455s # an_u, 1455s # an_x, 1455s # an_t, 1455s # an_d, 1455s # an_s, 1455s # an_o, 1455s # an_g, 1455s # an_h, 1455s # an_ay, 1455s # an_as, 1455s # an_ao, 1455s # an_aay, 1455s # an_asv)); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceProxy: 1455s # * 1455s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectCallableIfaceProxy. 1455s # */ 1455s # 1455s # struct _OrgProjectCallableIfaceProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_callable_iface_proxy_finalize (GObject *object) 1455s # { 1455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1455s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1455s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1455s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_callable_iface_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # org_project_callable_iface_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceSkeleton: 1455s # * 1455s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * OrgProjectCallableIfaceSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1455s # */ 1455s # 1455s # struct _OrgProjectCallableIfaceSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _org_project_callable_iface_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _org_project_callable_iface_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _org_project_callable_iface_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1455s # { 1455s # _org_project_callable_iface_skeleton_handle_method_call, 1455s # _org_project_callable_iface_skeleton_handle_get_property, 1455s # _org_project_callable_iface_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return org_project_callable_iface_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # org_project_callable_iface_skeleton_finalize (GObject *object) 1455s # { 1455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * org_project_callable_iface_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1455s # * 1455s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1455s # */ 1455s # OrgProjectCallableIface * 1455s # org_project_callable_iface_skeleton_new (void) 1455s # { 1455s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1455s # } 1455s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1455s # tmpdir: /tmp/tmpteqznx82 1455s # codegen: /usr/bin/gdbus-codegen 1455s # /tmp/tmpteqznx82/tmp5wkbfsvb.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpteqznx82/tmp5wkbfsvb.xml', '--output', '-', '--body'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: /* 1455s # * This file is generated by gdbus-codegen, do not modify it. 1455s # * 1455s # * The license of this code is the same as for the D-Bus interface description 1455s # * it was derived from. Note that it links to GLib, so must comply with the 1455s # * LGPL linking clauses. 1455s # */ 1455s # 1455s # #ifdef HAVE_CONFIG_H 1455s # # include "config.h" 1455s # #endif 1455s # 1455s # #include 1455s # #ifdef G_OS_UNIX 1455s # # include 1455s # #endif 1455s # 1455s # #ifdef G_ENABLE_DEBUG 1455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1455s # #else /* !G_ENABLE_DEBUG */ 1455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1455s # * Do not access GValues directly in your code. Instead, use the 1455s # * g_value_get_*() functions 1455s # */ 1455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1455s # #endif /* !G_ENABLE_DEBUG */ 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusArgInfo parent_struct; 1455s # gboolean use_gvariant; 1455s # } _ExtendedGDBusArgInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusMethodInfo parent_struct; 1455s # const gchar *signal_name; 1455s # gboolean pass_fdlist; 1455s # } _ExtendedGDBusMethodInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusSignalInfo parent_struct; 1455s # const gchar *signal_name; 1455s # } _ExtendedGDBusSignalInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusPropertyInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # guint use_gvariant : 1; 1455s # guint emits_changed_signal : 1; 1455s # } _ExtendedGDBusPropertyInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # GDBusInterfaceInfo parent_struct; 1455s # const gchar *hyphen_name; 1455s # } _ExtendedGDBusInterfaceInfo; 1455s # 1455s # typedef struct 1455s # { 1455s # const _ExtendedGDBusPropertyInfo *info; 1455s # guint prop_id; 1455s # GValue orig_value; /* the value before the change */ 1455s # } ChangedProperty; 1455s # 1455s # static void 1455s # _changed_property_free (ChangedProperty *data) 1455s # { 1455s # g_value_unset (&data->orig_value); 1455s # g_free (data); 1455s # } 1455s # 1455s # static gboolean 1455s # _g_strv_equal0 (gchar **a, gchar **b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # guint n; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # if (g_strv_length (a) != g_strv_length (b)) 1455s # goto out; 1455s # for (n = 0; a[n] != NULL; n++) 1455s # if (g_strcmp0 (a[n], b[n]) != 0) 1455s # goto out; 1455s # ret = TRUE; 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _g_variant_equal0 (GVariant *a, GVariant *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # if (a == NULL && b == NULL) 1455s # { 1455s # ret = TRUE; 1455s # goto out; 1455s # } 1455s # if (a == NULL || b == NULL) 1455s # goto out; 1455s # ret = g_variant_equal (a, b); 1455s # out: 1455s # return ret; 1455s # } 1455s # 1455s # G_GNUC_UNUSED static gboolean 1455s # _g_value_equal (const GValue *a, const GValue *b) 1455s # { 1455s # gboolean ret = FALSE; 1455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1455s # switch (G_VALUE_TYPE (a)) 1455s # { 1455s # case G_TYPE_BOOLEAN: 1455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1455s # break; 1455s # case G_TYPE_UCHAR: 1455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1455s # break; 1455s # case G_TYPE_INT: 1455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1455s # break; 1455s # case G_TYPE_UINT: 1455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1455s # break; 1455s # case G_TYPE_INT64: 1455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1455s # break; 1455s # case G_TYPE_UINT64: 1455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1455s # break; 1455s # case G_TYPE_DOUBLE: 1455s # { 1455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1455s # gdouble da = g_value_get_double (a); 1455s # gdouble db = g_value_get_double (b); 1455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1455s # } 1455s # break; 1455s # case G_TYPE_STRING: 1455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1455s # break; 1455s # case G_TYPE_VARIANT: 1455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1455s # break; 1455s # default: 1455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1455s # else 1455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1455s # break; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static void 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint G_GNUC_UNUSED, 1455s # void *marshal_data) 1455s # { 1455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1455s # (void *data1, 1455s # GUnixFDList *arg_fd_list, 1455s # GDBusMethodInvocation *arg_method_invocation, 1455s # const gchar *arg_greeting, 1455s # void *data2); 1455s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1455s # GCClosure *cc = (GCClosure*) closure; 1455s # void *data1, *data2; 1455s # gboolean v_return; 1455s # 1455s # g_return_if_fail (return_value != NULL); 1455s # g_return_if_fail (n_param_values == 4); 1455s # 1455s # if (G_CCLOSURE_SWAP_DATA (closure)) 1455s # { 1455s # data1 = closure->data; 1455s # data2 = g_value_peek_pointer (param_values + 0); 1455s # } 1455s # else 1455s # { 1455s # data1 = g_value_peek_pointer (param_values + 0); 1455s # data2 = closure->data; 1455s # } 1455s # 1455s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1455s # (marshal_data ? marshal_data : cc->callback); 1455s # 1455s # v_return = 1455s # callback (data1, 1455s # g_marshal_value_peek_object (param_values + 1), 1455s # g_marshal_value_peek_object (param_values + 2), 1455s # g_marshal_value_peek_string (param_values + 3), 1455s # data2); 1455s # 1455s # g_value_set_boolean (return_value, v_return); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ 1455s # * Code for interface test.FDPassing 1455s # * ------------------------------------------------------------------------ 1455s # */ 1455s # 1455s # /** 1455s # * SECTION:TestFDPassing 1455s # * @title: TestFDPassing 1455s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1455s # * 1455s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1455s # */ 1455s # 1455s # /* ---- Introspection data for test.FDPassing ---- */ 1455s # 1455s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "greeting", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1455s # { 1455s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "response", 1455s # (gchar *) "s", 1455s # NULL 1455s # }, 1455s # FALSE 1455s # }; 1455s # 1455s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1455s # { 1455s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "HelloFD", 1455s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1455s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1455s # NULL 1455s # }, 1455s # "handle-hello-fd", 1455s # TRUE 1455s # }; 1455s # 1455s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1455s # { 1455s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1455s # NULL 1455s # }; 1455s # 1455s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1455s # { 1455s # { 1455s # -1, 1455s # (gchar *) "test.FDPassing", 1455s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1455s # NULL, 1455s # NULL, 1455s # NULL 1455s # }, 1455s # "test-fdpassing", 1455s # }; 1455s # 1455s # 1455s # /** 1455s # * test_fdpassing_interface_info: 1455s # * 1455s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1455s # * 1455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1455s # */ 1455s # GDBusInterfaceInfo * 1455s # test_fdpassing_interface_info (void) 1455s # { 1455s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_override_properties: 1455s # * @klass: The class structure for a #GObject derived class. 1455s # * @property_id_begin: The property id to assign to the first overridden property. 1455s # * 1455s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1455s # * The properties are overridden in the order they are defined. 1455s # * 1455s # * Returns: The last property id. 1455s # */ 1455s # guint 1455s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1455s # { 1455s # return property_id_begin - 1; 1455s # } 1455s # 1455s # 1455s # inline static void 1455s # test_fdpassing_method_marshal_hello_fd ( 1455s # GClosure *closure, 1455s # GValue *return_value, 1455s # unsigned int n_param_values, 1455s # const GValue *param_values, 1455s # void *invocation_hint, 1455s # void *marshal_data) 1455s # { 1455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1455s # } 1455s # 1455s # 1455s # /** 1455s # * TestFDPassing: 1455s # * 1455s # * Abstract interface type for the D-Bus interface test.FDPassing. 1455s # */ 1455s # 1455s # /** 1455s # * TestFDPassingIface: 1455s # * @parent_iface: The parent interface. 1455s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1455s # * 1455s # * Virtual table for the D-Bus interface test.FDPassing. 1455s # */ 1455s # 1455s # typedef TestFDPassingIface TestFDPassingInterface; 1455s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1455s # 1455s # static void 1455s # test_fdpassing_default_init (TestFDPassingIface *iface) 1455s # { 1455s # /* GObject signals for incoming D-Bus method calls: */ 1455s # /** 1455s # * TestFDPassing::handle-hello-fd: 1455s # * @object: A #TestFDPassing. 1455s # * @invocation: A #GDBusMethodInvocation. 1455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1455s # * @arg_greeting: Argument passed by remote caller. 1455s # * 1455s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1455s # * 1455s # * 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. 1455s # * 1455s # * 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. 1455s # */ 1455s # g_signal_new ("handle-hello-fd", 1455s # G_TYPE_FROM_INTERFACE (iface), 1455s # G_SIGNAL_RUN_LAST, 1455s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1455s # g_signal_accumulator_true_handled, 1455s # NULL, 1455s # test_fdpassing_method_marshal_hello_fd, 1455s # G_TYPE_BOOLEAN, 1455s # 3, 1455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1455s # 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_call_hello_fd: 1455s # * @proxy: A #TestFDPassingProxy. 1455s # * @arg_greeting: Argument to pass with the method invocation. 1455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1455s # * 1455s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1455s # */ 1455s # void 1455s # test_fdpassing_call_hello_fd ( 1455s # TestFDPassing *proxy, 1455s # const gchar *arg_greeting, 1455s # GUnixFDList *fd_list, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1455s # "HelloFD", 1455s # g_variant_new ("(s)", 1455s # arg_greeting), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # fd_list, 1455s # cancellable, 1455s # callback, 1455s # user_data); 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_call_hello_fd_finish: 1455s # * @proxy: A #TestFDPassingProxy. 1455s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # test_fdpassing_call_hello_fd_finish ( 1455s # TestFDPassing *proxy, 1455s # gchar **out_response, 1455s # GUnixFDList **out_fd_list, 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(s)", 1455s # out_response); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_call_hello_fd_sync: 1455s # * @proxy: A #TestFDPassingProxy. 1455s # * @arg_greeting: Argument to pass with the method invocation. 1455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1455s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1455s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL. 1455s # * 1455s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1455s # * 1455s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1455s # * 1455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1455s # */ 1455s # gboolean 1455s # test_fdpassing_call_hello_fd_sync ( 1455s # TestFDPassing *proxy, 1455s # const gchar *arg_greeting, 1455s # GUnixFDList *fd_list, 1455s # gchar **out_response, 1455s # GUnixFDList **out_fd_list, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GVariant *_ret; 1455s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1455s # "HelloFD", 1455s # g_variant_new ("(s)", 1455s # arg_greeting), 1455s # G_DBUS_CALL_FLAGS_NONE, 1455s # -1, 1455s # fd_list, 1455s # out_fd_list, 1455s # cancellable, 1455s # error); 1455s # if (_ret == NULL) 1455s # goto _out; 1455s # g_variant_get (_ret, 1455s # "(s)", 1455s # out_response); 1455s # g_variant_unref (_ret); 1455s # _out: 1455s # return _ret != NULL; 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_complete_hello_fd: 1455s # * @object: A #TestFDPassing. 1455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1455s # * @response: Parameter to return. 1455s # * 1455s # * 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. 1455s # * 1455s # * This method will free @invocation, you cannot use it afterwards. 1455s # */ 1455s # void 1455s # test_fdpassing_complete_hello_fd ( 1455s # TestFDPassing *object G_GNUC_UNUSED, 1455s # GDBusMethodInvocation *invocation, 1455s # GUnixFDList *fd_list, 1455s # const gchar *response) 1455s # { 1455s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1455s # g_variant_new ("(s)", 1455s # response), 1455s # fd_list); 1455s # } 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * TestFDPassingProxy: 1455s # * 1455s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * TestFDPassingProxyClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #TestFDPassingProxy. 1455s # */ 1455s # 1455s # struct _TestFDPassingProxyPrivate 1455s # { 1455s # GData *qdata; 1455s # }; 1455s # 1455s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1455s # G_ADD_PRIVATE (TestFDPassingProxy) 1455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # test_fdpassing_proxy_finalize (GObject *object) 1455s # { 1455s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1455s # g_datalist_clear (&proxy->priv->qdata); 1455s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1455s # guint prop_id G_GNUC_UNUSED, 1455s # const GValue *value G_GNUC_UNUSED, 1455s # GParamSpec *pspec G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1455s # const gchar *sender_name G_GNUC_UNUSED, 1455s # const gchar *signal_name, 1455s # GVariant *parameters) 1455s # { 1455s # _ExtendedGDBusSignalInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # gsize n; 1455s # guint signal_id; 1455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1455s # if (info == NULL) 1455s # return; 1455s # num_params = g_variant_n_children (parameters); 1455s # paramv = g_new0 (GValue, num_params + 1); 1455s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1455s # g_value_set_object (¶mv[0], proxy); 1455s # g_variant_iter_init (&iter, parameters); 1455s # n = 1; 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1455s # g_signal_emitv (paramv, signal_id, 0, NULL); 1455s # for (n = 0; n < num_params + 1; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1455s # GVariant *changed_properties, 1455s # const gchar *const *invalidated_properties) 1455s # { 1455s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1455s # guint n; 1455s # const gchar *key; 1455s # GVariantIter *iter; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # g_variant_get (changed_properties, "a{sv}", &iter); 1455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1455s # g_datalist_remove_data (&proxy->priv->qdata, key); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # g_variant_iter_free (iter); 1455s # for (n = 0; invalidated_properties[n] != NULL; n++) 1455s # { 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1455s # if (info != NULL) 1455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1455s # } 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1455s # #else 1455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1455s # #endif 1455s # 1455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusProxyClass *proxy_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1455s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1455s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1455s # 1455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1455s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1455s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_proxy_new: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1455s # * 1455s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # test_fdpassing_proxy_new ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_proxy_new_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with test_fdpassing_proxy_new(). 1455s # * 1455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # TestFDPassing * 1455s # test_fdpassing_proxy_new_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return TEST_FDPASSING (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_proxy_new_sync: 1455s # * @connection: A #GDBusConnection. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # TestFDPassing * 1455s # test_fdpassing_proxy_new_sync ( 1455s # GDBusConnection *connection, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return TEST_FDPASSING (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /** 1455s # * test_fdpassing_proxy_new_for_bus: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1455s # * @user_data: User data to pass to @callback. 1455s # * 1455s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1455s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1455s # * 1455s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1455s # */ 1455s # void 1455s # test_fdpassing_proxy_new_for_bus ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GAsyncReadyCallback callback, 1455s # gpointer user_data) 1455s # { 1455s # 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); 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_proxy_new_for_bus_finish: 1455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1455s # * 1455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # TestFDPassing * 1455s # test_fdpassing_proxy_new_for_bus_finish ( 1455s # GAsyncResult *res, 1455s # GError **error) 1455s # { 1455s # GObject *ret; 1455s # GObject *source_object; 1455s # source_object = g_async_result_get_source_object (res); 1455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1455s # g_object_unref (source_object); 1455s # if (ret != NULL) 1455s # return TEST_FDPASSING (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_proxy_new_for_bus_sync: 1455s # * @bus_type: A #GBusType. 1455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1455s # * @name: A bus name (well-known or unique). 1455s # * @object_path: An object path. 1455s # * @cancellable: (nullable): A #GCancellable or %NULL. 1455s # * @error: Return location for error or %NULL 1455s # * 1455s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1455s # * 1455s # * The calling thread is blocked until a reply is received. 1455s # * 1455s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1455s # * 1455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1455s # */ 1455s # TestFDPassing * 1455s # test_fdpassing_proxy_new_for_bus_sync ( 1455s # GBusType bus_type, 1455s # GDBusProxyFlags flags, 1455s # const gchar *name, 1455s # const gchar *object_path, 1455s # GCancellable *cancellable, 1455s # GError **error) 1455s # { 1455s # GInitable *ret; 1455s # 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); 1455s # if (ret != NULL) 1455s # return TEST_FDPASSING (ret); 1455s # else 1455s # return NULL; 1455s # } 1455s # 1455s # 1455s # /* ------------------------------------------------------------------------ */ 1455s # 1455s # /** 1455s # * TestFDPassingSkeleton: 1455s # * 1455s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1455s # */ 1455s # 1455s # /** 1455s # * TestFDPassingSkeletonClass: 1455s # * @parent_class: The parent class. 1455s # * 1455s # * Class structure for #TestFDPassingSkeleton. 1455s # */ 1455s # 1455s # struct _TestFDPassingSkeletonPrivate 1455s # { 1455s # GValue *properties; 1455s # GList *changed_properties; 1455s # GSource *changed_properties_idle_source; 1455s # GMainContext *context; 1455s # GMutex lock; 1455s # }; 1455s # 1455s # static void 1455s # _test_fdpassing_skeleton_handle_method_call ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name, 1455s # const gchar *method_name, 1455s # GVariant *parameters, 1455s # GDBusMethodInvocation *invocation, 1455s # gpointer user_data) 1455s # { 1455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1455s # _ExtendedGDBusMethodInfo *info; 1455s # GVariantIter iter; 1455s # GVariant *child; 1455s # GValue *paramv; 1455s # gsize num_params; 1455s # guint num_extra; 1455s # gsize n; 1455s # guint signal_id; 1455s # GValue return_value = G_VALUE_INIT; 1455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1455s # g_assert (info != NULL); 1455s # num_params = g_variant_n_children (parameters); 1455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1455s # n = 0; 1455s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1455s # g_value_set_object (¶mv[n++], skeleton); 1455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1455s # g_value_set_object (¶mv[n++], invocation); 1455s # if (info->pass_fdlist) 1455s # { 1455s # #ifdef G_OS_UNIX 1455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1455s # #else 1455s # g_assert_not_reached (); 1455s # #endif 1455s # } 1455s # g_variant_iter_init (&iter, parameters); 1455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1455s # { 1455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1455s # if (arg_info->use_gvariant) 1455s # { 1455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1455s # g_value_set_variant (¶mv[n], child); 1455s # n++; 1455s # } 1455s # else 1455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1455s # g_variant_unref (child); 1455s # } 1455s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1455s # if (!g_value_get_boolean (&return_value)) 1455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1455s # g_value_unset (&return_value); 1455s # for (n = 0; n < num_params + num_extra; n++) 1455s # g_value_unset (¶mv[n]); 1455s # g_free (paramv); 1455s # } 1455s # 1455s # static GVariant * 1455s # _test_fdpassing_skeleton_handle_get_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # GVariant *ret; 1455s # ret = NULL; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # g_value_init (&value, pspec->value_type); 1455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1455s # g_value_unset (&value); 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static gboolean 1455s # _test_fdpassing_skeleton_handle_set_property ( 1455s # GDBusConnection *connection G_GNUC_UNUSED, 1455s # const gchar *sender G_GNUC_UNUSED, 1455s # const gchar *object_path G_GNUC_UNUSED, 1455s # const gchar *interface_name G_GNUC_UNUSED, 1455s # const gchar *property_name, 1455s # GVariant *variant, 1455s # GError **error, 1455s # gpointer user_data) 1455s # { 1455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1455s # GValue value = G_VALUE_INIT; 1455s # GParamSpec *pspec; 1455s # _ExtendedGDBusPropertyInfo *info; 1455s # gboolean ret; 1455s # ret = FALSE; 1455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1455s # g_assert (info != NULL); 1455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1455s # if (pspec == NULL) 1455s # { 1455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1455s # } 1455s # else 1455s # { 1455s # if (info->use_gvariant) 1455s # g_value_set_variant (&value, variant); 1455s # else 1455s # g_dbus_gvariant_to_gvalue (variant, &value); 1455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1455s # g_value_unset (&value); 1455s # ret = TRUE; 1455s # } 1455s # return ret; 1455s # } 1455s # 1455s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1455s # { 1455s # _test_fdpassing_skeleton_handle_method_call, 1455s # _test_fdpassing_skeleton_handle_get_property, 1455s # _test_fdpassing_skeleton_handle_set_property, 1455s # {NULL} 1455s # }; 1455s # 1455s # static GDBusInterfaceInfo * 1455s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return test_fdpassing_interface_info (); 1455s # } 1455s # 1455s # static GDBusInterfaceVTable * 1455s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1455s # { 1455s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1455s # } 1455s # 1455s # static GVariant * 1455s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1455s # { 1455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1455s # 1455s # GVariantBuilder builder; 1455s # guint n; 1455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1455s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1455s # goto out; 1455s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1455s # { 1455s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1455s # { 1455s # GVariant *value; 1455s # 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); 1455s # if (value != NULL) 1455s # { 1455s # g_variant_take_ref (value); 1455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1455s # g_variant_unref (value); 1455s # } 1455s # } 1455s # } 1455s # out: 1455s # return g_variant_builder_end (&builder); 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1455s # 1455s # #else 1455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1455s # 1455s # #endif 1455s # static void 1455s # test_fdpassing_skeleton_finalize (GObject *object) 1455s # { 1455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1455s # if (skeleton->priv->changed_properties_idle_source != NULL) 1455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1455s # g_main_context_unref (skeleton->priv->context); 1455s # g_mutex_clear (&skeleton->priv->lock); 1455s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1455s # { 1455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1455s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1455s # #else 1455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1455s # #endif 1455s # 1455s # g_mutex_init (&skeleton->priv->lock); 1455s # skeleton->priv->context = g_main_context_ref_thread_default (); 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1455s # { 1455s # GObjectClass *gobject_class; 1455s # GDBusInterfaceSkeletonClass *skeleton_class; 1455s # 1455s # gobject_class = G_OBJECT_CLASS (klass); 1455s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1455s # 1455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1455s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1455s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1455s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1455s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1455s # 1455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1455s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1455s # #endif 1455s # } 1455s # 1455s # static void 1455s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1455s # { 1455s # } 1455s # 1455s # /** 1455s # * test_fdpassing_skeleton_new: 1455s # * 1455s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1455s # * 1455s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1455s # */ 1455s # TestFDPassing * 1455s # test_fdpassing_skeleton_new (void) 1455s # { 1455s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1455s # } 1455s ok 15 __main__.TestCodegen.test_generate_rst 1455s # tmpdir: /tmp/tmpzy7f7h1v 1455s # codegen: /usr/bin/gdbus-codegen 1455s # /tmp/tmpzy7f7h1v/tmprs8ggmkm.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzy7f7h1v/tmprs8ggmkm.xml', '--generate-rst', 'test'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: 1455s ok 16 __main__.TestCodegen.test_generate_rst_method 1455s # tmpdir: /tmp/tmp0wpctv8s 1455s # codegen: /usr/bin/gdbus-codegen 1455s # /tmp/tmp0wpctv8s/tmp2z00wtr1.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0wpctv8s/tmp2z00wtr1.xml', '--generate-rst', 'test'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: 1455s ok 17 __main__.TestCodegen.test_generate_rst_property 1455s # tmpdir: /tmp/tmpnw26ibsb 1455s # codegen: /usr/bin/gdbus-codegen 1455s # /tmp/tmpnw26ibsb/tmpp95427gw.xml: 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # 1455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnw26ibsb/tmpp95427gw.xml', '--generate-rst', 'test'] 1455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1455s # Output: 1456s ok 18 __main__.TestCodegen.test_generate_rst_signal 1456s # tmpdir: /tmp/tmp158zpg6g 1456s # codegen: /usr/bin/gdbus-codegen 1456s # /tmp/tmp158zpg6g/tmp5bg8oa99.xml: 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp158zpg6g/tmp5bg8oa99.xml', '--generate-rst', 'test'] 1456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1456s # Output: 1456s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1456s # tmpdir: /tmp/tmp_grfax9k 1456s # codegen: /usr/bin/gdbus-codegen 1456s # /tmp/tmp_grfax9k/tmp5d_d5m4h.xml: 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_grfax9k/tmp5d_d5m4h.xml', '--output', '-', '--body'] 1456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1456s # Output: /* 1456s # * This file is generated by gdbus-codegen, do not modify it. 1456s # * 1456s # * The license of this code is the same as for the D-Bus interface description 1456s # * it was derived from. Note that it links to GLib, so must comply with the 1456s # * LGPL linking clauses. 1456s # */ 1456s # 1456s # #ifdef HAVE_CONFIG_H 1456s # # include "config.h" 1456s # #endif 1456s # 1456s # #include 1456s # #ifdef G_OS_UNIX 1456s # # include 1456s # #endif 1456s # 1456s # #ifdef G_ENABLE_DEBUG 1456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1456s # #else /* !G_ENABLE_DEBUG */ 1456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1456s # * Do not access GValues directly in your code. Instead, use the 1456s # * g_value_get_*() functions 1456s # */ 1456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1456s # #endif /* !G_ENABLE_DEBUG */ 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusArgInfo parent_struct; 1456s # gboolean use_gvariant; 1456s # } _ExtendedGDBusArgInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusMethodInfo parent_struct; 1456s # const gchar *signal_name; 1456s # gboolean pass_fdlist; 1456s # } _ExtendedGDBusMethodInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusSignalInfo parent_struct; 1456s # const gchar *signal_name; 1456s # } _ExtendedGDBusSignalInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusPropertyInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # guint use_gvariant : 1; 1456s # guint emits_changed_signal : 1; 1456s # } _ExtendedGDBusPropertyInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusInterfaceInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # } _ExtendedGDBusInterfaceInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # const _ExtendedGDBusPropertyInfo *info; 1456s # guint prop_id; 1456s # GValue orig_value; /* the value before the change */ 1456s # } ChangedProperty; 1456s # 1456s # static void 1456s # _changed_property_free (ChangedProperty *data) 1456s # { 1456s # g_value_unset (&data->orig_value); 1456s # g_free (data); 1456s # } 1456s # 1456s # static gboolean 1456s # _g_strv_equal0 (gchar **a, gchar **b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # guint n; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # if (g_strv_length (a) != g_strv_length (b)) 1456s # goto out; 1456s # for (n = 0; a[n] != NULL; n++) 1456s # if (g_strcmp0 (a[n], b[n]) != 0) 1456s # goto out; 1456s # ret = TRUE; 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _g_variant_equal0 (GVariant *a, GVariant *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # ret = g_variant_equal (a, b); 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # G_GNUC_UNUSED static gboolean 1456s # _g_value_equal (const GValue *a, const GValue *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1456s # switch (G_VALUE_TYPE (a)) 1456s # { 1456s # case G_TYPE_BOOLEAN: 1456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1456s # break; 1456s # case G_TYPE_UCHAR: 1456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1456s # break; 1456s # case G_TYPE_INT: 1456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1456s # break; 1456s # case G_TYPE_UINT: 1456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1456s # break; 1456s # case G_TYPE_INT64: 1456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1456s # break; 1456s # case G_TYPE_UINT64: 1456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1456s # break; 1456s # case G_TYPE_DOUBLE: 1456s # { 1456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1456s # gdouble da = g_value_get_double (a); 1456s # gdouble db = g_value_get_double (b); 1456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1456s # } 1456s # break; 1456s # case G_TYPE_STRING: 1456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1456s # break; 1456s # case G_TYPE_VARIANT: 1456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1456s # break; 1456s # default: 1456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1456s # else 1456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1456s # break; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static void 1456s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1456s # GClosure *closure, 1456s # GValue *return_value G_GNUC_UNUSED, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint G_GNUC_UNUSED, 1456s # void *marshal_data) 1456s # { 1456s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1456s # (void *data1, 1456s # gboolean arg_an_b, 1456s # guchar arg_an_y, 1456s # gint16 arg_an_n, 1456s # guint16 arg_an_q, 1456s # gint arg_an_i, 1456s # guint arg_an_u, 1456s # gint64 arg_an_x, 1456s # guint64 arg_an_t, 1456s # gdouble arg_an_d, 1456s # const gchar *arg_an_s, 1456s # const gchar *arg_an_o, 1456s # const gchar *arg_an_g, 1456s # GVariant *arg_an_h, 1456s # const gchar *arg_an_ay, 1456s # const gchar *const *arg_an_as, 1456s # const gchar *const *arg_an_ao, 1456s # const gchar *const *arg_an_aay, 1456s # GVariant *arg_an_asv, 1456s # void *data2); 1456s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1456s # GCClosure *cc = (GCClosure*) closure; 1456s # void *data1, *data2; 1456s # 1456s # g_return_if_fail (n_param_values == 19); 1456s # 1456s # if (G_CCLOSURE_SWAP_DATA (closure)) 1456s # { 1456s # data1 = closure->data; 1456s # data2 = g_value_peek_pointer (param_values + 0); 1456s # } 1456s # else 1456s # { 1456s # data1 = g_value_peek_pointer (param_values + 0); 1456s # data2 = closure->data; 1456s # } 1456s # 1456s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1456s # (marshal_data ? marshal_data : cc->callback); 1456s # 1456s # callback (data1, 1456s # g_marshal_value_peek_boolean (param_values + 1), 1456s # g_marshal_value_peek_uchar (param_values + 2), 1456s # g_marshal_value_peek_int (param_values + 3), 1456s # g_marshal_value_peek_uint (param_values + 4), 1456s # g_marshal_value_peek_int (param_values + 5), 1456s # g_marshal_value_peek_uint (param_values + 6), 1456s # g_marshal_value_peek_int64 (param_values + 7), 1456s # g_marshal_value_peek_uint64 (param_values + 8), 1456s # g_marshal_value_peek_double (param_values + 9), 1456s # g_marshal_value_peek_string (param_values + 10), 1456s # g_marshal_value_peek_string (param_values + 11), 1456s # g_marshal_value_peek_string (param_values + 12), 1456s # g_marshal_value_peek_variant (param_values + 13), 1456s # g_marshal_value_peek_string (param_values + 14), 1456s # g_marshal_value_peek_boxed (param_values + 15), 1456s # g_marshal_value_peek_boxed (param_values + 16), 1456s # g_marshal_value_peek_boxed (param_values + 17), 1456s # g_marshal_value_peek_variant (param_values + 18), 1456s # data2); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ 1456s # * Code for interface org.project.SignalingIface 1456s # * ------------------------------------------------------------------------ 1456s # */ 1456s # 1456s # /** 1456s # * SECTION:OrgProjectSignalingIface 1456s # * @title: OrgProjectSignalingIface 1456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1456s # * 1456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1456s # */ 1456s # 1456s # enum 1456s # { 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1456s # }; 1456s # 1456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1456s # 1456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_b", 1456s # (gchar *) "b", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_y", 1456s # (gchar *) "y", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_n", 1456s # (gchar *) "n", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_q", 1456s # (gchar *) "q", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_i", 1456s # (gchar *) "i", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_u", 1456s # (gchar *) "u", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_x", 1456s # (gchar *) "x", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_t", 1456s # (gchar *) "t", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_d", 1456s # (gchar *) "d", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_s", 1456s # (gchar *) "s", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_o", 1456s # (gchar *) "o", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_g", 1456s # (gchar *) "g", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_h", 1456s # (gchar *) "h", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_ay", 1456s # (gchar *) "ay", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_as", 1456s # (gchar *) "as", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_ao", 1456s # (gchar *) "ao", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_aay", 1456s # (gchar *) "aay", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_asv", 1456s # (gchar *) "a{sv}", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SignalWithManyArgs", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "signal-with-many-args" 1456s # }; 1456s # 1456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "org.project.SignalingIface", 1456s # NULL, 1456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "org-project-signaling-iface", 1456s # }; 1456s # 1456s # 1456s # /** 1456s # * org_project_signaling_iface_interface_info: 1456s # * 1456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1456s # * 1456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1456s # */ 1456s # GDBusInterfaceInfo * 1456s # org_project_signaling_iface_interface_info (void) 1456s # { 1456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_override_properties: 1456s # * @klass: The class structure for a #GObject derived class. 1456s # * @property_id_begin: The property id to assign to the first overridden property. 1456s # * 1456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1456s # * The properties are overridden in the order they are defined. 1456s # * 1456s # * Returns: The last property id. 1456s # */ 1456s # guint 1456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1456s # { 1456s # return property_id_begin - 1; 1456s # } 1456s # 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface: 1456s # * 1456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceIface: 1456s # * @parent_iface: The parent interface. 1456s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1456s # * 1456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1456s # */ 1456s # 1456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1456s # 1456s # static void 1456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1456s # { 1456s # /* GObject signals for received D-Bus signals: */ 1456s # /** 1456s # * OrgProjectSignalingIface::signal-with-many-args: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_b: Argument. 1456s # * @arg_an_y: Argument. 1456s # * @arg_an_n: Argument. 1456s # * @arg_an_q: Argument. 1456s # * @arg_an_i: Argument. 1456s # * @arg_an_u: Argument. 1456s # * @arg_an_x: Argument. 1456s # * @arg_an_t: Argument. 1456s # * @arg_an_d: Argument. 1456s # * @arg_an_s: Argument. 1456s # * @arg_an_o: Argument. 1456s # * @arg_an_g: Argument. 1456s # * @arg_an_h: Argument. 1456s # * @arg_an_ay: Argument. 1456s # * @arg_an_as: Argument. 1456s # * @arg_an_ao: Argument. 1456s # * @arg_an_aay: Argument. 1456s # * @arg_an_asv: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1456s # g_signal_new ("signal-with-many-args", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1456s # G_TYPE_NONE, 1456s # 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); 1456s # 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_signal_with_many_args: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_b: Argument to pass with the signal. 1456s # * @arg_an_y: Argument to pass with the signal. 1456s # * @arg_an_n: Argument to pass with the signal. 1456s # * @arg_an_q: Argument to pass with the signal. 1456s # * @arg_an_i: Argument to pass with the signal. 1456s # * @arg_an_u: Argument to pass with the signal. 1456s # * @arg_an_x: Argument to pass with the signal. 1456s # * @arg_an_t: Argument to pass with the signal. 1456s # * @arg_an_d: Argument to pass with the signal. 1456s # * @arg_an_s: Argument to pass with the signal. 1456s # * @arg_an_o: Argument to pass with the signal. 1456s # * @arg_an_g: Argument to pass with the signal. 1456s # * @arg_an_h: Argument to pass with the signal. 1456s # * @arg_an_ay: Argument to pass with the signal. 1456s # * @arg_an_as: Argument to pass with the signal. 1456s # * @arg_an_ao: Argument to pass with the signal. 1456s # * @arg_an_aay: Argument to pass with the signal. 1456s # * @arg_an_asv: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SignalWithManyArgs" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_signal_with_many_args ( 1456s # OrgProjectSignalingIface *object, 1456s # gboolean arg_an_b, 1456s # guchar arg_an_y, 1456s # gint16 arg_an_n, 1456s # guint16 arg_an_q, 1456s # gint arg_an_i, 1456s # guint arg_an_u, 1456s # gint64 arg_an_x, 1456s # guint64 arg_an_t, 1456s # gdouble arg_an_d, 1456s # const gchar *arg_an_s, 1456s # const gchar *arg_an_o, 1456s # const gchar *arg_an_g, 1456s # GVariant *arg_an_h, 1456s # const gchar *arg_an_ay, 1456s # const gchar *const *arg_an_as, 1456s # const gchar *const *arg_an_ao, 1456s # const gchar *const *arg_an_aay, 1456s # GVariant *arg_an_asv) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceProxy: 1456s # * 1456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceProxyClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectSignalingIfaceProxy. 1456s # */ 1456s # 1456s # struct _OrgProjectSignalingIfaceProxyPrivate 1456s # { 1456s # GData *qdata; 1456s # }; 1456s # 1456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_signaling_iface_proxy_finalize (GObject *object) 1456s # { 1456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1456s # g_datalist_clear (&proxy->priv->qdata); 1456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # const GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1456s # const gchar *sender_name G_GNUC_UNUSED, 1456s # const gchar *signal_name, 1456s # GVariant *parameters) 1456s # { 1456s # _ExtendedGDBusSignalInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # gsize n; 1456s # guint signal_id; 1456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1456s # if (info == NULL) 1456s # return; 1456s # num_params = g_variant_n_children (parameters); 1456s # paramv = g_new0 (GValue, num_params + 1); 1456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[0], proxy); 1456s # g_variant_iter_init (&iter, parameters); 1456s # n = 1; 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_signal_emitv (paramv, signal_id, 0, NULL); 1456s # for (n = 0; n < num_params + 1; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1456s # GVariant *changed_properties, 1456s # const gchar *const *invalidated_properties) 1456s # { 1456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1456s # guint n; 1456s # const gchar *key; 1456s # GVariantIter *iter; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # g_variant_get (changed_properties, "a{sv}", &iter); 1456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1456s # g_datalist_remove_data (&proxy->priv->qdata, key); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # g_variant_iter_free (iter); 1456s # for (n = 0; invalidated_properties[n] != NULL; n++) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1456s # #else 1456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1456s # #endif 1456s # 1456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusProxyClass *proxy_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1456s # 1456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_proxy_new ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_sync: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_sync ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_proxy_new_for_bus ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceSkeleton: 1456s # * 1456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceSkeletonClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1456s # */ 1456s # 1456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1456s # { 1456s # GValue *properties; 1456s # GList *changed_properties; 1456s # GSource *changed_properties_idle_source; 1456s # GMainContext *context; 1456s # GMutex lock; 1456s # }; 1456s # 1456s # static void 1456s # _org_project_signaling_iface_skeleton_handle_method_call ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name, 1456s # const gchar *method_name, 1456s # GVariant *parameters, 1456s # GDBusMethodInvocation *invocation, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # _ExtendedGDBusMethodInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # guint num_extra; 1456s # gsize n; 1456s # guint signal_id; 1456s # GValue return_value = G_VALUE_INIT; 1456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1456s # g_assert (info != NULL); 1456s # num_params = g_variant_n_children (parameters); 1456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1456s # n = 0; 1456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[n++], skeleton); 1456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1456s # g_value_set_object (¶mv[n++], invocation); 1456s # if (info->pass_fdlist) 1456s # { 1456s # #ifdef G_OS_UNIX 1456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1456s # #else 1456s # g_assert_not_reached (); 1456s # #endif 1456s # } 1456s # g_variant_iter_init (&iter, parameters); 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1456s # if (!g_value_get_boolean (&return_value)) 1456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1456s # g_value_unset (&return_value); 1456s # for (n = 0; n < num_params + num_extra; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static GVariant * 1456s # _org_project_signaling_iface_skeleton_handle_get_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # GVariant *ret; 1456s # ret = NULL; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # g_value_init (&value, pspec->value_type); 1456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1456s # g_value_unset (&value); 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _org_project_signaling_iface_skeleton_handle_set_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GVariant *variant, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # gboolean ret; 1456s # ret = FALSE; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # if (info->use_gvariant) 1456s # g_value_set_variant (&value, variant); 1456s # else 1456s # g_dbus_gvariant_to_gvalue (variant, &value); 1456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # g_value_unset (&value); 1456s # ret = TRUE; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1456s # { 1456s # _org_project_signaling_iface_skeleton_handle_method_call, 1456s # _org_project_signaling_iface_skeleton_handle_get_property, 1456s # _org_project_signaling_iface_skeleton_handle_set_property, 1456s # {NULL} 1456s # }; 1456s # 1456s # static GDBusInterfaceInfo * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return org_project_signaling_iface_interface_info (); 1456s # } 1456s # 1456s # static GDBusInterfaceVTable * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1456s # } 1456s # 1456s # static GVariant * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1456s # 1456s # GVariantBuilder builder; 1456s # guint n; 1456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1456s # goto out; 1456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1456s # { 1456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1456s # { 1456s # GVariant *value; 1456s # 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); 1456s # if (value != NULL) 1456s # { 1456s # g_variant_take_ref (value); 1456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1456s # g_variant_unref (value); 1456s # } 1456s # } 1456s # } 1456s # out: 1456s # return g_variant_builder_end (&builder); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1456s # OrgProjectSignalingIface *object, 1456s # gboolean arg_an_b, 1456s # guchar arg_an_y, 1456s # gint16 arg_an_n, 1456s # guint16 arg_an_q, 1456s # gint arg_an_i, 1456s # guint arg_an_u, 1456s # gint64 arg_an_x, 1456s # guint64 arg_an_t, 1456s # gdouble arg_an_d, 1456s # const gchar *arg_an_s, 1456s # const gchar *arg_an_o, 1456s # const gchar *arg_an_g, 1456s # GVariant *arg_an_h, 1456s # const gchar *arg_an_ay, 1456s # const gchar *const *arg_an_as, 1456s # const gchar *const *arg_an_ao, 1456s # const gchar *const *arg_an_aay, 1456s # GVariant *arg_an_asv) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1456s # arg_an_b, 1456s # arg_an_y, 1456s # arg_an_n, 1456s # arg_an_q, 1456s # arg_an_i, 1456s # arg_an_u, 1456s # arg_an_x, 1456s # arg_an_t, 1456s # arg_an_d, 1456s # arg_an_s, 1456s # arg_an_o, 1456s # arg_an_g, 1456s # arg_an_h, 1456s # arg_an_ay, 1456s # arg_an_as, 1456s # arg_an_ao, 1456s # arg_an_aay, 1456s # arg_an_asv)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1456s # if (skeleton->priv->changed_properties_idle_source != NULL) 1456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1456s # g_main_context_unref (skeleton->priv->context); 1456s # g_mutex_clear (&skeleton->priv->lock); 1456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1456s # #else 1456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1456s # #endif 1456s # 1456s # g_mutex_init (&skeleton->priv->lock); 1456s # skeleton->priv->context = g_main_context_ref_thread_default (); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusInterfaceSkeletonClass *skeleton_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1456s # 1456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1456s # { 1456s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_skeleton_new: 1456s # * 1456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_skeleton_new (void) 1456s # { 1456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1456s # } 1456s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1456s # tmpdir: /tmp/tmpve50xfma 1456s # codegen: /usr/bin/gdbus-codegen 1456s # /tmp/tmpve50xfma/tmpj8q6is1u.xml: 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpve50xfma/tmpj8q6is1u.xml', '--output', '-', '--body'] 1456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1456s # Output: /* 1456s # * This file is generated by gdbus-codegen, do not modify it. 1456s # * 1456s # * The license of this code is the same as for the D-Bus interface description 1456s # * it was derived from. Note that it links to GLib, so must comply with the 1456s # * LGPL linking clauses. 1456s # */ 1456s # 1456s # #ifdef HAVE_CONFIG_H 1456s # # include "config.h" 1456s # #endif 1456s # 1456s # #include 1456s # #ifdef G_OS_UNIX 1456s # # include 1456s # #endif 1456s # 1456s # #ifdef G_ENABLE_DEBUG 1456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1456s # #else /* !G_ENABLE_DEBUG */ 1456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1456s # * Do not access GValues directly in your code. Instead, use the 1456s # * g_value_get_*() functions 1456s # */ 1456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1456s # #endif /* !G_ENABLE_DEBUG */ 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusArgInfo parent_struct; 1456s # gboolean use_gvariant; 1456s # } _ExtendedGDBusArgInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusMethodInfo parent_struct; 1456s # const gchar *signal_name; 1456s # gboolean pass_fdlist; 1456s # } _ExtendedGDBusMethodInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusSignalInfo parent_struct; 1456s # const gchar *signal_name; 1456s # } _ExtendedGDBusSignalInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusPropertyInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # guint use_gvariant : 1; 1456s # guint emits_changed_signal : 1; 1456s # } _ExtendedGDBusPropertyInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusInterfaceInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # } _ExtendedGDBusInterfaceInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # const _ExtendedGDBusPropertyInfo *info; 1456s # guint prop_id; 1456s # GValue orig_value; /* the value before the change */ 1456s # } ChangedProperty; 1456s # 1456s # static void 1456s # _changed_property_free (ChangedProperty *data) 1456s # { 1456s # g_value_unset (&data->orig_value); 1456s # g_free (data); 1456s # } 1456s # 1456s # static gboolean 1456s # _g_strv_equal0 (gchar **a, gchar **b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # guint n; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # if (g_strv_length (a) != g_strv_length (b)) 1456s # goto out; 1456s # for (n = 0; a[n] != NULL; n++) 1456s # if (g_strcmp0 (a[n], b[n]) != 0) 1456s # goto out; 1456s # ret = TRUE; 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _g_variant_equal0 (GVariant *a, GVariant *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # ret = g_variant_equal (a, b); 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # G_GNUC_UNUSED static gboolean 1456s # _g_value_equal (const GValue *a, const GValue *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1456s # switch (G_VALUE_TYPE (a)) 1456s # { 1456s # case G_TYPE_BOOLEAN: 1456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1456s # break; 1456s # case G_TYPE_UCHAR: 1456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1456s # break; 1456s # case G_TYPE_INT: 1456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1456s # break; 1456s # case G_TYPE_UINT: 1456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1456s # break; 1456s # case G_TYPE_INT64: 1456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1456s # break; 1456s # case G_TYPE_UINT64: 1456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1456s # break; 1456s # case G_TYPE_DOUBLE: 1456s # { 1456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1456s # gdouble da = g_value_get_double (a); 1456s # gdouble db = g_value_get_double (b); 1456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1456s # } 1456s # break; 1456s # case G_TYPE_STRING: 1456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1456s # break; 1456s # case G_TYPE_VARIANT: 1456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1456s # break; 1456s # default: 1456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1456s # else 1456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1456s # break; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static void 1456s # _g_dbus_codegen_marshal_VOID__INT64 ( 1456s # GClosure *closure, 1456s # GValue *return_value G_GNUC_UNUSED, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint G_GNUC_UNUSED, 1456s # void *marshal_data) 1456s # { 1456s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1456s # (void *data1, 1456s # gint64 arg_an_x, 1456s # void *data2); 1456s # _GDbusCodegenMarshalVoid_Int64Func callback; 1456s # GCClosure *cc = (GCClosure*) closure; 1456s # void *data1, *data2; 1456s # 1456s # g_return_if_fail (n_param_values == 2); 1456s # 1456s # if (G_CCLOSURE_SWAP_DATA (closure)) 1456s # { 1456s # data1 = closure->data; 1456s # data2 = g_value_peek_pointer (param_values + 0); 1456s # } 1456s # else 1456s # { 1456s # data1 = g_value_peek_pointer (param_values + 0); 1456s # data2 = closure->data; 1456s # } 1456s # 1456s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1456s # (marshal_data ? marshal_data : cc->callback); 1456s # 1456s # callback (data1, 1456s # g_marshal_value_peek_int64 (param_values + 1), 1456s # data2); 1456s # } 1456s # 1456s # static void 1456s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1456s # GClosure *closure, 1456s # GValue *return_value G_GNUC_UNUSED, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint G_GNUC_UNUSED, 1456s # void *marshal_data) 1456s # { 1456s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1456s # (void *data1, 1456s # guint64 arg_an_t, 1456s # void *data2); 1456s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1456s # GCClosure *cc = (GCClosure*) closure; 1456s # void *data1, *data2; 1456s # 1456s # g_return_if_fail (n_param_values == 2); 1456s # 1456s # if (G_CCLOSURE_SWAP_DATA (closure)) 1456s # { 1456s # data1 = closure->data; 1456s # data2 = g_value_peek_pointer (param_values + 0); 1456s # } 1456s # else 1456s # { 1456s # data1 = g_value_peek_pointer (param_values + 0); 1456s # data2 = closure->data; 1456s # } 1456s # 1456s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1456s # (marshal_data ? marshal_data : cc->callback); 1456s # 1456s # callback (data1, 1456s # g_marshal_value_peek_uint64 (param_values + 1), 1456s # data2); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ 1456s # * Code for interface org.project.SignalingIface 1456s # * ------------------------------------------------------------------------ 1456s # */ 1456s # 1456s # /** 1456s # * SECTION:OrgProjectSignalingIface 1456s # * @title: OrgProjectSignalingIface 1456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1456s # * 1456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1456s # */ 1456s # 1456s # enum 1456s # { 1456s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1456s # }; 1456s # 1456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1456s # 1456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "NoArgSignal", 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "no-arg-signal" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_b", 1456s # (gchar *) "b", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalB", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-b" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_y", 1456s # (gchar *) "y", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalY", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-y" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_n", 1456s # (gchar *) "n", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalN", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-n" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_q", 1456s # (gchar *) "q", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalQ", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-q" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_i", 1456s # (gchar *) "i", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalI", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-i" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_u", 1456s # (gchar *) "u", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalU", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-u" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_x", 1456s # (gchar *) "x", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalX", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-x" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_t", 1456s # (gchar *) "t", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalT", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-t" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_d", 1456s # (gchar *) "d", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalD", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-d" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_s", 1456s # (gchar *) "s", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalS", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-s" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_o", 1456s # (gchar *) "o", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalO", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-o" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_g", 1456s # (gchar *) "g", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalG", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-g" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_h", 1456s # (gchar *) "h", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalH", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-h" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_ay", 1456s # (gchar *) "ay", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalAY", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-ay" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_as", 1456s # (gchar *) "as", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalAS", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-as" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_ao", 1456s # (gchar *) "ao", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalAO", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-ao" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_aay", 1456s # (gchar *) "aay", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalAAY", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-aay" 1456s # }; 1456s # 1456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "an_asv", 1456s # (gchar *) "a{sv}", 1456s # NULL 1456s # }, 1456s # FALSE 1456s # }; 1456s # 1456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SingleArgSignalASV", 1456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1456s # NULL 1456s # }, 1456s # "single-arg-signal-asv" 1456s # }; 1456s # 1456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1456s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "org.project.SignalingIface", 1456s # NULL, 1456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "org-project-signaling-iface", 1456s # }; 1456s # 1456s # 1456s # /** 1456s # * org_project_signaling_iface_interface_info: 1456s # * 1456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1456s # * 1456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1456s # */ 1456s # GDBusInterfaceInfo * 1456s # org_project_signaling_iface_interface_info (void) 1456s # { 1456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_override_properties: 1456s # * @klass: The class structure for a #GObject derived class. 1456s # * @property_id_begin: The property id to assign to the first overridden property. 1456s # * 1456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1456s # * The properties are overridden in the order they are defined. 1456s # * 1456s # * Returns: The last property id. 1456s # */ 1456s # guint 1456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1456s # { 1456s # return property_id_begin - 1; 1456s # } 1456s # 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VOID (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__UCHAR (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__INT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__UINT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__INT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__UINT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__DOUBLE (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__STRING (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__STRING (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__STRING (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VARIANT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__STRING (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__BOXED (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__BOXED (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__BOXED (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VARIANT (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface: 1456s # * 1456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceIface: 1456s # * @parent_iface: The parent interface. 1456s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1456s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1456s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1456s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1456s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1456s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1456s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1456s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1456s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1456s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1456s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1456s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1456s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1456s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1456s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1456s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1456s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1456s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1456s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1456s # * 1456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1456s # */ 1456s # 1456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1456s # 1456s # static void 1456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1456s # { 1456s # /* GObject signals for received D-Bus signals: */ 1456s # /** 1456s # * OrgProjectSignalingIface::no-arg-signal: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1456s # g_signal_new ("no-arg-signal", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1456s # G_TYPE_NONE, 1456s # 0); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-b: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_b: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1456s # g_signal_new ("single-arg-signal-b", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_BOOLEAN); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-y: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_y: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1456s # g_signal_new ("single-arg-signal-y", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_UCHAR); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-n: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_n: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1456s # g_signal_new ("single-arg-signal-n", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_INT); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-q: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_q: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1456s # g_signal_new ("single-arg-signal-q", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_UINT); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-i: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_i: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1456s # g_signal_new ("single-arg-signal-i", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_INT); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-u: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_u: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1456s # g_signal_new ("single-arg-signal-u", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_UINT); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-x: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_x: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1456s # g_signal_new ("single-arg-signal-x", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_INT64); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-t: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_t: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1456s # g_signal_new ("single-arg-signal-t", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_UINT64); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-d: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_d: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1456s # g_signal_new ("single-arg-signal-d", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_DOUBLE); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-s: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_s: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1456s # g_signal_new ("single-arg-signal-s", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRING); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-o: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_o: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1456s # g_signal_new ("single-arg-signal-o", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRING); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-g: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_g: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1456s # g_signal_new ("single-arg-signal-g", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRING); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-h: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_h: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1456s # g_signal_new ("single-arg-signal-h", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_VARIANT); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-ay: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_ay: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1456s # g_signal_new ("single-arg-signal-ay", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRING); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-as: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_as: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1456s # g_signal_new ("single-arg-signal-as", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRV); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-ao: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_ao: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1456s # g_signal_new ("single-arg-signal-ao", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRV); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-aay: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_aay: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1456s # g_signal_new ("single-arg-signal-aay", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_STRV); 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface::single-arg-signal-asv: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_asv: Argument. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1456s # g_signal_new ("single-arg-signal-asv", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1456s # G_TYPE_NONE, 1456s # 1, G_TYPE_VARIANT); 1456s # 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_no_arg_signal: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * 1456s # * Emits the "NoArgSignal" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_no_arg_signal ( 1456s # OrgProjectSignalingIface *object) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_b: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_b: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalB" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_b ( 1456s # OrgProjectSignalingIface *object, 1456s # gboolean arg_an_b) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_y: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_y: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalY" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_y ( 1456s # OrgProjectSignalingIface *object, 1456s # guchar arg_an_y) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_n: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_n: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalN" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_n ( 1456s # OrgProjectSignalingIface *object, 1456s # gint16 arg_an_n) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_q: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_q: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalQ" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_q ( 1456s # OrgProjectSignalingIface *object, 1456s # guint16 arg_an_q) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_i: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_i: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalI" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_i ( 1456s # OrgProjectSignalingIface *object, 1456s # gint arg_an_i) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_u: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_u: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalU" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_u ( 1456s # OrgProjectSignalingIface *object, 1456s # guint arg_an_u) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_x: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_x: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalX" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_x ( 1456s # OrgProjectSignalingIface *object, 1456s # gint64 arg_an_x) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_t: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_t: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalT" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_t ( 1456s # OrgProjectSignalingIface *object, 1456s # guint64 arg_an_t) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_d: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_d: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalD" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_d ( 1456s # OrgProjectSignalingIface *object, 1456s # gdouble arg_an_d) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_s: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_s: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalS" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_s ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_s) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_o: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_o: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalO" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_o ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_o) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_g: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_g: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalG" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_g ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_g) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_h: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_h: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalH" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_h ( 1456s # OrgProjectSignalingIface *object, 1456s # GVariant *arg_an_h) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_ay: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalAY" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_ay) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_as: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_as: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalAS" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_as ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *const *arg_an_as) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_ao: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalAO" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *const *arg_an_ao) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_aay: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *const *arg_an_aay) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * @arg_an_asv: Argument to pass with the signal. 1456s # * 1456s # * Emits the "SingleArgSignalASV" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1456s # OrgProjectSignalingIface *object, 1456s # GVariant *arg_an_asv) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceProxy: 1456s # * 1456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceProxyClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectSignalingIfaceProxy. 1456s # */ 1456s # 1456s # struct _OrgProjectSignalingIfaceProxyPrivate 1456s # { 1456s # GData *qdata; 1456s # }; 1456s # 1456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_signaling_iface_proxy_finalize (GObject *object) 1456s # { 1456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1456s # g_datalist_clear (&proxy->priv->qdata); 1456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # const GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1456s # const gchar *sender_name G_GNUC_UNUSED, 1456s # const gchar *signal_name, 1456s # GVariant *parameters) 1456s # { 1456s # _ExtendedGDBusSignalInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # gsize n; 1456s # guint signal_id; 1456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1456s # if (info == NULL) 1456s # return; 1456s # num_params = g_variant_n_children (parameters); 1456s # paramv = g_new0 (GValue, num_params + 1); 1456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[0], proxy); 1456s # g_variant_iter_init (&iter, parameters); 1456s # n = 1; 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_signal_emitv (paramv, signal_id, 0, NULL); 1456s # for (n = 0; n < num_params + 1; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1456s # GVariant *changed_properties, 1456s # const gchar *const *invalidated_properties) 1456s # { 1456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1456s # guint n; 1456s # const gchar *key; 1456s # GVariantIter *iter; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # g_variant_get (changed_properties, "a{sv}", &iter); 1456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1456s # g_datalist_remove_data (&proxy->priv->qdata, key); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # g_variant_iter_free (iter); 1456s # for (n = 0; invalidated_properties[n] != NULL; n++) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1456s # #else 1456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1456s # #endif 1456s # 1456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusProxyClass *proxy_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1456s # 1456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_proxy_new ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_sync: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_sync ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_proxy_new_for_bus ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceSkeleton: 1456s # * 1456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceSkeletonClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1456s # */ 1456s # 1456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1456s # { 1456s # GValue *properties; 1456s # GList *changed_properties; 1456s # GSource *changed_properties_idle_source; 1456s # GMainContext *context; 1456s # GMutex lock; 1456s # }; 1456s # 1456s # static void 1456s # _org_project_signaling_iface_skeleton_handle_method_call ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name, 1456s # const gchar *method_name, 1456s # GVariant *parameters, 1456s # GDBusMethodInvocation *invocation, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # _ExtendedGDBusMethodInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # guint num_extra; 1456s # gsize n; 1456s # guint signal_id; 1456s # GValue return_value = G_VALUE_INIT; 1456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1456s # g_assert (info != NULL); 1456s # num_params = g_variant_n_children (parameters); 1456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1456s # n = 0; 1456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[n++], skeleton); 1456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1456s # g_value_set_object (¶mv[n++], invocation); 1456s # if (info->pass_fdlist) 1456s # { 1456s # #ifdef G_OS_UNIX 1456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1456s # #else 1456s # g_assert_not_reached (); 1456s # #endif 1456s # } 1456s # g_variant_iter_init (&iter, parameters); 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1456s # if (!g_value_get_boolean (&return_value)) 1456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1456s # g_value_unset (&return_value); 1456s # for (n = 0; n < num_params + num_extra; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static GVariant * 1456s # _org_project_signaling_iface_skeleton_handle_get_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # GVariant *ret; 1456s # ret = NULL; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # g_value_init (&value, pspec->value_type); 1456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1456s # g_value_unset (&value); 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _org_project_signaling_iface_skeleton_handle_set_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GVariant *variant, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # gboolean ret; 1456s # ret = FALSE; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # if (info->use_gvariant) 1456s # g_value_set_variant (&value, variant); 1456s # else 1456s # g_dbus_gvariant_to_gvalue (variant, &value); 1456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # g_value_unset (&value); 1456s # ret = TRUE; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1456s # { 1456s # _org_project_signaling_iface_skeleton_handle_method_call, 1456s # _org_project_signaling_iface_skeleton_handle_get_property, 1456s # _org_project_signaling_iface_skeleton_handle_set_property, 1456s # {NULL} 1456s # }; 1456s # 1456s # static GDBusInterfaceInfo * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return org_project_signaling_iface_interface_info (); 1456s # } 1456s # 1456s # static GDBusInterfaceVTable * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1456s # } 1456s # 1456s # static GVariant * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1456s # 1456s # GVariantBuilder builder; 1456s # guint n; 1456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1456s # goto out; 1456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1456s # { 1456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1456s # { 1456s # GVariant *value; 1456s # 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); 1456s # if (value != NULL) 1456s # { 1456s # g_variant_take_ref (value); 1456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1456s # g_variant_unref (value); 1456s # } 1456s # } 1456s # } 1456s # out: 1456s # return g_variant_builder_end (&builder); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1456s # OrgProjectSignalingIface *object) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1456s # OrgProjectSignalingIface *object, 1456s # gboolean arg_an_b) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1456s # arg_an_b)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1456s # OrgProjectSignalingIface *object, 1456s # guchar arg_an_y) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1456s # arg_an_y)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1456s # OrgProjectSignalingIface *object, 1456s # gint16 arg_an_n) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1456s # arg_an_n)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1456s # OrgProjectSignalingIface *object, 1456s # guint16 arg_an_q) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1456s # arg_an_q)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1456s # OrgProjectSignalingIface *object, 1456s # gint arg_an_i) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1456s # arg_an_i)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1456s # OrgProjectSignalingIface *object, 1456s # guint arg_an_u) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1456s # arg_an_u)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1456s # OrgProjectSignalingIface *object, 1456s # gint64 arg_an_x) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1456s # arg_an_x)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1456s # OrgProjectSignalingIface *object, 1456s # guint64 arg_an_t) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1456s # arg_an_t)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1456s # OrgProjectSignalingIface *object, 1456s # gdouble arg_an_d) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1456s # arg_an_d)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_s) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1456s # arg_an_s)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_o) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1456s # arg_an_o)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_g) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1456s # arg_an_g)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1456s # OrgProjectSignalingIface *object, 1456s # GVariant *arg_an_h) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1456s # arg_an_h)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *arg_an_ay) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1456s # arg_an_ay)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *const *arg_an_as) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1456s # arg_an_as)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *const *arg_an_ao) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1456s # arg_an_ao)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1456s # OrgProjectSignalingIface *object, 1456s # const gchar *const *arg_an_aay) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1456s # arg_an_aay)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1456s # OrgProjectSignalingIface *object, 1456s # GVariant *arg_an_asv) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1456s # arg_an_asv)); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1456s # if (skeleton->priv->changed_properties_idle_source != NULL) 1456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1456s # g_main_context_unref (skeleton->priv->context); 1456s # g_mutex_clear (&skeleton->priv->lock); 1456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1456s # #else 1456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1456s # #endif 1456s # 1456s # g_mutex_init (&skeleton->priv->lock); 1456s # skeleton->priv->context = g_main_context_ref_thread_default (); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusInterfaceSkeletonClass *skeleton_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1456s # 1456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1456s # { 1456s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1456s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1456s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1456s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1456s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1456s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1456s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1456s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1456s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1456s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1456s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1456s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1456s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1456s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1456s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1456s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1456s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1456s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1456s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_skeleton_new: 1456s # * 1456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_skeleton_new (void) 1456s # { 1456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1456s # } 1456s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1456s # tmpdir: /tmp/tmpl4cy93m8 1456s # codegen: /usr/bin/gdbus-codegen 1456s # /tmp/tmpl4cy93m8/tmplkgy7aza.xml: 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl4cy93m8/tmplkgy7aza.xml', '--output', '-', '--body'] 1456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1456s # Output: /* 1456s # * This file is generated by gdbus-codegen, do not modify it. 1456s # * 1456s # * The license of this code is the same as for the D-Bus interface description 1456s # * it was derived from. Note that it links to GLib, so must comply with the 1456s # * LGPL linking clauses. 1456s # */ 1456s # 1456s # #ifdef HAVE_CONFIG_H 1456s # # include "config.h" 1456s # #endif 1456s # 1456s # #include 1456s # #ifdef G_OS_UNIX 1456s # # include 1456s # #endif 1456s # 1456s # #ifdef G_ENABLE_DEBUG 1456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1456s # #else /* !G_ENABLE_DEBUG */ 1456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1456s # * Do not access GValues directly in your code. Instead, use the 1456s # * g_value_get_*() functions 1456s # */ 1456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1456s # #endif /* !G_ENABLE_DEBUG */ 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusArgInfo parent_struct; 1456s # gboolean use_gvariant; 1456s # } _ExtendedGDBusArgInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusMethodInfo parent_struct; 1456s # const gchar *signal_name; 1456s # gboolean pass_fdlist; 1456s # } _ExtendedGDBusMethodInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusSignalInfo parent_struct; 1456s # const gchar *signal_name; 1456s # } _ExtendedGDBusSignalInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusPropertyInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # guint use_gvariant : 1; 1456s # guint emits_changed_signal : 1; 1456s # } _ExtendedGDBusPropertyInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusInterfaceInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # } _ExtendedGDBusInterfaceInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # const _ExtendedGDBusPropertyInfo *info; 1456s # guint prop_id; 1456s # GValue orig_value; /* the value before the change */ 1456s # } ChangedProperty; 1456s # 1456s # static void 1456s # _changed_property_free (ChangedProperty *data) 1456s # { 1456s # g_value_unset (&data->orig_value); 1456s # g_free (data); 1456s # } 1456s # 1456s # static gboolean 1456s # _g_strv_equal0 (gchar **a, gchar **b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # guint n; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # if (g_strv_length (a) != g_strv_length (b)) 1456s # goto out; 1456s # for (n = 0; a[n] != NULL; n++) 1456s # if (g_strcmp0 (a[n], b[n]) != 0) 1456s # goto out; 1456s # ret = TRUE; 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _g_variant_equal0 (GVariant *a, GVariant *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # ret = g_variant_equal (a, b); 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # G_GNUC_UNUSED static gboolean 1456s # _g_value_equal (const GValue *a, const GValue *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1456s # switch (G_VALUE_TYPE (a)) 1456s # { 1456s # case G_TYPE_BOOLEAN: 1456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1456s # break; 1456s # case G_TYPE_UCHAR: 1456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1456s # break; 1456s # case G_TYPE_INT: 1456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1456s # break; 1456s # case G_TYPE_UINT: 1456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1456s # break; 1456s # case G_TYPE_INT64: 1456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1456s # break; 1456s # case G_TYPE_UINT64: 1456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1456s # break; 1456s # case G_TYPE_DOUBLE: 1456s # { 1456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1456s # gdouble da = g_value_get_double (a); 1456s # gdouble db = g_value_get_double (b); 1456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1456s # } 1456s # break; 1456s # case G_TYPE_STRING: 1456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1456s # break; 1456s # case G_TYPE_VARIANT: 1456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1456s # break; 1456s # default: 1456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1456s # else 1456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1456s # break; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ 1456s # * Code for interface org.project.UsefulInterface 1456s # * ------------------------------------------------------------------------ 1456s # */ 1456s # 1456s # /** 1456s # * SECTION:OrgProjectUsefulInterface 1456s # * @title: OrgProjectUsefulInterface 1456s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1456s # * 1456s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1456s # */ 1456s # 1456s # enum 1456s # { 1456s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1456s # }; 1456s # 1456s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1456s # 1456s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SimpleSignal", 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "simple-signal" 1456s # }; 1456s # 1456s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1456s # { 1456s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "org.project.UsefulInterface", 1456s # NULL, 1456s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "org-project-useful-interface", 1456s # }; 1456s # 1456s # 1456s # /** 1456s # * org_project_useful_interface_interface_info: 1456s # * 1456s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1456s # * 1456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1456s # */ 1456s # GDBusInterfaceInfo * 1456s # org_project_useful_interface_interface_info (void) 1456s # { 1456s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_override_properties: 1456s # * @klass: The class structure for a #GObject derived class. 1456s # * @property_id_begin: The property id to assign to the first overridden property. 1456s # * 1456s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1456s # * The properties are overridden in the order they are defined. 1456s # * 1456s # * Returns: The last property id. 1456s # */ 1456s # guint 1456s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1456s # { 1456s # return property_id_begin - 1; 1456s # } 1456s # 1456s # 1456s # inline static void 1456s # org_project_useful_interface_signal_marshal_simple_signal ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VOID (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # 1456s # /** 1456s # * OrgProjectUsefulInterface: 1456s # * 1456s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectUsefulInterfaceIface: 1456s # * @parent_iface: The parent interface. 1456s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1456s # * 1456s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1456s # */ 1456s # 1456s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1456s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1456s # 1456s # static void 1456s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1456s # { 1456s # /* GObject signals for received D-Bus signals: */ 1456s # /** 1456s # * OrgProjectUsefulInterface::simple-signal: 1456s # * @object: A #OrgProjectUsefulInterface. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1456s # g_signal_new ("simple-signal", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1456s # NULL, 1456s # NULL, 1456s # org_project_useful_interface_signal_marshal_simple_signal, 1456s # G_TYPE_NONE, 1456s # 0); 1456s # 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_emit_simple_signal: 1456s # * @object: A #OrgProjectUsefulInterface. 1456s # * 1456s # * Emits the "SimpleSignal" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_useful_interface_emit_simple_signal ( 1456s # OrgProjectUsefulInterface *object) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectUsefulInterfaceProxy: 1456s # * 1456s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectUsefulInterfaceProxyClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1456s # */ 1456s # 1456s # struct _OrgProjectUsefulInterfaceProxyPrivate 1456s # { 1456s # GData *qdata; 1456s # }; 1456s # 1456s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_useful_interface_proxy_finalize (GObject *object) 1456s # { 1456s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1456s # g_datalist_clear (&proxy->priv->qdata); 1456s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # const GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1456s # const gchar *sender_name G_GNUC_UNUSED, 1456s # const gchar *signal_name, 1456s # GVariant *parameters) 1456s # { 1456s # _ExtendedGDBusSignalInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # gsize n; 1456s # guint signal_id; 1456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1456s # if (info == NULL) 1456s # return; 1456s # num_params = g_variant_n_children (parameters); 1456s # paramv = g_new0 (GValue, num_params + 1); 1456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1456s # g_value_set_object (¶mv[0], proxy); 1456s # g_variant_iter_init (&iter, parameters); 1456s # n = 1; 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1456s # g_signal_emitv (paramv, signal_id, 0, NULL); 1456s # for (n = 0; n < num_params + 1; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1456s # GVariant *changed_properties, 1456s # const gchar *const *invalidated_properties) 1456s # { 1456s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1456s # guint n; 1456s # const gchar *key; 1456s # GVariantIter *iter; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # g_variant_get (changed_properties, "a{sv}", &iter); 1456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1456s # g_datalist_remove_data (&proxy->priv->qdata, key); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # g_variant_iter_free (iter); 1456s # for (n = 0; invalidated_properties[n] != NULL; n++) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1456s # #else 1456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1456s # #endif 1456s # 1456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusProxyClass *proxy_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1456s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1456s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1456s # 1456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1456s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1456s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_proxy_new: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_useful_interface_proxy_new ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # g_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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_proxy_new_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectUsefulInterface * 1456s # org_project_useful_interface_proxy_new_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_proxy_new_sync: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectUsefulInterface * 1456s # org_project_useful_interface_proxy_new_sync ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /** 1456s # * org_project_useful_interface_proxy_new_for_bus: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_useful_interface_proxy_new_for_bus ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # g_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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_proxy_new_for_bus_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectUsefulInterface * 1456s # org_project_useful_interface_proxy_new_for_bus_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_proxy_new_for_bus_sync: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectUsefulInterface * 1456s # org_project_useful_interface_proxy_new_for_bus_sync ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectUsefulInterfaceSkeleton: 1456s # * 1456s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectUsefulInterfaceSkeletonClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1456s # */ 1456s # 1456s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1456s # { 1456s # GValue *properties; 1456s # GList *changed_properties; 1456s # GSource *changed_properties_idle_source; 1456s # GMainContext *context; 1456s # GMutex lock; 1456s # }; 1456s # 1456s # static void 1456s # _org_project_useful_interface_skeleton_handle_method_call ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name, 1456s # const gchar *method_name, 1456s # GVariant *parameters, 1456s # GDBusMethodInvocation *invocation, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1456s # _ExtendedGDBusMethodInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # guint num_extra; 1456s # gsize n; 1456s # guint signal_id; 1456s # GValue return_value = G_VALUE_INIT; 1456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1456s # g_assert (info != NULL); 1456s # num_params = g_variant_n_children (parameters); 1456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1456s # n = 0; 1456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1456s # g_value_set_object (¶mv[n++], skeleton); 1456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1456s # g_value_set_object (¶mv[n++], invocation); 1456s # if (info->pass_fdlist) 1456s # { 1456s # #ifdef G_OS_UNIX 1456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1456s # #else 1456s # g_assert_not_reached (); 1456s # #endif 1456s # } 1456s # g_variant_iter_init (&iter, parameters); 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1456s # if (!g_value_get_boolean (&return_value)) 1456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1456s # g_value_unset (&return_value); 1456s # for (n = 0; n < num_params + num_extra; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static GVariant * 1456s # _org_project_useful_interface_skeleton_handle_get_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # GVariant *ret; 1456s # ret = NULL; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # g_value_init (&value, pspec->value_type); 1456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1456s # g_value_unset (&value); 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _org_project_useful_interface_skeleton_handle_set_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GVariant *variant, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # gboolean ret; 1456s # ret = FALSE; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # if (info->use_gvariant) 1456s # g_value_set_variant (&value, variant); 1456s # else 1456s # g_dbus_gvariant_to_gvalue (variant, &value); 1456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # g_value_unset (&value); 1456s # ret = TRUE; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1456s # { 1456s # _org_project_useful_interface_skeleton_handle_method_call, 1456s # _org_project_useful_interface_skeleton_handle_get_property, 1456s # _org_project_useful_interface_skeleton_handle_set_property, 1456s # {NULL} 1456s # }; 1456s # 1456s # static GDBusInterfaceInfo * 1456s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return org_project_useful_interface_interface_info (); 1456s # } 1456s # 1456s # static GDBusInterfaceVTable * 1456s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1456s # } 1456s # 1456s # static GVariant * 1456s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1456s # { 1456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1456s # 1456s # GVariantBuilder builder; 1456s # guint n; 1456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1456s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1456s # goto out; 1456s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1456s # { 1456s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1456s # { 1456s # GVariant *value; 1456s # 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); 1456s # if (value != NULL) 1456s # { 1456s # g_variant_take_ref (value); 1456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1456s # g_variant_unref (value); 1456s # } 1456s # } 1456s # } 1456s # out: 1456s # return g_variant_builder_end (&builder); 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # _org_project_useful_interface_on_signal_simple_signal ( 1456s # OrgProjectUsefulInterface *object) 1456s # { 1456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_useful_interface_skeleton_finalize (GObject *object) 1456s # { 1456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1456s # if (skeleton->priv->changed_properties_idle_source != NULL) 1456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1456s # g_main_context_unref (skeleton->priv->context); 1456s # g_mutex_clear (&skeleton->priv->lock); 1456s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1456s # #else 1456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1456s # #endif 1456s # 1456s # g_mutex_init (&skeleton->priv->lock); 1456s # skeleton->priv->context = g_main_context_ref_thread_default (); 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusInterfaceSkeletonClass *skeleton_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1456s # 1456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1456s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1456s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1456s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1456s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1456s # { 1456s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1456s # } 1456s # 1456s # /** 1456s # * org_project_useful_interface_skeleton_new: 1456s # * 1456s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1456s # */ 1456s # OrgProjectUsefulInterface * 1456s # org_project_useful_interface_skeleton_new (void) 1456s # { 1456s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ 1456s # * Code for interface org.project.OtherIface 1456s # * ------------------------------------------------------------------------ 1456s # */ 1456s # 1456s # /** 1456s # * SECTION:OrgProjectOtherIface 1456s # * @title: OrgProjectOtherIface 1456s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1456s # * 1456s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1456s # */ 1456s # 1456s # enum 1456s # { 1456s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1456s # }; 1456s # 1456s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1456s # 1456s # /* ---- Introspection data for org.project.OtherIface ---- */ 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SimpleSignal", 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "simple-signal" 1456s # }; 1456s # 1456s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1456s # { 1456s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "org.project.OtherIface", 1456s # NULL, 1456s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "org-project-other-iface", 1456s # }; 1456s # 1456s # 1456s # /** 1456s # * org_project_other_iface_interface_info: 1456s # * 1456s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1456s # * 1456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1456s # */ 1456s # GDBusInterfaceInfo * 1456s # org_project_other_iface_interface_info (void) 1456s # { 1456s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_override_properties: 1456s # * @klass: The class structure for a #GObject derived class. 1456s # * @property_id_begin: The property id to assign to the first overridden property. 1456s # * 1456s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1456s # * The properties are overridden in the order they are defined. 1456s # * 1456s # * Returns: The last property id. 1456s # */ 1456s # guint 1456s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1456s # { 1456s # return property_id_begin - 1; 1456s # } 1456s # 1456s # 1456s # inline static void 1456s # org_project_other_iface_signal_marshal_simple_signal ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VOID (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # 1456s # /** 1456s # * OrgProjectOtherIface: 1456s # * 1456s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectOtherIfaceIface: 1456s # * @parent_iface: The parent interface. 1456s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1456s # * 1456s # * Virtual table for the D-Bus interface org.project.OtherIface. 1456s # */ 1456s # 1456s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1456s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1456s # 1456s # static void 1456s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1456s # { 1456s # /* GObject signals for received D-Bus signals: */ 1456s # /** 1456s # * OrgProjectOtherIface::simple-signal: 1456s # * @object: A #OrgProjectOtherIface. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1456s # g_signal_new ("simple-signal", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1456s # NULL, 1456s # NULL, 1456s # org_project_other_iface_signal_marshal_simple_signal, 1456s # G_TYPE_NONE, 1456s # 0); 1456s # 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_emit_simple_signal: 1456s # * @object: A #OrgProjectOtherIface. 1456s # * 1456s # * Emits the "SimpleSignal" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_other_iface_emit_simple_signal ( 1456s # OrgProjectOtherIface *object) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectOtherIfaceProxy: 1456s # * 1456s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectOtherIfaceProxyClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectOtherIfaceProxy. 1456s # */ 1456s # 1456s # struct _OrgProjectOtherIfaceProxyPrivate 1456s # { 1456s # GData *qdata; 1456s # }; 1456s # 1456s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_other_iface_proxy_finalize (GObject *object) 1456s # { 1456s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1456s # g_datalist_clear (&proxy->priv->qdata); 1456s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # const GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1456s # const gchar *sender_name G_GNUC_UNUSED, 1456s # const gchar *signal_name, 1456s # GVariant *parameters) 1456s # { 1456s # _ExtendedGDBusSignalInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # gsize n; 1456s # guint signal_id; 1456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1456s # if (info == NULL) 1456s # return; 1456s # num_params = g_variant_n_children (parameters); 1456s # paramv = g_new0 (GValue, num_params + 1); 1456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1456s # g_value_set_object (¶mv[0], proxy); 1456s # g_variant_iter_init (&iter, parameters); 1456s # n = 1; 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1456s # g_signal_emitv (paramv, signal_id, 0, NULL); 1456s # for (n = 0; n < num_params + 1; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1456s # GVariant *changed_properties, 1456s # const gchar *const *invalidated_properties) 1456s # { 1456s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1456s # guint n; 1456s # const gchar *key; 1456s # GVariantIter *iter; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # g_variant_get (changed_properties, "a{sv}", &iter); 1456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1456s # g_datalist_remove_data (&proxy->priv->qdata, key); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # g_variant_iter_free (iter); 1456s # for (n = 0; invalidated_properties[n] != NULL; n++) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1456s # #else 1456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1456s # #endif 1456s # 1456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusProxyClass *proxy_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1456s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1456s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1456s # 1456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1456s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1456s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_proxy_new: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_other_iface_proxy_new ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_proxy_new_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherIface * 1456s # org_project_other_iface_proxy_new_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_proxy_new_sync: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherIface * 1456s # org_project_other_iface_proxy_new_sync ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /** 1456s # * org_project_other_iface_proxy_new_for_bus: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_other_iface_proxy_new_for_bus ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_proxy_new_for_bus_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherIface * 1456s # org_project_other_iface_proxy_new_for_bus_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_proxy_new_for_bus_sync: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherIface * 1456s # org_project_other_iface_proxy_new_for_bus_sync ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectOtherIfaceSkeleton: 1456s # * 1456s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectOtherIfaceSkeletonClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1456s # */ 1456s # 1456s # struct _OrgProjectOtherIfaceSkeletonPrivate 1456s # { 1456s # GValue *properties; 1456s # GList *changed_properties; 1456s # GSource *changed_properties_idle_source; 1456s # GMainContext *context; 1456s # GMutex lock; 1456s # }; 1456s # 1456s # static void 1456s # _org_project_other_iface_skeleton_handle_method_call ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name, 1456s # const gchar *method_name, 1456s # GVariant *parameters, 1456s # GDBusMethodInvocation *invocation, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1456s # _ExtendedGDBusMethodInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # guint num_extra; 1456s # gsize n; 1456s # guint signal_id; 1456s # GValue return_value = G_VALUE_INIT; 1456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1456s # g_assert (info != NULL); 1456s # num_params = g_variant_n_children (parameters); 1456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1456s # n = 0; 1456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1456s # g_value_set_object (¶mv[n++], skeleton); 1456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1456s # g_value_set_object (¶mv[n++], invocation); 1456s # if (info->pass_fdlist) 1456s # { 1456s # #ifdef G_OS_UNIX 1456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1456s # #else 1456s # g_assert_not_reached (); 1456s # #endif 1456s # } 1456s # g_variant_iter_init (&iter, parameters); 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1456s # if (!g_value_get_boolean (&return_value)) 1456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1456s # g_value_unset (&return_value); 1456s # for (n = 0; n < num_params + num_extra; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static GVariant * 1456s # _org_project_other_iface_skeleton_handle_get_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # GVariant *ret; 1456s # ret = NULL; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # g_value_init (&value, pspec->value_type); 1456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1456s # g_value_unset (&value); 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _org_project_other_iface_skeleton_handle_set_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GVariant *variant, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # gboolean ret; 1456s # ret = FALSE; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # if (info->use_gvariant) 1456s # g_value_set_variant (&value, variant); 1456s # else 1456s # g_dbus_gvariant_to_gvalue (variant, &value); 1456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # g_value_unset (&value); 1456s # ret = TRUE; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1456s # { 1456s # _org_project_other_iface_skeleton_handle_method_call, 1456s # _org_project_other_iface_skeleton_handle_get_property, 1456s # _org_project_other_iface_skeleton_handle_set_property, 1456s # {NULL} 1456s # }; 1456s # 1456s # static GDBusInterfaceInfo * 1456s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return org_project_other_iface_interface_info (); 1456s # } 1456s # 1456s # static GDBusInterfaceVTable * 1456s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1456s # } 1456s # 1456s # static GVariant * 1456s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1456s # { 1456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1456s # 1456s # GVariantBuilder builder; 1456s # guint n; 1456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1456s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1456s # goto out; 1456s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1456s # { 1456s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1456s # { 1456s # GVariant *value; 1456s # 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); 1456s # if (value != NULL) 1456s # { 1456s # g_variant_take_ref (value); 1456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1456s # g_variant_unref (value); 1456s # } 1456s # } 1456s # } 1456s # out: 1456s # return g_variant_builder_end (&builder); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # _org_project_other_iface_on_signal_simple_signal ( 1456s # OrgProjectOtherIface *object) 1456s # { 1456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_other_iface_skeleton_finalize (GObject *object) 1456s # { 1456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1456s # if (skeleton->priv->changed_properties_idle_source != NULL) 1456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1456s # g_main_context_unref (skeleton->priv->context); 1456s # g_mutex_clear (&skeleton->priv->lock); 1456s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1456s # #else 1456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1456s # #endif 1456s # 1456s # g_mutex_init (&skeleton->priv->lock); 1456s # skeleton->priv->context = g_main_context_ref_thread_default (); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusInterfaceSkeletonClass *skeleton_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1456s # 1456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1456s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1456s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1456s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1456s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1456s # { 1456s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_iface_skeleton_new: 1456s # * 1456s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1456s # */ 1456s # OrgProjectOtherIface * 1456s # org_project_other_iface_skeleton_new (void) 1456s # { 1456s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1456s # } 1456s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1456s # tmpdir: /tmp/tmp1kxfvaey 1456s # codegen: /usr/bin/gdbus-codegen 1456s # /tmp/tmp1kxfvaey/tmp70o_5dzj.xml: 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # 1456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1kxfvaey/tmp70o_5dzj.xml', '--output', '-', '--body'] 1456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1456s # Output: /* 1456s # * This file is generated by gdbus-codegen, do not modify it. 1456s # * 1456s # * The license of this code is the same as for the D-Bus interface description 1456s # * it was derived from. Note that it links to GLib, so must comply with the 1456s # * LGPL linking clauses. 1456s # */ 1456s # 1456s # #ifdef HAVE_CONFIG_H 1456s # # include "config.h" 1456s # #endif 1456s # 1456s # #include 1456s # #ifdef G_OS_UNIX 1456s # # include 1456s # #endif 1456s # 1456s # #ifdef G_ENABLE_DEBUG 1456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1456s # #else /* !G_ENABLE_DEBUG */ 1456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1456s # * Do not access GValues directly in your code. Instead, use the 1456s # * g_value_get_*() functions 1456s # */ 1456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1456s # #endif /* !G_ENABLE_DEBUG */ 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusArgInfo parent_struct; 1456s # gboolean use_gvariant; 1456s # } _ExtendedGDBusArgInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusMethodInfo parent_struct; 1456s # const gchar *signal_name; 1456s # gboolean pass_fdlist; 1456s # } _ExtendedGDBusMethodInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusSignalInfo parent_struct; 1456s # const gchar *signal_name; 1456s # } _ExtendedGDBusSignalInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusPropertyInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # guint use_gvariant : 1; 1456s # guint emits_changed_signal : 1; 1456s # } _ExtendedGDBusPropertyInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # GDBusInterfaceInfo parent_struct; 1456s # const gchar *hyphen_name; 1456s # } _ExtendedGDBusInterfaceInfo; 1456s # 1456s # typedef struct 1456s # { 1456s # const _ExtendedGDBusPropertyInfo *info; 1456s # guint prop_id; 1456s # GValue orig_value; /* the value before the change */ 1456s # } ChangedProperty; 1456s # 1456s # static void 1456s # _changed_property_free (ChangedProperty *data) 1456s # { 1456s # g_value_unset (&data->orig_value); 1456s # g_free (data); 1456s # } 1456s # 1456s # static gboolean 1456s # _g_strv_equal0 (gchar **a, gchar **b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # guint n; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # if (g_strv_length (a) != g_strv_length (b)) 1456s # goto out; 1456s # for (n = 0; a[n] != NULL; n++) 1456s # if (g_strcmp0 (a[n], b[n]) != 0) 1456s # goto out; 1456s # ret = TRUE; 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _g_variant_equal0 (GVariant *a, GVariant *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # if (a == NULL && b == NULL) 1456s # { 1456s # ret = TRUE; 1456s # goto out; 1456s # } 1456s # if (a == NULL || b == NULL) 1456s # goto out; 1456s # ret = g_variant_equal (a, b); 1456s # out: 1456s # return ret; 1456s # } 1456s # 1456s # G_GNUC_UNUSED static gboolean 1456s # _g_value_equal (const GValue *a, const GValue *b) 1456s # { 1456s # gboolean ret = FALSE; 1456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1456s # switch (G_VALUE_TYPE (a)) 1456s # { 1456s # case G_TYPE_BOOLEAN: 1456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1456s # break; 1456s # case G_TYPE_UCHAR: 1456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1456s # break; 1456s # case G_TYPE_INT: 1456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1456s # break; 1456s # case G_TYPE_UINT: 1456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1456s # break; 1456s # case G_TYPE_INT64: 1456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1456s # break; 1456s # case G_TYPE_UINT64: 1456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1456s # break; 1456s # case G_TYPE_DOUBLE: 1456s # { 1456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1456s # gdouble da = g_value_get_double (a); 1456s # gdouble db = g_value_get_double (b); 1456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1456s # } 1456s # break; 1456s # case G_TYPE_STRING: 1456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1456s # break; 1456s # case G_TYPE_VARIANT: 1456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1456s # break; 1456s # default: 1456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1456s # else 1456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1456s # break; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ 1456s # * Code for interface org.project.SignalingIface 1456s # * ------------------------------------------------------------------------ 1456s # */ 1456s # 1456s # /** 1456s # * SECTION:OrgProjectSignalingIface 1456s # * @title: OrgProjectSignalingIface 1456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1456s # * 1456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1456s # */ 1456s # 1456s # enum 1456s # { 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1456s # }; 1456s # 1456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1456s # 1456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SimpleSignal", 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "simple-signal" 1456s # }; 1456s # 1456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1456s # { 1456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "org.project.SignalingIface", 1456s # NULL, 1456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "org-project-signaling-iface", 1456s # }; 1456s # 1456s # 1456s # /** 1456s # * org_project_signaling_iface_interface_info: 1456s # * 1456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1456s # * 1456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1456s # */ 1456s # GDBusInterfaceInfo * 1456s # org_project_signaling_iface_interface_info (void) 1456s # { 1456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_override_properties: 1456s # * @klass: The class structure for a #GObject derived class. 1456s # * @property_id_begin: The property id to assign to the first overridden property. 1456s # * 1456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1456s # * The properties are overridden in the order they are defined. 1456s # * 1456s # * Returns: The last property id. 1456s # */ 1456s # guint 1456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1456s # { 1456s # return property_id_begin - 1; 1456s # } 1456s # 1456s # 1456s # inline static void 1456s # org_project_signaling_iface_signal_marshal_simple_signal ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VOID (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # 1456s # /** 1456s # * OrgProjectSignalingIface: 1456s # * 1456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceIface: 1456s # * @parent_iface: The parent interface. 1456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1456s # * 1456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1456s # */ 1456s # 1456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1456s # 1456s # static void 1456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1456s # { 1456s # /* GObject signals for received D-Bus signals: */ 1456s # /** 1456s # * OrgProjectSignalingIface::simple-signal: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1456s # g_signal_new ("simple-signal", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1456s # NULL, 1456s # NULL, 1456s # org_project_signaling_iface_signal_marshal_simple_signal, 1456s # G_TYPE_NONE, 1456s # 0); 1456s # 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_emit_simple_signal: 1456s # * @object: A #OrgProjectSignalingIface. 1456s # * 1456s # * Emits the "SimpleSignal" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_emit_simple_signal ( 1456s # OrgProjectSignalingIface *object) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceProxy: 1456s # * 1456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceProxyClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectSignalingIfaceProxy. 1456s # */ 1456s # 1456s # struct _OrgProjectSignalingIfaceProxyPrivate 1456s # { 1456s # GData *qdata; 1456s # }; 1456s # 1456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_signaling_iface_proxy_finalize (GObject *object) 1456s # { 1456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1456s # g_datalist_clear (&proxy->priv->qdata); 1456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # const GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1456s # const gchar *sender_name G_GNUC_UNUSED, 1456s # const gchar *signal_name, 1456s # GVariant *parameters) 1456s # { 1456s # _ExtendedGDBusSignalInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # gsize n; 1456s # guint signal_id; 1456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1456s # if (info == NULL) 1456s # return; 1456s # num_params = g_variant_n_children (parameters); 1456s # paramv = g_new0 (GValue, num_params + 1); 1456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[0], proxy); 1456s # g_variant_iter_init (&iter, parameters); 1456s # n = 1; 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_signal_emitv (paramv, signal_id, 0, NULL); 1456s # for (n = 0; n < num_params + 1; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1456s # GVariant *changed_properties, 1456s # const gchar *const *invalidated_properties) 1456s # { 1456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1456s # guint n; 1456s # const gchar *key; 1456s # GVariantIter *iter; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # g_variant_get (changed_properties, "a{sv}", &iter); 1456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1456s # g_datalist_remove_data (&proxy->priv->qdata, key); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # g_variant_iter_free (iter); 1456s # for (n = 0; invalidated_properties[n] != NULL; n++) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1456s # #else 1456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1456s # #endif 1456s # 1456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusProxyClass *proxy_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1456s # 1456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_proxy_new ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_sync: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_sync ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_signaling_iface_proxy_new_for_bus ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceSkeleton: 1456s # * 1456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectSignalingIfaceSkeletonClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1456s # */ 1456s # 1456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1456s # { 1456s # GValue *properties; 1456s # GList *changed_properties; 1456s # GSource *changed_properties_idle_source; 1456s # GMainContext *context; 1456s # GMutex lock; 1456s # }; 1456s # 1456s # static void 1456s # _org_project_signaling_iface_skeleton_handle_method_call ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name, 1456s # const gchar *method_name, 1456s # GVariant *parameters, 1456s # GDBusMethodInvocation *invocation, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # _ExtendedGDBusMethodInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # guint num_extra; 1456s # gsize n; 1456s # guint signal_id; 1456s # GValue return_value = G_VALUE_INIT; 1456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1456s # g_assert (info != NULL); 1456s # num_params = g_variant_n_children (parameters); 1456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1456s # n = 0; 1456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[n++], skeleton); 1456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1456s # g_value_set_object (¶mv[n++], invocation); 1456s # if (info->pass_fdlist) 1456s # { 1456s # #ifdef G_OS_UNIX 1456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1456s # #else 1456s # g_assert_not_reached (); 1456s # #endif 1456s # } 1456s # g_variant_iter_init (&iter, parameters); 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1456s # if (!g_value_get_boolean (&return_value)) 1456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1456s # g_value_unset (&return_value); 1456s # for (n = 0; n < num_params + num_extra; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static GVariant * 1456s # _org_project_signaling_iface_skeleton_handle_get_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # GVariant *ret; 1456s # ret = NULL; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # g_value_init (&value, pspec->value_type); 1456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1456s # g_value_unset (&value); 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _org_project_signaling_iface_skeleton_handle_set_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GVariant *variant, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # gboolean ret; 1456s # ret = FALSE; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # if (info->use_gvariant) 1456s # g_value_set_variant (&value, variant); 1456s # else 1456s # g_dbus_gvariant_to_gvalue (variant, &value); 1456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # g_value_unset (&value); 1456s # ret = TRUE; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1456s # { 1456s # _org_project_signaling_iface_skeleton_handle_method_call, 1456s # _org_project_signaling_iface_skeleton_handle_get_property, 1456s # _org_project_signaling_iface_skeleton_handle_set_property, 1456s # {NULL} 1456s # }; 1456s # 1456s # static GDBusInterfaceInfo * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return org_project_signaling_iface_interface_info (); 1456s # } 1456s # 1456s # static GDBusInterfaceVTable * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1456s # } 1456s # 1456s # static GVariant * 1456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1456s # 1456s # GVariantBuilder builder; 1456s # guint n; 1456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1456s # goto out; 1456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1456s # { 1456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1456s # { 1456s # GVariant *value; 1456s # 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); 1456s # if (value != NULL) 1456s # { 1456s # g_variant_take_ref (value); 1456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1456s # g_variant_unref (value); 1456s # } 1456s # } 1456s # } 1456s # out: 1456s # return g_variant_builder_end (&builder); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # _org_project_signaling_iface_on_signal_simple_signal ( 1456s # OrgProjectSignalingIface *object) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1456s # { 1456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1456s # if (skeleton->priv->changed_properties_idle_source != NULL) 1456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1456s # g_main_context_unref (skeleton->priv->context); 1456s # g_mutex_clear (&skeleton->priv->lock); 1456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1456s # #else 1456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1456s # #endif 1456s # 1456s # g_mutex_init (&skeleton->priv->lock); 1456s # skeleton->priv->context = g_main_context_ref_thread_default (); 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusInterfaceSkeletonClass *skeleton_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1456s # 1456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1456s # { 1456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1456s # } 1456s # 1456s # /** 1456s # * org_project_signaling_iface_skeleton_new: 1456s # * 1456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1456s # */ 1456s # OrgProjectSignalingIface * 1456s # org_project_signaling_iface_skeleton_new (void) 1456s # { 1456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ 1456s # * Code for interface org.project.OtherSignalingIface 1456s # * ------------------------------------------------------------------------ 1456s # */ 1456s # 1456s # /** 1456s # * SECTION:OrgProjectOtherSignalingIface 1456s # * @title: OrgProjectOtherSignalingIface 1456s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1456s # * 1456s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1456s # */ 1456s # 1456s # enum 1456s # { 1456s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1456s # }; 1456s # 1456s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1456s # 1456s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1456s # 1456s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "SimpleSignal", 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "simple-signal" 1456s # }; 1456s # 1456s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1456s # { 1456s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1456s # NULL 1456s # }; 1456s # 1456s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1456s # { 1456s # { 1456s # -1, 1456s # (gchar *) "org.project.OtherSignalingIface", 1456s # NULL, 1456s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1456s # NULL, 1456s # NULL 1456s # }, 1456s # "org-project-other-signaling-iface", 1456s # }; 1456s # 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_interface_info: 1456s # * 1456s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1456s # * 1456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1456s # */ 1456s # GDBusInterfaceInfo * 1456s # org_project_other_signaling_iface_interface_info (void) 1456s # { 1456s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_override_properties: 1456s # * @klass: The class structure for a #GObject derived class. 1456s # * @property_id_begin: The property id to assign to the first overridden property. 1456s # * 1456s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1456s # * The properties are overridden in the order they are defined. 1456s # * 1456s # * Returns: The last property id. 1456s # */ 1456s # guint 1456s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1456s # { 1456s # return property_id_begin - 1; 1456s # } 1456s # 1456s # 1456s # inline static void 1456s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1456s # GClosure *closure, 1456s # GValue *return_value, 1456s # unsigned int n_param_values, 1456s # const GValue *param_values, 1456s # void *invocation_hint, 1456s # void *marshal_data) 1456s # { 1456s # g_cclosure_marshal_VOID__VOID (closure, 1456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1456s # } 1456s # 1456s # 1456s # /** 1456s # * OrgProjectOtherSignalingIface: 1456s # * 1456s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectOtherSignalingIfaceIface: 1456s # * @parent_iface: The parent interface. 1456s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1456s # * 1456s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1456s # */ 1456s # 1456s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1456s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1456s # { 1456s # /* GObject signals for received D-Bus signals: */ 1456s # /** 1456s # * OrgProjectOtherSignalingIface::simple-signal: 1456s # * @object: A #OrgProjectOtherSignalingIface. 1456s # * 1456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1456s # * 1456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1456s # */ 1456s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1456s # g_signal_new ("simple-signal", 1456s # G_TYPE_FROM_INTERFACE (iface), 1456s # G_SIGNAL_RUN_LAST, 1456s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1456s # NULL, 1456s # NULL, 1456s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1456s # G_TYPE_NONE, 1456s # 0); 1456s # 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_emit_simple_signal: 1456s # * @object: A #OrgProjectOtherSignalingIface. 1456s # * 1456s # * Emits the "SimpleSignal" D-Bus signal. 1456s # */ 1456s # void 1456s # org_project_other_signaling_iface_emit_simple_signal ( 1456s # OrgProjectOtherSignalingIface *object) 1456s # { 1456s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1456s # } 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectOtherSignalingIfaceProxy: 1456s # * 1456s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectOtherSignalingIfaceProxyClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1456s # */ 1456s # 1456s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1456s # { 1456s # GData *qdata; 1456s # }; 1456s # 1456s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1456s # { 1456s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1456s # g_datalist_clear (&proxy->priv->qdata); 1456s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1456s # guint prop_id G_GNUC_UNUSED, 1456s # const GValue *value G_GNUC_UNUSED, 1456s # GParamSpec *pspec G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1456s # const gchar *sender_name G_GNUC_UNUSED, 1456s # const gchar *signal_name, 1456s # GVariant *parameters) 1456s # { 1456s # _ExtendedGDBusSignalInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # gsize n; 1456s # guint signal_id; 1456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1456s # if (info == NULL) 1456s # return; 1456s # num_params = g_variant_n_children (parameters); 1456s # paramv = g_new0 (GValue, num_params + 1); 1456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[0], proxy); 1456s # g_variant_iter_init (&iter, parameters); 1456s # n = 1; 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1456s # g_signal_emitv (paramv, signal_id, 0, NULL); 1456s # for (n = 0; n < num_params + 1; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1456s # GVariant *changed_properties, 1456s # const gchar *const *invalidated_properties) 1456s # { 1456s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1456s # guint n; 1456s # const gchar *key; 1456s # GVariantIter *iter; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # g_variant_get (changed_properties, "a{sv}", &iter); 1456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1456s # g_datalist_remove_data (&proxy->priv->qdata, key); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # g_variant_iter_free (iter); 1456s # for (n = 0; invalidated_properties[n] != NULL; n++) 1456s # { 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1456s # if (info != NULL) 1456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1456s # } 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1456s # #else 1456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1456s # #endif 1456s # 1456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusProxyClass *proxy_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1456s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1456s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1456s # 1456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1456s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1456s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_proxy_new: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_other_signaling_iface_proxy_new ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_proxy_new_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherSignalingIface * 1456s # org_project_other_signaling_iface_proxy_new_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_proxy_new_sync: 1456s # * @connection: A #GDBusConnection. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherSignalingIface * 1456s # org_project_other_signaling_iface_proxy_new_sync ( 1456s # GDBusConnection *connection, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_proxy_new_for_bus: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1456s # * @user_data: User data to pass to @callback. 1456s # * 1456s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1456s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1456s # * 1456s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1456s # */ 1456s # void 1456s # org_project_other_signaling_iface_proxy_new_for_bus ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GAsyncReadyCallback callback, 1456s # gpointer user_data) 1456s # { 1456s # 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); 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherSignalingIface * 1456s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1456s # GAsyncResult *res, 1456s # GError **error) 1456s # { 1456s # GObject *ret; 1456s # GObject *source_object; 1456s # source_object = g_async_result_get_source_object (res); 1456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1456s # g_object_unref (source_object); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1456s # * @bus_type: A #GBusType. 1456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1456s # * @name: A bus name (well-known or unique). 1456s # * @object_path: An object path. 1456s # * @cancellable: (nullable): A #GCancellable or %NULL. 1456s # * @error: Return location for error or %NULL 1456s # * 1456s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1456s # * 1456s # * The calling thread is blocked until a reply is received. 1456s # * 1456s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1456s # */ 1456s # OrgProjectOtherSignalingIface * 1456s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1456s # GBusType bus_type, 1456s # GDBusProxyFlags flags, 1456s # const gchar *name, 1456s # const gchar *object_path, 1456s # GCancellable *cancellable, 1456s # GError **error) 1456s # { 1456s # GInitable *ret; 1456s # 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); 1456s # if (ret != NULL) 1456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1456s # else 1456s # return NULL; 1456s # } 1456s # 1456s # 1456s # /* ------------------------------------------------------------------------ */ 1456s # 1456s # /** 1456s # * OrgProjectOtherSignalingIfaceSkeleton: 1456s # * 1456s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1456s # */ 1456s # 1456s # /** 1456s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1456s # * @parent_class: The parent class. 1456s # * 1456s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1456s # */ 1456s # 1456s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1456s # { 1456s # GValue *properties; 1456s # GList *changed_properties; 1456s # GSource *changed_properties_idle_source; 1456s # GMainContext *context; 1456s # GMutex lock; 1456s # }; 1456s # 1456s # static void 1456s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name, 1456s # const gchar *method_name, 1456s # GVariant *parameters, 1456s # GDBusMethodInvocation *invocation, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1456s # _ExtendedGDBusMethodInfo *info; 1456s # GVariantIter iter; 1456s # GVariant *child; 1456s # GValue *paramv; 1456s # gsize num_params; 1456s # guint num_extra; 1456s # gsize n; 1456s # guint signal_id; 1456s # GValue return_value = G_VALUE_INIT; 1456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1456s # g_assert (info != NULL); 1456s # num_params = g_variant_n_children (parameters); 1456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1456s # n = 0; 1456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1456s # g_value_set_object (¶mv[n++], skeleton); 1456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1456s # g_value_set_object (¶mv[n++], invocation); 1456s # if (info->pass_fdlist) 1456s # { 1456s # #ifdef G_OS_UNIX 1456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1456s # #else 1456s # g_assert_not_reached (); 1456s # #endif 1456s # } 1456s # g_variant_iter_init (&iter, parameters); 1456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1456s # { 1456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1456s # if (arg_info->use_gvariant) 1456s # { 1456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1456s # g_value_set_variant (¶mv[n], child); 1456s # n++; 1456s # } 1456s # else 1456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1456s # g_variant_unref (child); 1456s # } 1456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1456s # if (!g_value_get_boolean (&return_value)) 1456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1456s # g_value_unset (&return_value); 1456s # for (n = 0; n < num_params + num_extra; n++) 1456s # g_value_unset (¶mv[n]); 1456s # g_free (paramv); 1456s # } 1456s # 1456s # static GVariant * 1456s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # GVariant *ret; 1456s # ret = NULL; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # g_value_init (&value, pspec->value_type); 1456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1456s # g_value_unset (&value); 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static gboolean 1456s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1456s # GDBusConnection *connection G_GNUC_UNUSED, 1456s # const gchar *sender G_GNUC_UNUSED, 1456s # const gchar *object_path G_GNUC_UNUSED, 1456s # const gchar *interface_name G_GNUC_UNUSED, 1456s # const gchar *property_name, 1456s # GVariant *variant, 1456s # GError **error, 1456s # gpointer user_data) 1456s # { 1456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1456s # GValue value = G_VALUE_INIT; 1456s # GParamSpec *pspec; 1456s # _ExtendedGDBusPropertyInfo *info; 1456s # gboolean ret; 1456s # ret = FALSE; 1456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1456s # g_assert (info != NULL); 1456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1456s # if (pspec == NULL) 1456s # { 1456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1456s # } 1456s # else 1456s # { 1456s # if (info->use_gvariant) 1456s # g_value_set_variant (&value, variant); 1456s # else 1456s # g_dbus_gvariant_to_gvalue (variant, &value); 1456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1456s # g_value_unset (&value); 1456s # ret = TRUE; 1456s # } 1456s # return ret; 1456s # } 1456s # 1456s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1456s # { 1456s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1456s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1456s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1456s # {NULL} 1456s # }; 1456s # 1456s # static GDBusInterfaceInfo * 1456s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return org_project_other_signaling_iface_interface_info (); 1456s # } 1456s # 1456s # static GDBusInterfaceVTable * 1456s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1456s # { 1456s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1456s # } 1456s # 1456s # static GVariant * 1456s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1456s # { 1456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1456s # 1456s # GVariantBuilder builder; 1456s # guint n; 1456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1456s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1456s # goto out; 1456s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1456s # { 1456s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1456s # { 1456s # GVariant *value; 1456s # 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); 1456s # if (value != NULL) 1456s # { 1456s # g_variant_take_ref (value); 1456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1456s # g_variant_unref (value); 1456s # } 1456s # } 1456s # } 1456s # out: 1456s # return g_variant_builder_end (&builder); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1456s # { 1456s # } 1456s # 1456s # static void 1456s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1456s # OrgProjectOtherSignalingIface *object) 1456s # { 1456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1456s # 1456s # GList *connections, *l; 1456s # GVariant *signal_variant; 1456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1456s # 1456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1456s # for (l = connections; l != NULL; l = l->next) 1456s # { 1456s # GDBusConnection *connection = l->data; 1456s # g_dbus_connection_emit_signal (connection, 1456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1456s # signal_variant, NULL); 1456s # } 1456s # g_variant_unref (signal_variant); 1456s # g_list_free_full (connections, g_object_unref); 1456s # } 1456s # 1456s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #else 1456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1456s # 1456s # #endif 1456s # static void 1456s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1456s # { 1456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1456s # if (skeleton->priv->changed_properties_idle_source != NULL) 1456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1456s # g_main_context_unref (skeleton->priv->context); 1456s # g_mutex_clear (&skeleton->priv->lock); 1456s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1456s # { 1456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1456s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1456s # #else 1456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1456s # #endif 1456s # 1456s # g_mutex_init (&skeleton->priv->lock); 1456s # skeleton->priv->context = g_main_context_ref_thread_default (); 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1456s # { 1456s # GObjectClass *gobject_class; 1456s # GDBusInterfaceSkeletonClass *skeleton_class; 1456s # 1456s # gobject_class = G_OBJECT_CLASS (klass); 1456s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1456s # 1456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1456s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1456s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1456s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1456s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1456s # 1456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1456s # #endif 1456s # } 1456s # 1456s # static void 1456s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1456s # { 1456s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1456s # } 1456s # 1456s # /** 1456s # * org_project_other_signaling_iface_skeleton_new: 1456s # * 1456s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1456s # * 1456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1456s # */ 1456s # OrgProjectOtherSignalingIface * 1456s # org_project_other_signaling_iface_skeleton_new (void) 1456s # { 1456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1456s # } 1458s # Executing: glib/codegen.py.test 1460s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1460s # tmpdir: /tmp/tmpoxeo0w74 1460s # codegen: /usr/bin/gdbus-codegen 1460s # /tmp/tmpoxeo0w74/tmp57hyh6xr.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp57hyh6xr.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_b", 1460s # (gchar *) "b", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalB", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-b" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-b: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_b: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1460s # g_signal_new ("single-arg-signal-b", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_BOOLEAN); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_b: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_b: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalB" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_b ( 1460s # OrgProjectSignalingIface *object, 1460s # gboolean arg_arg_b) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1460s # OrgProjectSignalingIface *object, 1460s # gboolean arg_arg_b) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1460s # arg_arg_b)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpv2fywpco.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpv2fywpco.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_y", 1460s # (gchar *) "y", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalY", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-y" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__UCHAR (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-y: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_y: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1460s # g_signal_new ("single-arg-signal-y", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_UCHAR); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_y: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_y: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalY" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_y ( 1460s # OrgProjectSignalingIface *object, 1460s # guchar arg_arg_y) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1460s # OrgProjectSignalingIface *object, 1460s # guchar arg_arg_y) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1460s # arg_arg_y)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpb1li1gln.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpb1li1gln.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_n", 1460s # (gchar *) "n", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalN", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-n" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__INT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-n: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_n: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1460s # g_signal_new ("single-arg-signal-n", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_INT); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_n: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_n: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalN" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_n ( 1460s # OrgProjectSignalingIface *object, 1460s # gint16 arg_arg_n) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1460s # OrgProjectSignalingIface *object, 1460s # gint16 arg_arg_n) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1460s # arg_arg_n)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmp87dwfa_2.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp87dwfa_2.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_q", 1460s # (gchar *) "q", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalQ", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-q" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__UINT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-q: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_q: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1460s # g_signal_new ("single-arg-signal-q", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_UINT); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_q: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_q: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalQ" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_q ( 1460s # OrgProjectSignalingIface *object, 1460s # guint16 arg_arg_q) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1460s # OrgProjectSignalingIface *object, 1460s # guint16 arg_arg_q) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1460s # arg_arg_q)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmp7c_bjk8q.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp7c_bjk8q.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_i", 1460s # (gchar *) "i", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalI", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-i" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__INT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-i: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_i: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1460s # g_signal_new ("single-arg-signal-i", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_INT); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_i: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_i: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalI" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_i ( 1460s # OrgProjectSignalingIface *object, 1460s # gint arg_arg_i) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1460s # OrgProjectSignalingIface *object, 1460s # gint arg_arg_i) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1460s # arg_arg_i)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpbb3xq_v8.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpbb3xq_v8.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_u", 1460s # (gchar *) "u", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalU", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-u" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__UINT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-u: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_u: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1460s # g_signal_new ("single-arg-signal-u", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_UINT); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_u: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_u: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalU" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_u ( 1460s # OrgProjectSignalingIface *object, 1460s # guint arg_arg_u) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1460s # OrgProjectSignalingIface *object, 1460s # guint arg_arg_u) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1460s # arg_arg_u)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpj7nk0ofg.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpj7nk0ofg.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static void 1460s # _g_dbus_codegen_marshal_VOID__INT64 ( 1460s # GClosure *closure, 1460s # GValue *return_value G_GNUC_UNUSED, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint G_GNUC_UNUSED, 1460s # void *marshal_data) 1460s # { 1460s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1460s # (void *data1, 1460s # gint64 arg_arg_x, 1460s # void *data2); 1460s # _GDbusCodegenMarshalVoid_Int64Func callback; 1460s # GCClosure *cc = (GCClosure*) closure; 1460s # void *data1, *data2; 1460s # 1460s # g_return_if_fail (n_param_values == 2); 1460s # 1460s # if (G_CCLOSURE_SWAP_DATA (closure)) 1460s # { 1460s # data1 = closure->data; 1460s # data2 = g_value_peek_pointer (param_values + 0); 1460s # } 1460s # else 1460s # { 1460s # data1 = g_value_peek_pointer (param_values + 0); 1460s # data2 = closure->data; 1460s # } 1460s # 1460s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1460s # (marshal_data ? marshal_data : cc->callback); 1460s # 1460s # callback (data1, 1460s # g_marshal_value_peek_int64 (param_values + 1), 1460s # data2); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_x", 1460s # (gchar *) "x", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalX", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-x" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-x: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_x: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1460s # g_signal_new ("single-arg-signal-x", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_INT64); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_x: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_x: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalX" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_x ( 1460s # OrgProjectSignalingIface *object, 1460s # gint64 arg_arg_x) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1460s # OrgProjectSignalingIface *object, 1460s # gint64 arg_arg_x) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1460s # arg_arg_x)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpy69mczwh.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpy69mczwh.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static void 1460s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1460s # GClosure *closure, 1460s # GValue *return_value G_GNUC_UNUSED, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint G_GNUC_UNUSED, 1460s # void *marshal_data) 1460s # { 1460s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1460s # (void *data1, 1460s # guint64 arg_arg_t, 1460s # void *data2); 1460s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1460s # GCClosure *cc = (GCClosure*) closure; 1460s # void *data1, *data2; 1460s # 1460s # g_return_if_fail (n_param_values == 2); 1460s # 1460s # if (G_CCLOSURE_SWAP_DATA (closure)) 1460s # { 1460s # data1 = closure->data; 1460s # data2 = g_value_peek_pointer (param_values + 0); 1460s # } 1460s # else 1460s # { 1460s # data1 = g_value_peek_pointer (param_values + 0); 1460s # data2 = closure->data; 1460s # } 1460s # 1460s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1460s # (marshal_data ? marshal_data : cc->callback); 1460s # 1460s # callback (data1, 1460s # g_marshal_value_peek_uint64 (param_values + 1), 1460s # data2); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_t", 1460s # (gchar *) "t", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalT", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-t" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-t: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_t: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1460s # g_signal_new ("single-arg-signal-t", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_UINT64); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_t: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_t: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalT" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_t ( 1460s # OrgProjectSignalingIface *object, 1460s # guint64 arg_arg_t) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1460s # OrgProjectSignalingIface *object, 1460s # guint64 arg_arg_t) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1460s # arg_arg_t)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmp9yx3bzng.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp9yx3bzng.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_d", 1460s # (gchar *) "d", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalD", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-d" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__DOUBLE (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-d: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_d: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1460s # g_signal_new ("single-arg-signal-d", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_DOUBLE); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_d: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_d: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalD" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_d ( 1460s # OrgProjectSignalingIface *object, 1460s # gdouble arg_arg_d) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1460s # OrgProjectSignalingIface *object, 1460s # gdouble arg_arg_d) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1460s # arg_arg_d)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpy54bwkw_.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpy54bwkw_.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_s", 1460s # (gchar *) "s", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalS", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-s" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__STRING (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-s: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_s: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1460s # g_signal_new ("single-arg-signal-s", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRING); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_s: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_s: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalS" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_s ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_s) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_s) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1460s # arg_arg_s)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpdda7mhup.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpdda7mhup.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_o", 1460s # (gchar *) "o", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalO", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-o" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__STRING (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-o: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_o: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1460s # g_signal_new ("single-arg-signal-o", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRING); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_o: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_o: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalO" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_o ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_o) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_o) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1460s # arg_arg_o)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpx4esgbiw.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpx4esgbiw.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_g", 1460s # (gchar *) "g", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalG", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-g" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__STRING (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-g: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_g: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1460s # g_signal_new ("single-arg-signal-g", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRING); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_g: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_g: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalG" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_g ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_g) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_g) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1460s # arg_arg_g)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmptzu7kh2c.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmptzu7kh2c.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_h", 1460s # (gchar *) "h", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalH", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-h" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VARIANT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-h: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_h: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1460s # g_signal_new ("single-arg-signal-h", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_VARIANT); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_h: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_h: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalH" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_h ( 1460s # OrgProjectSignalingIface *object, 1460s # GVariant *arg_arg_h) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1460s # OrgProjectSignalingIface *object, 1460s # GVariant *arg_arg_h) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1460s # arg_arg_h)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmp8hv3n2a1.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp8hv3n2a1.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_ay", 1460s # (gchar *) "ay", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalAy", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-ay" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__STRING (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-ay: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_ay: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1460s # g_signal_new ("single-arg-signal-ay", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRING); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_ay: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalAy" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_ay) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *arg_arg_ay) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1460s # arg_arg_ay)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpvok4ie1b.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpvok4ie1b.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_as", 1460s # (gchar *) "as", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalAs", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-as" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__BOXED (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-as: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_as: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1460s # g_signal_new ("single-arg-signal-as", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRV); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_as: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_as: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalAs" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_as ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *const *arg_arg_as) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *const *arg_arg_as) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1460s # arg_arg_as)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmp88ghpadi.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp88ghpadi.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_ao", 1460s # (gchar *) "ao", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalAo", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-ao" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__BOXED (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-ao: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_ao: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1460s # g_signal_new ("single-arg-signal-ao", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRV); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_ao: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalAo" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *const *arg_arg_ao) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *const *arg_arg_ao) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1460s # arg_arg_ao)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmp93_hdb7y.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmp93_hdb7y.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_aay", 1460s # (gchar *) "aay", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalAay", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-aay" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__BOXED (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-aay: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_aay: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1460s # g_signal_new ("single-arg-signal-aay", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_STRV); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_aay: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalAay" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *const *arg_arg_aay) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1460s # OrgProjectSignalingIface *object, 1460s # const gchar *const *arg_arg_aay) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1460s # arg_arg_aay)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s # /tmp/tmpoxeo0w74/tmpb5ln51ky.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoxeo0w74/tmpb5ln51ky.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "arg_asv", 1460s # (gchar *) "a{sv}", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SingleArgSignalAsv", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "single-arg-signal-asv" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VARIANT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::single-arg-signal-asv: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_asv: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1460s # g_signal_new ("single-arg-signal-asv", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1460s # G_TYPE_NONE, 1460s # 1, G_TYPE_VARIANT); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_arg_asv: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1460s # OrgProjectSignalingIface *object, 1460s # GVariant *arg_arg_asv) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1460s # OrgProjectSignalingIface *object, 1460s # GVariant *arg_arg_asv) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1460s # arg_arg_asv)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1460s # tmpdir: /tmp/tmp4lqxlpwl 1460s # codegen: /usr/bin/gdbus-codegen 1460s # /tmp/tmp4lqxlpwl/tmp7wmu3c3l.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4lqxlpwl/tmp7wmu3c3l.xml', '--output', '-', '--body'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifdef HAVE_CONFIG_H 1460s # # include "config.h" 1460s # #endif 1460s # 1460s # #include 1460s # #ifdef G_OS_UNIX 1460s # # include 1460s # #endif 1460s # 1460s # #ifdef G_ENABLE_DEBUG 1460s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1460s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1460s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1460s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1460s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1460s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1460s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1460s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1460s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1460s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1460s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1460s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1460s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1460s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1460s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1460s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1460s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1460s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1460s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1460s # #else /* !G_ENABLE_DEBUG */ 1460s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1460s # * Do not access GValues directly in your code. Instead, use the 1460s # * g_value_get_*() functions 1460s # */ 1460s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1460s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1460s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1460s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1460s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1460s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1460s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1460s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1460s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1460s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1460s # #endif /* !G_ENABLE_DEBUG */ 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusArgInfo parent_struct; 1460s # gboolean use_gvariant; 1460s # } _ExtendedGDBusArgInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusMethodInfo parent_struct; 1460s # const gchar *signal_name; 1460s # gboolean pass_fdlist; 1460s # } _ExtendedGDBusMethodInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusSignalInfo parent_struct; 1460s # const gchar *signal_name; 1460s # } _ExtendedGDBusSignalInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusPropertyInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # guint use_gvariant : 1; 1460s # guint emits_changed_signal : 1; 1460s # } _ExtendedGDBusPropertyInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # GDBusInterfaceInfo parent_struct; 1460s # const gchar *hyphen_name; 1460s # } _ExtendedGDBusInterfaceInfo; 1460s # 1460s # typedef struct 1460s # { 1460s # const _ExtendedGDBusPropertyInfo *info; 1460s # guint prop_id; 1460s # GValue orig_value; /* the value before the change */ 1460s # } ChangedProperty; 1460s # 1460s # static void 1460s # _changed_property_free (ChangedProperty *data) 1460s # { 1460s # g_value_unset (&data->orig_value); 1460s # g_free (data); 1460s # } 1460s # 1460s # static gboolean 1460s # _g_strv_equal0 (gchar **a, gchar **b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # guint n; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # if (g_strv_length (a) != g_strv_length (b)) 1460s # goto out; 1460s # for (n = 0; a[n] != NULL; n++) 1460s # if (g_strcmp0 (a[n], b[n]) != 0) 1460s # goto out; 1460s # ret = TRUE; 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _g_variant_equal0 (GVariant *a, GVariant *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # if (a == NULL && b == NULL) 1460s # { 1460s # ret = TRUE; 1460s # goto out; 1460s # } 1460s # if (a == NULL || b == NULL) 1460s # goto out; 1460s # ret = g_variant_equal (a, b); 1460s # out: 1460s # return ret; 1460s # } 1460s # 1460s # G_GNUC_UNUSED static gboolean 1460s # _g_value_equal (const GValue *a, const GValue *b) 1460s # { 1460s # gboolean ret = FALSE; 1460s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1460s # switch (G_VALUE_TYPE (a)) 1460s # { 1460s # case G_TYPE_BOOLEAN: 1460s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1460s # break; 1460s # case G_TYPE_UCHAR: 1460s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1460s # break; 1460s # case G_TYPE_INT: 1460s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1460s # break; 1460s # case G_TYPE_UINT: 1460s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1460s # break; 1460s # case G_TYPE_INT64: 1460s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1460s # break; 1460s # case G_TYPE_UINT64: 1460s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1460s # break; 1460s # case G_TYPE_DOUBLE: 1460s # { 1460s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1460s # gdouble da = g_value_get_double (a); 1460s # gdouble db = g_value_get_double (b); 1460s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1460s # } 1460s # break; 1460s # case G_TYPE_STRING: 1460s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1460s # break; 1460s # case G_TYPE_VARIANT: 1460s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1460s # break; 1460s # default: 1460s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1460s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1460s # else 1460s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1460s # break; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static void 1460s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1460s # GClosure *closure, 1460s # GValue *return_value G_GNUC_UNUSED, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint G_GNUC_UNUSED, 1460s # void *marshal_data) 1460s # { 1460s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1460s # (void *data1, 1460s # gboolean arg_an_b, 1460s # guchar arg_an_y, 1460s # gint16 arg_an_n, 1460s # guint16 arg_an_q, 1460s # gint arg_an_i, 1460s # guint arg_an_u, 1460s # gint64 arg_an_x, 1460s # guint64 arg_an_t, 1460s # gdouble arg_an_d, 1460s # const gchar *arg_an_s, 1460s # const gchar *arg_an_o, 1460s # const gchar *arg_an_g, 1460s # GVariant *arg_an_h, 1460s # const gchar *arg_an_ay, 1460s # const gchar *const *arg_an_as, 1460s # const gchar *const *arg_an_ao, 1460s # const gchar *const *arg_an_aay, 1460s # GVariant *arg_an_asv, 1460s # void *data2); 1460s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1460s # GCClosure *cc = (GCClosure*) closure; 1460s # void *data1, *data2; 1460s # 1460s # g_return_if_fail (n_param_values == 19); 1460s # 1460s # if (G_CCLOSURE_SWAP_DATA (closure)) 1460s # { 1460s # data1 = closure->data; 1460s # data2 = g_value_peek_pointer (param_values + 0); 1460s # } 1460s # else 1460s # { 1460s # data1 = g_value_peek_pointer (param_values + 0); 1460s # data2 = closure->data; 1460s # } 1460s # 1460s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1460s # (marshal_data ? marshal_data : cc->callback); 1460s # 1460s # callback (data1, 1460s # g_marshal_value_peek_boolean (param_values + 1), 1460s # g_marshal_value_peek_uchar (param_values + 2), 1460s # g_marshal_value_peek_int (param_values + 3), 1460s # g_marshal_value_peek_uint (param_values + 4), 1460s # g_marshal_value_peek_int (param_values + 5), 1460s # g_marshal_value_peek_uint (param_values + 6), 1460s # g_marshal_value_peek_int64 (param_values + 7), 1460s # g_marshal_value_peek_uint64 (param_values + 8), 1460s # g_marshal_value_peek_double (param_values + 9), 1460s # g_marshal_value_peek_string (param_values + 10), 1460s # g_marshal_value_peek_string (param_values + 11), 1460s # g_marshal_value_peek_string (param_values + 12), 1460s # g_marshal_value_peek_variant (param_values + 13), 1460s # g_marshal_value_peek_string (param_values + 14), 1460s # g_marshal_value_peek_boxed (param_values + 15), 1460s # g_marshal_value_peek_boxed (param_values + 16), 1460s # g_marshal_value_peek_boxed (param_values + 17), 1460s # g_marshal_value_peek_variant (param_values + 18), 1460s # data2); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ 1460s # * Code for interface org.project.SignalingIface 1460s # * ------------------------------------------------------------------------ 1460s # */ 1460s # 1460s # /** 1460s # * SECTION:OrgProjectSignalingIface 1460s # * @title: OrgProjectSignalingIface 1460s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1460s # * 1460s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1460s # */ 1460s # 1460s # enum 1460s # { 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1460s # }; 1460s # 1460s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1460s # 1460s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SimpleSignal", 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "simple-signal" 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_b", 1460s # (gchar *) "b", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_y", 1460s # (gchar *) "y", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_n", 1460s # (gchar *) "n", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_q", 1460s # (gchar *) "q", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_i", 1460s # (gchar *) "i", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_u", 1460s # (gchar *) "u", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_x", 1460s # (gchar *) "x", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_t", 1460s # (gchar *) "t", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_d", 1460s # (gchar *) "d", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_s", 1460s # (gchar *) "s", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_o", 1460s # (gchar *) "o", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_g", 1460s # (gchar *) "g", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_h", 1460s # (gchar *) "h", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_ay", 1460s # (gchar *) "ay", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_as", 1460s # (gchar *) "as", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_ao", 1460s # (gchar *) "ao", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_aay", 1460s # (gchar *) "aay", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "an_asv", 1460s # (gchar *) "a{sv}", 1460s # NULL 1460s # }, 1460s # FALSE 1460s # }; 1460s # 1460s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "SignalWithManyArgs", 1460s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1460s # NULL 1460s # }, 1460s # "signal-with-many-args" 1460s # }; 1460s # 1460s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1460s # { 1460s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1460s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1460s # NULL 1460s # }; 1460s # 1460s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1460s # { 1460s # { 1460s # -1, 1460s # (gchar *) "org.project.SignalingIface", 1460s # NULL, 1460s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1460s # NULL, 1460s # NULL 1460s # }, 1460s # "org-project-signaling-iface", 1460s # }; 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_interface_info: 1460s # * 1460s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1460s # * 1460s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1460s # */ 1460s # GDBusInterfaceInfo * 1460s # org_project_signaling_iface_interface_info (void) 1460s # { 1460s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_override_properties: 1460s # * @klass: The class structure for a #GObject derived class. 1460s # * @property_id_begin: The property id to assign to the first overridden property. 1460s # * 1460s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1460s # * The properties are overridden in the order they are defined. 1460s # * 1460s # * Returns: The last property id. 1460s # */ 1460s # guint 1460s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1460s # { 1460s # return property_id_begin - 1; 1460s # } 1460s # 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_simple_signal ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # g_cclosure_marshal_VOID__VOID (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # inline static void 1460s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1460s # GClosure *closure, 1460s # GValue *return_value, 1460s # unsigned int n_param_values, 1460s # const GValue *param_values, 1460s # void *invocation_hint, 1460s # void *marshal_data) 1460s # { 1460s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1460s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1460s # } 1460s # 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface: 1460s # * 1460s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceIface: 1460s # * @parent_iface: The parent interface. 1460s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1460s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1460s # * 1460s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1460s # */ 1460s # 1460s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1460s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1460s # 1460s # static void 1460s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # /* GObject signals for received D-Bus signals: */ 1460s # /** 1460s # * OrgProjectSignalingIface::simple-signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1460s # g_signal_new ("simple-signal", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_simple_signal, 1460s # G_TYPE_NONE, 1460s # 0); 1460s # 1460s # /** 1460s # * OrgProjectSignalingIface::signal-with-many-args: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_an_b: Argument. 1460s # * @arg_an_y: Argument. 1460s # * @arg_an_n: Argument. 1460s # * @arg_an_q: Argument. 1460s # * @arg_an_i: Argument. 1460s # * @arg_an_u: Argument. 1460s # * @arg_an_x: Argument. 1460s # * @arg_an_t: Argument. 1460s # * @arg_an_d: Argument. 1460s # * @arg_an_s: Argument. 1460s # * @arg_an_o: Argument. 1460s # * @arg_an_g: Argument. 1460s # * @arg_an_h: Argument. 1460s # * @arg_an_ay: Argument. 1460s # * @arg_an_as: Argument. 1460s # * @arg_an_ao: Argument. 1460s # * @arg_an_aay: Argument. 1460s # * @arg_an_asv: Argument. 1460s # * 1460s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1460s # * 1460s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1460s # */ 1460s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1460s # g_signal_new ("signal-with-many-args", 1460s # G_TYPE_FROM_INTERFACE (iface), 1460s # G_SIGNAL_RUN_LAST, 1460s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1460s # NULL, 1460s # NULL, 1460s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1460s # G_TYPE_NONE, 1460s # 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); 1460s # 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_simple_signal: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * 1460s # * Emits the "SimpleSignal" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_emit_signal_with_many_args: 1460s # * @object: A #OrgProjectSignalingIface. 1460s # * @arg_an_b: Argument to pass with the signal. 1460s # * @arg_an_y: Argument to pass with the signal. 1460s # * @arg_an_n: Argument to pass with the signal. 1460s # * @arg_an_q: Argument to pass with the signal. 1460s # * @arg_an_i: Argument to pass with the signal. 1460s # * @arg_an_u: Argument to pass with the signal. 1460s # * @arg_an_x: Argument to pass with the signal. 1460s # * @arg_an_t: Argument to pass with the signal. 1460s # * @arg_an_d: Argument to pass with the signal. 1460s # * @arg_an_s: Argument to pass with the signal. 1460s # * @arg_an_o: Argument to pass with the signal. 1460s # * @arg_an_g: Argument to pass with the signal. 1460s # * @arg_an_h: Argument to pass with the signal. 1460s # * @arg_an_ay: Argument to pass with the signal. 1460s # * @arg_an_as: Argument to pass with the signal. 1460s # * @arg_an_ao: Argument to pass with the signal. 1460s # * @arg_an_aay: Argument to pass with the signal. 1460s # * @arg_an_asv: Argument to pass with the signal. 1460s # * 1460s # * Emits the "SignalWithManyArgs" D-Bus signal. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_emit_signal_with_many_args ( 1460s # OrgProjectSignalingIface *object, 1460s # gboolean arg_an_b, 1460s # guchar arg_an_y, 1460s # gint16 arg_an_n, 1460s # guint16 arg_an_q, 1460s # gint arg_an_i, 1460s # guint arg_an_u, 1460s # gint64 arg_an_x, 1460s # guint64 arg_an_t, 1460s # gdouble arg_an_d, 1460s # const gchar *arg_an_s, 1460s # const gchar *arg_an_o, 1460s # const gchar *arg_an_g, 1460s # GVariant *arg_an_h, 1460s # const gchar *arg_an_ay, 1460s # const gchar *const *arg_an_as, 1460s # const gchar *const *arg_an_ao, 1460s # const gchar *const *arg_an_aay, 1460s # GVariant *arg_an_asv) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxy: 1460s # * 1460s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceProxyClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceProxy. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceProxyPrivate 1460s # { 1460s # GData *qdata; 1460s # }; 1460s # 1460s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_proxy_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1460s # g_datalist_clear (&proxy->priv->qdata); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1460s # guint prop_id G_GNUC_UNUSED, 1460s # const GValue *value G_GNUC_UNUSED, 1460s # GParamSpec *pspec G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1460s # const gchar *sender_name G_GNUC_UNUSED, 1460s # const gchar *signal_name, 1460s # GVariant *parameters) 1460s # { 1460s # _ExtendedGDBusSignalInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # gsize n; 1460s # guint signal_id; 1460s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1460s # if (info == NULL) 1460s # return; 1460s # num_params = g_variant_n_children (parameters); 1460s # paramv = g_new0 (GValue, num_params + 1); 1460s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[0], proxy); 1460s # g_variant_iter_init (&iter, parameters); 1460s # n = 1; 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_signal_emitv (paramv, signal_id, 0, NULL); 1460s # for (n = 0; n < num_params + 1; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1460s # GVariant *changed_properties, 1460s # const gchar *const *invalidated_properties) 1460s # { 1460s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1460s # guint n; 1460s # const gchar *key; 1460s # GVariantIter *iter; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # g_variant_get (changed_properties, "a{sv}", &iter); 1460s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1460s # g_datalist_remove_data (&proxy->priv->qdata, key); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # g_variant_iter_free (iter); 1460s # for (n = 0; invalidated_properties[n] != NULL; n++) 1460s # { 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1460s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1460s # if (info != NULL) 1460s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1460s # } 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1460s # #else 1460s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1460s # #endif 1460s # 1460s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusProxyClass *proxy_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1460s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1460s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1460s # 1460s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1460s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1460s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_sync: 1460s # * @connection: A #GDBusConnection. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_sync ( 1460s # GDBusConnection *connection, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1460s # * @user_data: User data to pass to @callback. 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1460s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1460s # */ 1460s # void 1460s # org_project_signaling_iface_proxy_new_for_bus ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GAsyncReadyCallback callback, 1460s # gpointer user_data) 1460s # { 1460s # 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); 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1460s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1460s # GAsyncResult *res, 1460s # GError **error) 1460s # { 1460s # GObject *ret; 1460s # GObject *source_object; 1460s # source_object = g_async_result_get_source_object (res); 1460s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1460s # g_object_unref (source_object); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1460s # * @bus_type: A #GBusType. 1460s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1460s # * @name: A bus name (well-known or unique). 1460s # * @object_path: An object path. 1460s # * @cancellable: (nullable): A #GCancellable or %NULL. 1460s # * @error: Return location for error or %NULL 1460s # * 1460s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1460s # * 1460s # * The calling thread is blocked until a reply is received. 1460s # * 1460s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1460s # GBusType bus_type, 1460s # GDBusProxyFlags flags, 1460s # const gchar *name, 1460s # const gchar *object_path, 1460s # GCancellable *cancellable, 1460s # GError **error) 1460s # { 1460s # GInitable *ret; 1460s # 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); 1460s # if (ret != NULL) 1460s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1460s # else 1460s # return NULL; 1460s # } 1460s # 1460s # 1460s # /* ------------------------------------------------------------------------ */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeleton: 1460s # * 1460s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1460s # */ 1460s # 1460s # /** 1460s # * OrgProjectSignalingIfaceSkeletonClass: 1460s # * @parent_class: The parent class. 1460s # * 1460s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1460s # */ 1460s # 1460s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1460s # { 1460s # GValue *properties; 1460s # GList *changed_properties; 1460s # GSource *changed_properties_idle_source; 1460s # GMainContext *context; 1460s # GMutex lock; 1460s # }; 1460s # 1460s # static void 1460s # _org_project_signaling_iface_skeleton_handle_method_call ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name, 1460s # const gchar *method_name, 1460s # GVariant *parameters, 1460s # GDBusMethodInvocation *invocation, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # _ExtendedGDBusMethodInfo *info; 1460s # GVariantIter iter; 1460s # GVariant *child; 1460s # GValue *paramv; 1460s # gsize num_params; 1460s # guint num_extra; 1460s # gsize n; 1460s # guint signal_id; 1460s # GValue return_value = G_VALUE_INIT; 1460s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1460s # g_assert (info != NULL); 1460s # num_params = g_variant_n_children (parameters); 1460s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1460s # n = 0; 1460s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_set_object (¶mv[n++], skeleton); 1460s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1460s # g_value_set_object (¶mv[n++], invocation); 1460s # if (info->pass_fdlist) 1460s # { 1460s # #ifdef G_OS_UNIX 1460s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1460s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1460s # #else 1460s # g_assert_not_reached (); 1460s # #endif 1460s # } 1460s # g_variant_iter_init (&iter, parameters); 1460s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1460s # { 1460s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1460s # if (arg_info->use_gvariant) 1460s # { 1460s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1460s # g_value_set_variant (¶mv[n], child); 1460s # n++; 1460s # } 1460s # else 1460s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1460s # g_variant_unref (child); 1460s # } 1460s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1460s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1460s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1460s # if (!g_value_get_boolean (&return_value)) 1460s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1460s # g_value_unset (&return_value); 1460s # for (n = 0; n < num_params + num_extra; n++) 1460s # g_value_unset (¶mv[n]); 1460s # g_free (paramv); 1460s # } 1460s # 1460s # static GVariant * 1460s # _org_project_signaling_iface_skeleton_handle_get_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # GVariant *ret; 1460s # ret = NULL; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # g_value_init (&value, pspec->value_type); 1460s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1460s # g_value_unset (&value); 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static gboolean 1460s # _org_project_signaling_iface_skeleton_handle_set_property ( 1460s # GDBusConnection *connection G_GNUC_UNUSED, 1460s # const gchar *sender G_GNUC_UNUSED, 1460s # const gchar *object_path G_GNUC_UNUSED, 1460s # const gchar *interface_name G_GNUC_UNUSED, 1460s # const gchar *property_name, 1460s # GVariant *variant, 1460s # GError **error, 1460s # gpointer user_data) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1460s # GValue value = G_VALUE_INIT; 1460s # GParamSpec *pspec; 1460s # _ExtendedGDBusPropertyInfo *info; 1460s # gboolean ret; 1460s # ret = FALSE; 1460s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1460s # g_assert (info != NULL); 1460s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1460s # if (pspec == NULL) 1460s # { 1460s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1460s # } 1460s # else 1460s # { 1460s # if (info->use_gvariant) 1460s # g_value_set_variant (&value, variant); 1460s # else 1460s # g_dbus_gvariant_to_gvalue (variant, &value); 1460s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1460s # g_value_unset (&value); 1460s # ret = TRUE; 1460s # } 1460s # return ret; 1460s # } 1460s # 1460s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1460s # { 1460s # _org_project_signaling_iface_skeleton_handle_method_call, 1460s # _org_project_signaling_iface_skeleton_handle_get_property, 1460s # _org_project_signaling_iface_skeleton_handle_set_property, 1460s # {NULL} 1460s # }; 1460s # 1460s # static GDBusInterfaceInfo * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return org_project_signaling_iface_interface_info (); 1460s # } 1460s # 1460s # static GDBusInterfaceVTable * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1460s # { 1460s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1460s # } 1460s # 1460s # static GVariant * 1460s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1460s # 1460s # GVariantBuilder builder; 1460s # guint n; 1460s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1460s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1460s # goto out; 1460s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1460s # { 1460s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1460s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1460s # { 1460s # GVariant *value; 1460s # 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); 1460s # if (value != NULL) 1460s # { 1460s # g_variant_take_ref (value); 1460s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1460s # g_variant_unref (value); 1460s # } 1460s # } 1460s # } 1460s # out: 1460s # return g_variant_builder_end (&builder); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1460s # { 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_simple_signal ( 1460s # OrgProjectSignalingIface *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void 1460s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1460s # OrgProjectSignalingIface *object, 1460s # gboolean arg_an_b, 1460s # guchar arg_an_y, 1460s # gint16 arg_an_n, 1460s # guint16 arg_an_q, 1460s # gint arg_an_i, 1460s # guint arg_an_u, 1460s # gint64 arg_an_x, 1460s # guint64 arg_an_t, 1460s # gdouble arg_an_d, 1460s # const gchar *arg_an_s, 1460s # const gchar *arg_an_o, 1460s # const gchar *arg_an_g, 1460s # GVariant *arg_an_h, 1460s # const gchar *arg_an_ay, 1460s # const gchar *const *arg_an_as, 1460s # const gchar *const *arg_an_ao, 1460s # const gchar *const *arg_an_aay, 1460s # GVariant *arg_an_asv) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # 1460s # GList *connections, *l; 1460s # GVariant *signal_variant; 1460s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1460s # 1460s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1460s # arg_an_b, 1460s # arg_an_y, 1460s # arg_an_n, 1460s # arg_an_q, 1460s # arg_an_i, 1460s # arg_an_u, 1460s # arg_an_x, 1460s # arg_an_t, 1460s # arg_an_d, 1460s # arg_an_s, 1460s # arg_an_o, 1460s # arg_an_g, 1460s # arg_an_h, 1460s # arg_an_ay, 1460s # arg_an_as, 1460s # arg_an_ao, 1460s # arg_an_aay, 1460s # arg_an_asv)); 1460s # for (l = connections; l != NULL; l = l->next) 1460s # { 1460s # GDBusConnection *connection = l->data; 1460s # g_dbus_connection_emit_signal (connection, 1460s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1460s # signal_variant, NULL); 1460s # } 1460s # g_variant_unref (signal_variant); 1460s # g_list_free_full (connections, g_object_unref); 1460s # } 1460s # 1460s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #else 1460s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1460s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1460s # 1460s # #endif 1460s # static void 1460s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1460s # { 1460s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1460s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1460s # if (skeleton->priv->changed_properties_idle_source != NULL) 1460s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1460s # g_main_context_unref (skeleton->priv->context); 1460s # g_mutex_clear (&skeleton->priv->lock); 1460s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1460s # { 1460s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1460s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1460s # #else 1460s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1460s # #endif 1460s # 1460s # g_mutex_init (&skeleton->priv->lock); 1460s # skeleton->priv->context = g_main_context_ref_thread_default (); 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1460s # { 1460s # GObjectClass *gobject_class; 1460s # GDBusInterfaceSkeletonClass *skeleton_class; 1460s # 1460s # gobject_class = G_OBJECT_CLASS (klass); 1460s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1460s # 1460s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1460s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1460s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1460s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1460s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1460s # 1460s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1460s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1460s # #endif 1460s # } 1460s # 1460s # static void 1460s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1460s # { 1460s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1460s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1460s # } 1460s # 1460s # /** 1460s # * org_project_signaling_iface_skeleton_new: 1460s # * 1460s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1460s # * 1460s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1460s # */ 1460s # OrgProjectSignalingIface * 1460s # org_project_signaling_iface_skeleton_new (void) 1460s # { 1460s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1460s # } 1460s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1460s # tmpdir: /tmp/tmpaj9i0rmx 1460s # codegen: /usr/bin/gdbus-codegen 1460s # /tmp/tmpaj9i0rmx/tmpd1lqm850.xml: 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaj9i0rmx/tmpd1lqm850.xml', '--generate-docbook', 'test'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: 1460s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1460s # tmpdir: /tmp/tmpw7v66_ee 1460s # codegen: /usr/bin/gdbus-codegen 1460s # /tmp/tmpw7v66_ee/tmppa9ppddr.xml: 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw7v66_ee/tmppa9ppddr.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1460s # tmpdir: /tmp/tmpcj939tf1 1460s # codegen: /usr/bin/gdbus-codegen 1460s # /tmp/tmpcj939tf1/tmpunjbdmjg.xml: 1460s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcj939tf1/tmpunjbdmjg.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1460s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1460s # Output: /* 1460s # * This file is generated by gdbus-codegen, do not modify it. 1460s # * 1460s # * The license of this code is the same as for the D-Bus interface description 1460s # * it was derived from. Note that it links to GLib, so must comply with the 1460s # * LGPL linking clauses. 1460s # */ 1460s # 1460s # #ifndef __STDOUT__ 1460s # #define __STDOUT__ 1460s # 1460s # #include 1460s # 1460s # G_BEGIN_DECLS 1460s # 1460s # 1460s # G_END_DECLS 1460s # 1460s # #endif /* __STDOUT__ */ 1461s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1461s # tmpdir: /tmp/tmph1ri_h_c 1461s # codegen: /usr/bin/gdbus-codegen 1461s # /tmp/tmph1ri_h_c/tmp0wept8p7.xml: 1461s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph1ri_h_c/tmp0wept8p7.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1461s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1461s # tmpdir: /tmp/tmp1sfu8d78 1461s # codegen: /usr/bin/gdbus-codegen 1461s # /tmp/tmp1sfu8d78/tmp0sgfixea.xml: 1461s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1sfu8d78/tmp0sgfixea.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1461s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: /* 1461s # * This file is generated by gdbus-codegen, do not modify it. 1461s # * 1461s # * The license of this code is the same as for the D-Bus interface description 1461s # * it was derived from. Note that it links to GLib, so must comply with the 1461s # * LGPL linking clauses. 1461s # */ 1461s # 1461s # #ifndef __STDOUT__ 1461s # #define __STDOUT__ 1461s # 1461s # #include 1461s # 1461s # G_BEGIN_DECLS 1461s # 1461s # 1461s # G_END_DECLS 1461s # 1461s # #endif /* __STDOUT__ */ 1461s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1461s # tmpdir: /tmp/tmppho3t_69 1461s # codegen: /usr/bin/gdbus-codegen 1461s # /tmp/tmppho3t_69/tmp7a_smssd.xml: 1461s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppho3t_69/tmp7a_smssd.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1461s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: /* 1461s # * This file is generated by gdbus-codegen, do not modify it. 1461s # * 1461s # * The license of this code is the same as for the D-Bus interface description 1461s # * it was derived from. Note that it links to GLib, so must comply with the 1461s # * LGPL linking clauses. 1461s # */ 1461s # 1461s # #ifndef __STDOUT__ 1461s # #define __STDOUT__ 1461s # 1461s # #include 1461s # 1461s # G_BEGIN_DECLS 1461s # 1461s # 1461s # G_END_DECLS 1461s # 1461s # #endif /* __STDOUT__ */ 1461s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1461s # tmpdir: /tmp/tmpvnyiyo40 1461s # codegen: /usr/bin/gdbus-codegen 1461s # /tmp/tmpvnyiyo40/tmpzxin2i6y.xml: 1461s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvnyiyo40/tmpzxin2i6y.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1461s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1461s # tmpdir: /tmp/tmph5ni5z3c 1461s # codegen: /usr/bin/gdbus-codegen 1461s # /tmp/tmph5ni5z3c/tmpih1axbc3.xml: 1461s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph5ni5z3c/tmpih1axbc3.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1461s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1461s # Output: /* 1461s # * This file is generated by gdbus-codegen, do not modify it. 1461s # * 1461s # * The license of this code is the same as for the D-Bus interface description 1461s # * it was derived from. Note that it links to GLib, so must comply with the 1461s # * LGPL linking clauses. 1461s # */ 1461s # 1461s # #ifndef __STDOUT__ 1461s # #define __STDOUT__ 1461s # 1461s # #include 1461s # 1461s # G_BEGIN_DECLS 1461s # 1461s # 1461s # G_END_DECLS 1461s # 1461s # #endif /* __STDOUT__ */ 1461s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1461s # tmpdir: /tmp/tmpprs_04xi 1461s # codegen: /usr/bin/gdbus-codegen 1461s # /tmp/tmpprs_04xi/tmpl36yu3u6.xml: 1461s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprs_04xi/tmpl36yu3u6.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1461s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1462s # tmpdir: /tmp/tmpegzeztu5 1462s # codegen: /usr/bin/gdbus-codegen 1462s # /tmp/tmpegzeztu5/tmplq7khk6_.xml: 1462s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpegzeztu5/tmplq7khk6_.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1462s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: /* 1462s # * This file is generated by gdbus-codegen, do not modify it. 1462s # * 1462s # * The license of this code is the same as for the D-Bus interface description 1462s # * it was derived from. Note that it links to GLib, so must comply with the 1462s # * LGPL linking clauses. 1462s # */ 1462s # 1462s # #ifndef __STDOUT__ 1462s # #define __STDOUT__ 1462s # 1462s # #include 1462s # 1462s # G_BEGIN_DECLS 1462s # 1462s # 1462s # G_END_DECLS 1462s # 1462s # #endif /* __STDOUT__ */ 1462s ok 35 __main__.TestCodegen.test_help 1462s # tmpdir: /tmp/tmp1rte0ta3 1462s # codegen: /usr/bin/gdbus-codegen 1462s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1462s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1462s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1462s # [--c-generate-autocleanup {none,objects,all}] 1462s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1462s # [--generate-rst OUTFILES] [--pragma-once] 1462s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1462s # [--glib-min-required VERSION] 1462s # [--glib-max-allowed VERSION] 1462s # [--symbol-decorator SYMBOL_DECORATOR] 1462s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1462s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1462s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1462s # [--output FILE | --output-directory OUTDIR] 1462s # FILE [FILE ...] 1462s # 1462s # D-Bus code and documentation generator 1462s # 1462s # positional arguments: 1462s # FILE D-Bus introspection XML file 1462s # 1462s # options: 1462s # -h, --help show this help message and exit 1462s # --interface-prefix PREFIX 1462s # String to strip from D-Bus interface names for code 1462s # and docs 1462s # --c-namespace NAMESPACE 1462s # The namespace to use for generated C code 1462s # --c-generate-object-manager 1462s # Generate a GDBusObjectManagerClient subclass when 1462s # generating C code 1462s # --c-generate-autocleanup {none,objects,all} 1462s # Generate autocleanup support 1462s # --generate-docbook OUTFILES 1462s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1462s # --generate-md OUTFILES 1462s # Generate Markdown in OUTFILES-org.Project.IFace.md 1462s # --generate-rst OUTFILES 1462s # Generate reStructuredText in OUTFILES- 1462s # org.Project.IFace.rst 1462s # --pragma-once Use "pragma once" as the inclusion guard 1462s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1462s # Add annotation (may be used several times) 1462s # --glib-min-required VERSION 1462s # Minimum version of GLib to be supported by the 1462s # outputted code (default: 2.30) 1462s # --glib-max-allowed VERSION 1462s # Maximum version of GLib to be used by the outputted 1462s # code (default: current GLib version) 1462s # --symbol-decorator SYMBOL_DECORATOR 1462s # Macro used to decorate a symbol in the outputted 1462s # header, possibly to export symbols 1462s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1462s # Additional header required for decorator specified by 1462s # --symbol-decorator 1462s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1462s # Additional define required for decorator specified by 1462s # --symbol-decorator 1462s # --generate-c-code OUTFILES 1462s # Generate C code in OUTFILES.[ch] 1462s # --header Generate C headers 1462s # --body Generate C code 1462s # --interface-info-header 1462s # Generate GDBusInterfaceInfo C header 1462s # --interface-info-body 1462s # Generate GDBusInterfaceInfo C code 1462s # --output FILE Write output into the specified file 1462s # --output-directory OUTDIR 1462s # Location to output generated files 1462s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1462s # tmpdir: /tmp/tmpxrmy9ks0 1462s # codegen: /usr/bin/gdbus-codegen 1462s # /tmp/tmpxrmy9ks0/tmp4lv2am7n.xml: 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxrmy9ks0/tmp4lv2am7n.xml', '--generate-rst', 'test'] 1462s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: 1462s # /tmp/tmpxrmy9ks0/tmpomoh1_xq.xml: 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxrmy9ks0/tmpomoh1_xq.xml', '--generate-md', 'test'] 1462s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: 1462s # /tmp/tmpxrmy9ks0/tmp8v_du7mf.xml: 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # 1462s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxrmy9ks0/tmp8v_du7mf.xml', '--generate-docbook', 'test'] 1462s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1462s # Output: 1463s ok 37 __main__.TestCodegen.test_no_args 1463s # tmpdir: /tmp/tmp59sterh2 1463s # codegen: /usr/bin/gdbus-codegen 1463s # Running: ['/usr/bin/gdbus-codegen'] 1463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1463s # Executing: glib/codegen.py.test 1463s ok 38 __main__.TestCodegen.test_reproducible 1463s # tmpdir: /tmp/tmpycik35g1 1463s # codegen: /usr/bin/gdbus-codegen 1463s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpycik35g1/tmpylcvx9xw1.xml', '/tmp/tmpycik35g1/tmp6lkesfik2.xml', '--output', '-', '--header'] 1463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1463s # Output: /* 1463s # * This file is generated by gdbus-codegen, do not modify it. 1463s # * 1463s # * The license of this code is the same as for the D-Bus interface description 1463s # * it was derived from. Note that it links to GLib, so must comply with the 1463s # * LGPL linking clauses. 1463s # */ 1463s # 1463s # #ifndef __STDOUT__ 1463s # #define __STDOUT__ 1463s # 1463s # #include 1463s # 1463s # G_BEGIN_DECLS 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # /* Declarations for org.project.Bar.Frobnicator */ 1463s # 1463s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1463s # 1463s # struct _OrgProjectBarFrobnicator; 1463s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1463s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1463s # 1463s # struct _OrgProjectBarFrobnicatorIface 1463s # { 1463s # GTypeInterface parent_iface; 1463s # 1463s # gboolean (*handle_random_method) ( 1463s # OrgProjectBarFrobnicator *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # }; 1463s # 1463s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1463s # 1463s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1463s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1463s # 1463s # 1463s # /* D-Bus method call completion functions: */ 1463s # void org_project_bar_frobnicator_complete_random_method ( 1463s # OrgProjectBarFrobnicator *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # 1463s # 1463s # /* D-Bus method calls: */ 1463s # void org_project_bar_frobnicator_call_random_method ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1463s # 1463s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1463s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1463s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1463s # 1463s # struct _OrgProjectBarFrobnicatorProxy 1463s # { 1463s # /*< private >*/ 1463s # GDBusProxy parent_instance; 1463s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1463s # }; 1463s # 1463s # struct _OrgProjectBarFrobnicatorProxyClass 1463s # { 1463s # GDBusProxyClass parent_class; 1463s # }; 1463s # 1463s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1463s # #endif 1463s # 1463s # void org_project_bar_frobnicator_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1463s # 1463s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1463s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1463s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1463s # 1463s # struct _OrgProjectBarFrobnicatorSkeleton 1463s # { 1463s # /*< private >*/ 1463s # GDBusInterfaceSkeleton parent_instance; 1463s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1463s # }; 1463s # 1463s # struct _OrgProjectBarFrobnicatorSkeletonClass 1463s # { 1463s # GDBusInterfaceSkeletonClass parent_class; 1463s # }; 1463s # 1463s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1463s # #endif 1463s # 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # /* Declarations for com.acme.Coyote */ 1463s # 1463s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1463s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1463s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1463s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1463s # 1463s # struct _ComAcmeCoyote; 1463s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1463s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1463s # 1463s # struct _ComAcmeCoyoteIface 1463s # { 1463s # GTypeInterface parent_iface; 1463s # 1463s # 1463s # 1463s # gboolean (*handle_attack) ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # gboolean (*handle_run) ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # gboolean (*handle_sleep) ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1463s # 1463s # void (*surprised) ( 1463s # ComAcmeCoyote *object); 1463s # 1463s # }; 1463s # 1463s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1463s # 1463s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1463s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1463s # 1463s # 1463s # /* D-Bus method call completion functions: */ 1463s # void com_acme_coyote_complete_run ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # void com_acme_coyote_complete_sleep ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # void com_acme_coyote_complete_attack ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # 1463s # 1463s # /* D-Bus signal emissions functions: */ 1463s # void com_acme_coyote_emit_surprised ( 1463s # ComAcmeCoyote *object); 1463s # 1463s # 1463s # 1463s # /* D-Bus method calls: */ 1463s # void com_acme_coyote_call_run ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean com_acme_coyote_call_run_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean com_acme_coyote_call_run_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void com_acme_coyote_call_sleep ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean com_acme_coyote_call_sleep_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean com_acme_coyote_call_sleep_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void com_acme_coyote_call_attack ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean com_acme_coyote_call_attack_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean com_acme_coyote_call_attack_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # 1463s # /* D-Bus property accessors: */ 1463s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1463s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1463s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1463s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1463s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1463s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1463s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1463s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1463s # 1463s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1463s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1463s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1463s # 1463s # struct _ComAcmeCoyoteProxy 1463s # { 1463s # /*< private >*/ 1463s # GDBusProxy parent_instance; 1463s # ComAcmeCoyoteProxyPrivate *priv; 1463s # }; 1463s # 1463s # struct _ComAcmeCoyoteProxyClass 1463s # { 1463s # GDBusProxyClass parent_class; 1463s # }; 1463s # 1463s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1463s # #endif 1463s # 1463s # void com_acme_coyote_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void com_acme_coyote_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1463s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1463s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1463s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1463s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1463s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1463s # 1463s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1463s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1463s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1463s # 1463s # struct _ComAcmeCoyoteSkeleton 1463s # { 1463s # /*< private >*/ 1463s # GDBusInterfaceSkeleton parent_instance; 1463s # ComAcmeCoyoteSkeletonPrivate *priv; 1463s # }; 1463s # 1463s # struct _ComAcmeCoyoteSkeletonClass 1463s # { 1463s # GDBusInterfaceSkeletonClass parent_class; 1463s # }; 1463s # 1463s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1463s # #endif 1463s # 1463s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1463s # 1463s # 1463s # G_END_DECLS 1463s # 1463s # #endif /* __STDOUT__ */ 1463s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpycik35g1/tmp6lkesfik2.xml', '/tmp/tmpycik35g1/tmpylcvx9xw1.xml', '--output', '-', '--header'] 1463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1463s # Output: /* 1463s # * This file is generated by gdbus-codegen, do not modify it. 1463s # * 1463s # * The license of this code is the same as for the D-Bus interface description 1463s # * it was derived from. Note that it links to GLib, so must comply with the 1463s # * LGPL linking clauses. 1463s # */ 1463s # 1463s # #ifndef __STDOUT__ 1463s # #define __STDOUT__ 1463s # 1463s # #include 1463s # 1463s # G_BEGIN_DECLS 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # /* Declarations for org.project.Bar.Frobnicator */ 1463s # 1463s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1463s # 1463s # struct _OrgProjectBarFrobnicator; 1463s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1463s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1463s # 1463s # struct _OrgProjectBarFrobnicatorIface 1463s # { 1463s # GTypeInterface parent_iface; 1463s # 1463s # gboolean (*handle_random_method) ( 1463s # OrgProjectBarFrobnicator *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # }; 1463s # 1463s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1463s # 1463s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1463s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1463s # 1463s # 1463s # /* D-Bus method call completion functions: */ 1463s # void org_project_bar_frobnicator_complete_random_method ( 1463s # OrgProjectBarFrobnicator *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # 1463s # 1463s # /* D-Bus method calls: */ 1463s # void org_project_bar_frobnicator_call_random_method ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1463s # 1463s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1463s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1463s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1463s # 1463s # struct _OrgProjectBarFrobnicatorProxy 1463s # { 1463s # /*< private >*/ 1463s # GDBusProxy parent_instance; 1463s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1463s # }; 1463s # 1463s # struct _OrgProjectBarFrobnicatorProxyClass 1463s # { 1463s # GDBusProxyClass parent_class; 1463s # }; 1463s # 1463s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1463s # #endif 1463s # 1463s # void org_project_bar_frobnicator_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1463s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1463s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1463s # 1463s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1463s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1463s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1463s # 1463s # struct _OrgProjectBarFrobnicatorSkeleton 1463s # { 1463s # /*< private >*/ 1463s # GDBusInterfaceSkeleton parent_instance; 1463s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1463s # }; 1463s # 1463s # struct _OrgProjectBarFrobnicatorSkeletonClass 1463s # { 1463s # GDBusInterfaceSkeletonClass parent_class; 1463s # }; 1463s # 1463s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1463s # #endif 1463s # 1463s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # /* Declarations for com.acme.Coyote */ 1463s # 1463s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1463s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1463s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1463s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1463s # 1463s # struct _ComAcmeCoyote; 1463s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1463s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1463s # 1463s # struct _ComAcmeCoyoteIface 1463s # { 1463s # GTypeInterface parent_iface; 1463s # 1463s # 1463s # 1463s # gboolean (*handle_attack) ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # gboolean (*handle_run) ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # gboolean (*handle_sleep) ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1463s # 1463s # void (*surprised) ( 1463s # ComAcmeCoyote *object); 1463s # 1463s # }; 1463s # 1463s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1463s # 1463s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1463s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1463s # 1463s # 1463s # /* D-Bus method call completion functions: */ 1463s # void com_acme_coyote_complete_run ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # void com_acme_coyote_complete_sleep ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # void com_acme_coyote_complete_attack ( 1463s # ComAcmeCoyote *object, 1463s # GDBusMethodInvocation *invocation); 1463s # 1463s # 1463s # 1463s # /* D-Bus signal emissions functions: */ 1463s # void com_acme_coyote_emit_surprised ( 1463s # ComAcmeCoyote *object); 1463s # 1463s # 1463s # 1463s # /* D-Bus method calls: */ 1463s # void com_acme_coyote_call_run ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean com_acme_coyote_call_run_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean com_acme_coyote_call_run_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void com_acme_coyote_call_sleep ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean com_acme_coyote_call_sleep_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean com_acme_coyote_call_sleep_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void com_acme_coyote_call_attack ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # 1463s # gboolean com_acme_coyote_call_attack_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # 1463s # gboolean com_acme_coyote_call_attack_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # 1463s # /* D-Bus property accessors: */ 1463s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1463s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1463s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1463s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1463s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1463s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1463s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1463s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1463s # 1463s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1463s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1463s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1463s # 1463s # struct _ComAcmeCoyoteProxy 1463s # { 1463s # /*< private >*/ 1463s # GDBusProxy parent_instance; 1463s # ComAcmeCoyoteProxyPrivate *priv; 1463s # }; 1463s # 1463s # struct _ComAcmeCoyoteProxyClass 1463s # { 1463s # GDBusProxyClass parent_class; 1463s # }; 1463s # 1463s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1463s # #endif 1463s # 1463s # void com_acme_coyote_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # void com_acme_coyote_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error); 1463s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error); 1463s # 1463s # 1463s # /* ---- */ 1463s # 1463s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1463s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1463s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1463s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1463s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1463s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1463s # 1463s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1463s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1463s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1463s # 1463s # struct _ComAcmeCoyoteSkeleton 1463s # { 1463s # /*< private >*/ 1463s # GDBusInterfaceSkeleton parent_instance; 1463s # ComAcmeCoyoteSkeletonPrivate *priv; 1463s # }; 1463s # 1463s # struct _ComAcmeCoyoteSkeletonClass 1463s # { 1463s # GDBusInterfaceSkeletonClass parent_class; 1463s # }; 1463s # 1463s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1463s # 1463s # #if GLIB_CHECK_VERSION(2, 44, 0) 1463s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1463s # #endif 1463s # 1463s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1463s # 1463s # 1463s # G_END_DECLS 1463s # 1463s # #endif /* __STDOUT__ */ 1463s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpycik35g1/tmpylcvx9xw1.xml', '/tmp/tmpycik35g1/tmp6lkesfik2.xml', '--output', '-', '--body'] 1463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1463s # Output: /* 1463s # * This file is generated by gdbus-codegen, do not modify it. 1463s # * 1463s # * The license of this code is the same as for the D-Bus interface description 1463s # * it was derived from. Note that it links to GLib, so must comply with the 1463s # * LGPL linking clauses. 1463s # */ 1463s # 1463s # #ifdef HAVE_CONFIG_H 1463s # # include "config.h" 1463s # #endif 1463s # 1463s # #include 1463s # #ifdef G_OS_UNIX 1463s # # include 1463s # #endif 1463s # 1463s # #ifdef G_ENABLE_DEBUG 1463s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1463s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1463s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1463s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1463s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1463s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1463s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1463s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1463s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1463s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1463s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1463s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1463s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1463s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1463s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1463s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1463s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1463s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1463s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1463s # #else /* !G_ENABLE_DEBUG */ 1463s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1463s # * Do not access GValues directly in your code. Instead, use the 1463s # * g_value_get_*() functions 1463s # */ 1463s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1463s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1463s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1463s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1463s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1463s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1463s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1463s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1463s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1463s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1463s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1463s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1463s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1463s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1463s # #endif /* !G_ENABLE_DEBUG */ 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusArgInfo parent_struct; 1463s # gboolean use_gvariant; 1463s # } _ExtendedGDBusArgInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusMethodInfo parent_struct; 1463s # const gchar *signal_name; 1463s # gboolean pass_fdlist; 1463s # } _ExtendedGDBusMethodInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusSignalInfo parent_struct; 1463s # const gchar *signal_name; 1463s # } _ExtendedGDBusSignalInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusPropertyInfo parent_struct; 1463s # const gchar *hyphen_name; 1463s # guint use_gvariant : 1; 1463s # guint emits_changed_signal : 1; 1463s # } _ExtendedGDBusPropertyInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusInterfaceInfo parent_struct; 1463s # const gchar *hyphen_name; 1463s # } _ExtendedGDBusInterfaceInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # guint prop_id; 1463s # GValue orig_value; /* the value before the change */ 1463s # } ChangedProperty; 1463s # 1463s # static void 1463s # _changed_property_free (ChangedProperty *data) 1463s # { 1463s # g_value_unset (&data->orig_value); 1463s # g_free (data); 1463s # } 1463s # 1463s # static gboolean 1463s # _g_strv_equal0 (gchar **a, gchar **b) 1463s # { 1463s # gboolean ret = FALSE; 1463s # guint n; 1463s # if (a == NULL && b == NULL) 1463s # { 1463s # ret = TRUE; 1463s # goto out; 1463s # } 1463s # if (a == NULL || b == NULL) 1463s # goto out; 1463s # if (g_strv_length (a) != g_strv_length (b)) 1463s # goto out; 1463s # for (n = 0; a[n] != NULL; n++) 1463s # if (g_strcmp0 (a[n], b[n]) != 0) 1463s # goto out; 1463s # ret = TRUE; 1463s # out: 1463s # return ret; 1463s # } 1463s # 1463s # static gboolean 1463s # _g_variant_equal0 (GVariant *a, GVariant *b) 1463s # { 1463s # gboolean ret = FALSE; 1463s # if (a == NULL && b == NULL) 1463s # { 1463s # ret = TRUE; 1463s # goto out; 1463s # } 1463s # if (a == NULL || b == NULL) 1463s # goto out; 1463s # ret = g_variant_equal (a, b); 1463s # out: 1463s # return ret; 1463s # } 1463s # 1463s # G_GNUC_UNUSED static gboolean 1463s # _g_value_equal (const GValue *a, const GValue *b) 1463s # { 1463s # gboolean ret = FALSE; 1463s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1463s # switch (G_VALUE_TYPE (a)) 1463s # { 1463s # case G_TYPE_BOOLEAN: 1463s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1463s # break; 1463s # case G_TYPE_UCHAR: 1463s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1463s # break; 1463s # case G_TYPE_INT: 1463s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1463s # break; 1463s # case G_TYPE_UINT: 1463s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1463s # break; 1463s # case G_TYPE_INT64: 1463s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1463s # break; 1463s # case G_TYPE_UINT64: 1463s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1463s # break; 1463s # case G_TYPE_DOUBLE: 1463s # { 1463s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1463s # gdouble da = g_value_get_double (a); 1463s # gdouble db = g_value_get_double (b); 1463s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1463s # } 1463s # break; 1463s # case G_TYPE_STRING: 1463s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1463s # break; 1463s # case G_TYPE_VARIANT: 1463s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1463s # break; 1463s # default: 1463s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1463s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1463s # else 1463s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1463s # break; 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static void 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint G_GNUC_UNUSED, 1463s # void *marshal_data) 1463s # { 1463s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1463s # (void *data1, 1463s # GDBusMethodInvocation *arg_method_invocation, 1463s # void *data2); 1463s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1463s # GCClosure *cc = (GCClosure*) closure; 1463s # void *data1, *data2; 1463s # gboolean v_return; 1463s # 1463s # g_return_if_fail (return_value != NULL); 1463s # g_return_if_fail (n_param_values == 2); 1463s # 1463s # if (G_CCLOSURE_SWAP_DATA (closure)) 1463s # { 1463s # data1 = closure->data; 1463s # data2 = g_value_peek_pointer (param_values + 0); 1463s # } 1463s # else 1463s # { 1463s # data1 = g_value_peek_pointer (param_values + 0); 1463s # data2 = closure->data; 1463s # } 1463s # 1463s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1463s # (marshal_data ? marshal_data : cc->callback); 1463s # 1463s # v_return = 1463s # callback (data1, 1463s # g_marshal_value_peek_object (param_values + 1), 1463s # data2); 1463s # 1463s # g_value_set_boolean (return_value, v_return); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ 1463s # * Code for interface org.project.Bar.Frobnicator 1463s # * ------------------------------------------------------------------------ 1463s # */ 1463s # 1463s # /** 1463s # * SECTION:OrgProjectBarFrobnicator 1463s # * @title: OrgProjectBarFrobnicator 1463s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1463s # * 1463s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1463s # */ 1463s # 1463s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1463s # 1463s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "RandomMethod", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-random-method", 1463s # FALSE 1463s # }; 1463s # 1463s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1463s # { 1463s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "org.project.Bar.Frobnicator", 1463s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "org-project-bar-frobnicator", 1463s # }; 1463s # 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_interface_info: 1463s # * 1463s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1463s # * 1463s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1463s # */ 1463s # GDBusInterfaceInfo * 1463s # org_project_bar_frobnicator_interface_info (void) 1463s # { 1463s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_override_properties: 1463s # * @klass: The class structure for a #GObject derived class. 1463s # * @property_id_begin: The property id to assign to the first overridden property. 1463s # * 1463s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1463s # * The properties are overridden in the order they are defined. 1463s # * 1463s # * Returns: The last property id. 1463s # */ 1463s # guint 1463s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1463s # { 1463s # return property_id_begin - 1; 1463s # } 1463s # 1463s # 1463s # inline static void 1463s # org_project_bar_frobnicator_method_marshal_random_method ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicator: 1463s # * 1463s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1463s # */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorIface: 1463s # * @parent_iface: The parent interface. 1463s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1463s # * 1463s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1463s # */ 1463s # 1463s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1463s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1463s # { 1463s # /* GObject signals for incoming D-Bus method calls: */ 1463s # /** 1463s # * OrgProjectBarFrobnicator::handle-random-method: 1463s # * @object: A #OrgProjectBarFrobnicator. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-random-method", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # org_project_bar_frobnicator_method_marshal_random_method, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_call_random_method: 1463s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1463s # * 1463s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_call_random_method ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "RandomMethod", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_call_random_method_finish: 1463s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # org_project_bar_frobnicator_call_random_method_finish ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_call_random_method_sync: 1463s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # org_project_bar_frobnicator_call_random_method_sync ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "RandomMethod", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_complete_random_method: 1463s # * @object: A #OrgProjectBarFrobnicator. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_complete_random_method ( 1463s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorProxy: 1463s # * 1463s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorProxyClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1463s # */ 1463s # 1463s # struct _OrgProjectBarFrobnicatorProxyPrivate 1463s # { 1463s # GData *qdata; 1463s # }; 1463s # 1463s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1463s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1463s # { 1463s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1463s # g_datalist_clear (&proxy->priv->qdata); 1463s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1463s # guint prop_id G_GNUC_UNUSED, 1463s # GValue *value G_GNUC_UNUSED, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1463s # guint prop_id G_GNUC_UNUSED, 1463s # const GValue *value G_GNUC_UNUSED, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1463s # const gchar *sender_name G_GNUC_UNUSED, 1463s # const gchar *signal_name, 1463s # GVariant *parameters) 1463s # { 1463s # _ExtendedGDBusSignalInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # gsize n; 1463s # guint signal_id; 1463s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1463s # if (info == NULL) 1463s # return; 1463s # num_params = g_variant_n_children (parameters); 1463s # paramv = g_new0 (GValue, num_params + 1); 1463s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_value_set_object (¶mv[0], proxy); 1463s # g_variant_iter_init (&iter, parameters); 1463s # n = 1; 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_signal_emitv (paramv, signal_id, 0, NULL); 1463s # for (n = 0; n < num_params + 1; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1463s # GVariant *changed_properties, 1463s # const gchar *const *invalidated_properties) 1463s # { 1463s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1463s # guint n; 1463s # const gchar *key; 1463s # GVariantIter *iter; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # g_variant_get (changed_properties, "a{sv}", &iter); 1463s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1463s # g_datalist_remove_data (&proxy->priv->qdata, key); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # g_variant_iter_free (iter); 1463s # for (n = 0; invalidated_properties[n] != NULL; n++) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1463s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1463s # #else 1463s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1463s # #endif 1463s # 1463s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusProxyClass *proxy_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1463s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1463s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1463s # 1463s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1463s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1463s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_sync: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_for_bus: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorSkeleton: 1463s # * 1463s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorSkeletonClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1463s # */ 1463s # 1463s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1463s # { 1463s # GValue *properties; 1463s # GList *changed_properties; 1463s # GSource *changed_properties_idle_source; 1463s # GMainContext *context; 1463s # GMutex lock; 1463s # }; 1463s # 1463s # static void 1463s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name, 1463s # const gchar *method_name, 1463s # GVariant *parameters, 1463s # GDBusMethodInvocation *invocation, 1463s # gpointer user_data) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1463s # _ExtendedGDBusMethodInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # guint num_extra; 1463s # gsize n; 1463s # guint signal_id; 1463s # GValue return_value = G_VALUE_INIT; 1463s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1463s # g_assert (info != NULL); 1463s # num_params = g_variant_n_children (parameters); 1463s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1463s # n = 0; 1463s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_value_set_object (¶mv[n++], skeleton); 1463s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1463s # g_value_set_object (¶mv[n++], invocation); 1463s # if (info->pass_fdlist) 1463s # { 1463s # #ifdef G_OS_UNIX 1463s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1463s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1463s # #else 1463s # g_assert_not_reached (); 1463s # #endif 1463s # } 1463s # g_variant_iter_init (&iter, parameters); 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1463s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1463s # if (!g_value_get_boolean (&return_value)) 1463s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1463s # g_value_unset (&return_value); 1463s # for (n = 0; n < num_params + num_extra; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static GVariant * 1463s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *ret; 1463s # ret = NULL; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # g_value_init (&value, pspec->value_type); 1463s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1463s # g_value_unset (&value); 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static gboolean 1463s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GVariant *variant, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # gboolean ret; 1463s # ret = FALSE; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # if (info->use_gvariant) 1463s # g_value_set_variant (&value, variant); 1463s # else 1463s # g_dbus_gvariant_to_gvalue (variant, &value); 1463s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # g_value_unset (&value); 1463s # ret = TRUE; 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1463s # { 1463s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1463s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1463s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1463s # {NULL} 1463s # }; 1463s # 1463s # static GDBusInterfaceInfo * 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return org_project_bar_frobnicator_interface_info (); 1463s # } 1463s # 1463s # static GDBusInterfaceVTable * 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1463s # } 1463s # 1463s # static GVariant * 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1463s # 1463s # GVariantBuilder builder; 1463s # guint n; 1463s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1463s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1463s # goto out; 1463s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1463s # { 1463s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1463s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1463s # { 1463s # GVariant *value; 1463s # 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); 1463s # if (value != NULL) 1463s # { 1463s # g_variant_take_ref (value); 1463s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1463s # g_variant_unref (value); 1463s # } 1463s # } 1463s # } 1463s # out: 1463s # return g_variant_builder_end (&builder); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1463s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1463s # if (skeleton->priv->changed_properties_idle_source != NULL) 1463s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1463s # g_main_context_unref (skeleton->priv->context); 1463s # g_mutex_clear (&skeleton->priv->lock); 1463s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1463s # #else 1463s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1463s # #endif 1463s # 1463s # g_mutex_init (&skeleton->priv->lock); 1463s # skeleton->priv->context = g_main_context_ref_thread_default (); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusInterfaceSkeletonClass *skeleton_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1463s # 1463s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1463s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1463s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1463s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1463s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_skeleton_new: 1463s # * 1463s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_skeleton_new (void) 1463s # { 1463s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ 1463s # * Code for interface com.acme.Coyote 1463s # * ------------------------------------------------------------------------ 1463s # */ 1463s # 1463s # /** 1463s # * SECTION:ComAcmeCoyote 1463s # * @title: ComAcmeCoyote 1463s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1463s # * 1463s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1463s # */ 1463s # 1463s # enum 1463s # { 1463s # _COM_ACME_COYOTE_SURPRISED, 1463s # }; 1463s # 1463s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1463s # 1463s # /* ---- Introspection data for com.acme.Coyote ---- */ 1463s # 1463s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Run", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-run", 1463s # FALSE 1463s # }; 1463s # 1463s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Sleep", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-sleep", 1463s # FALSE 1463s # }; 1463s # 1463s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Attack", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-attack", 1463s # FALSE 1463s # }; 1463s # 1463s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1463s # { 1463s # &_com_acme_coyote_method_info_run.parent_struct, 1463s # &_com_acme_coyote_method_info_sleep.parent_struct, 1463s # &_com_acme_coyote_method_info_attack.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Surprised", 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "surprised" 1463s # }; 1463s # 1463s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1463s # { 1463s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Mood", 1463s # (gchar *) "s", 1463s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1463s # NULL 1463s # }, 1463s # "mood", 1463s # FALSE, 1463s # TRUE 1463s # }; 1463s # 1463s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1463s # { 1463s # &_com_acme_coyote_property_info_mood.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "com.acme.Coyote", 1463s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1463s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1463s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1463s # NULL 1463s # }, 1463s # "com-acme-coyote", 1463s # }; 1463s # 1463s # 1463s # /** 1463s # * com_acme_coyote_interface_info: 1463s # * 1463s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1463s # * 1463s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1463s # */ 1463s # GDBusInterfaceInfo * 1463s # com_acme_coyote_interface_info (void) 1463s # { 1463s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_override_properties: 1463s # * @klass: The class structure for a #GObject derived class. 1463s # * @property_id_begin: The property id to assign to the first overridden property. 1463s # * 1463s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1463s # * The properties are overridden in the order they are defined. 1463s # * 1463s # * Returns: The last property id. 1463s # */ 1463s # guint 1463s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1463s # { 1463s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1463s # return property_id_begin - 1; 1463s # } 1463s # 1463s # 1463s # inline static void 1463s # com_acme_coyote_signal_marshal_surprised ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # g_cclosure_marshal_VOID__VOID (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # inline static void 1463s # com_acme_coyote_method_marshal_run ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # inline static void 1463s # com_acme_coyote_method_marshal_sleep ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # inline static void 1463s # com_acme_coyote_method_marshal_attack ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # 1463s # /** 1463s # * ComAcmeCoyote: 1463s # * 1463s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1463s # */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteIface: 1463s # * @parent_iface: The parent interface. 1463s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1463s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1463s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1463s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1463s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1463s # * 1463s # * Virtual table for the D-Bus interface com.acme.Coyote. 1463s # */ 1463s # 1463s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1463s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1463s # 1463s # static void 1463s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1463s # { 1463s # /* GObject signals for incoming D-Bus method calls: */ 1463s # /** 1463s # * ComAcmeCoyote::handle-run: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-run", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # com_acme_coyote_method_marshal_run, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # /** 1463s # * ComAcmeCoyote::handle-sleep: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-sleep", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # com_acme_coyote_method_marshal_sleep, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # /** 1463s # * ComAcmeCoyote::handle-attack: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-attack", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # com_acme_coyote_method_marshal_attack, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # /* GObject signals for received D-Bus signals: */ 1463s # /** 1463s # * ComAcmeCoyote::surprised: 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1463s # * 1463s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1463s # */ 1463s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1463s # g_signal_new ("surprised", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1463s # NULL, 1463s # NULL, 1463s # com_acme_coyote_signal_marshal_surprised, 1463s # G_TYPE_NONE, 1463s # 0); 1463s # 1463s # /* GObject properties for D-Bus properties: */ 1463s # /** 1463s # * ComAcmeCoyote:mood: 1463s # * 1463s # * Represents the D-Bus property "Mood". 1463s # * 1463s # * 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. 1463s # */ 1463s # g_object_interface_install_property (iface, 1463s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_get_mood: (skip) 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * Gets the value of the "Mood" D-Bus property. 1463s # * 1463s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # const gchar * 1463s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1463s # { 1463s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1463s # 1463s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_dup_mood: (skip) 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * Gets a copy of the "Mood" D-Bus property. 1463s # * 1463s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1463s # * 1463s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1463s # */ 1463s # gchar * 1463s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1463s # { 1463s # gchar *value; 1463s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1463s # return value; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_set_mood: (skip) 1463s # * @object: A #ComAcmeCoyote. 1463s # * @value: The value to set. 1463s # * 1463s # * Sets the "Mood" D-Bus property to @value. 1463s # * 1463s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1463s # */ 1463s # void 1463s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1463s # { 1463s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_emit_surprised: 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * Emits the "Surprised" D-Bus signal. 1463s # */ 1463s # void 1463s # com_acme_coyote_emit_surprised ( 1463s # ComAcmeCoyote *object) 1463s # { 1463s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_run: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # com_acme_coyote_call_run ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "Run", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_run_finish: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_call_run(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_run_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_run_sync: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_run_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "Run", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_sleep: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # com_acme_coyote_call_sleep ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "Sleep", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_sleep_finish: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_sleep_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_sleep_sync: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_sleep_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "Sleep", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_attack: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # com_acme_coyote_call_attack ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "Attack", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_attack_finish: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_call_attack(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_attack_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_attack_sync: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_attack_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "Attack", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_complete_run: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # com_acme_coyote_complete_run ( 1463s # ComAcmeCoyote *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_complete_sleep: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # com_acme_coyote_complete_sleep ( 1463s # ComAcmeCoyote *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_complete_attack: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # com_acme_coyote_complete_attack ( 1463s # ComAcmeCoyote *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteProxy: 1463s # * 1463s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteProxyClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #ComAcmeCoyoteProxy. 1463s # */ 1463s # 1463s # struct _ComAcmeCoyoteProxyPrivate 1463s # { 1463s # GData *qdata; 1463s # }; 1463s # 1463s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1463s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # com_acme_coyote_proxy_finalize (GObject *object) 1463s # { 1463s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1463s # g_datalist_clear (&proxy->priv->qdata); 1463s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_get_property (GObject *object, 1463s # guint prop_id, 1463s # GValue *value, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *variant; 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1463s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1463s # if (info->use_gvariant) 1463s # { 1463s # g_value_set_variant (value, variant); 1463s # } 1463s # else 1463s # { 1463s # if (variant != NULL) 1463s # g_dbus_gvariant_to_gvalue (variant, value); 1463s # } 1463s # if (variant != NULL) 1463s # g_variant_unref (variant); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1463s # GAsyncResult *res, 1463s # gpointer user_data) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info = user_data; 1463s # GError *error; 1463s # GVariant *_ret; 1463s # error = NULL; 1463s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1463s # if (!_ret) 1463s # { 1463s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1463s # info->parent_struct.name, 1463s # error->message, g_quark_to_string (error->domain), error->code); 1463s # g_error_free (error); 1463s # } 1463s # else 1463s # { 1463s # g_variant_unref (_ret); 1463s # } 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_set_property (GObject *object, 1463s # guint prop_id, 1463s # const GValue *value, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *variant; 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1463s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1463s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1463s # "org.freedesktop.DBus.Properties.Set", 1463s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1463s # g_variant_unref (variant); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1463s # const gchar *sender_name G_GNUC_UNUSED, 1463s # const gchar *signal_name, 1463s # GVariant *parameters) 1463s # { 1463s # _ExtendedGDBusSignalInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # gsize n; 1463s # guint signal_id; 1463s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1463s # if (info == NULL) 1463s # return; 1463s # num_params = g_variant_n_children (parameters); 1463s # paramv = g_new0 (GValue, num_params + 1); 1463s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1463s # g_value_set_object (¶mv[0], proxy); 1463s # g_variant_iter_init (&iter, parameters); 1463s # n = 1; 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1463s # g_signal_emitv (paramv, signal_id, 0, NULL); 1463s # for (n = 0; n < num_params + 1; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1463s # GVariant *changed_properties, 1463s # const gchar *const *invalidated_properties) 1463s # { 1463s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1463s # guint n; 1463s # const gchar *key; 1463s # GVariantIter *iter; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # g_variant_get (changed_properties, "a{sv}", &iter); 1463s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1463s # g_datalist_remove_data (&proxy->priv->qdata, key); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # g_variant_iter_free (iter); 1463s # for (n = 0; invalidated_properties[n] != NULL; n++) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1463s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # } 1463s # 1463s # static const gchar * 1463s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1463s # { 1463s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1463s # GVariant *variant; 1463s # const gchar *value = NULL; 1463s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1463s # if (variant != NULL) 1463s # { 1463s # value = g_variant_get_string (variant, NULL); 1463s # g_variant_unref (variant); 1463s # } 1463s # return value; 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1463s # #else 1463s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1463s # #endif 1463s # 1463s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusProxyClass *proxy_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1463s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1463s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1463s # 1463s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1463s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1463s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1463s # 1463s # com_acme_coyote_override_properties (gobject_class, 1); 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1463s # { 1463s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # com_acme_coyote_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_sync: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_for_bus: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # com_acme_coyote_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_for_bus_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_for_bus_sync: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteSkeleton: 1463s # * 1463s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteSkeletonClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #ComAcmeCoyoteSkeleton. 1463s # */ 1463s # 1463s # struct _ComAcmeCoyoteSkeletonPrivate 1463s # { 1463s # GValue *properties; 1463s # GList *changed_properties; 1463s # GSource *changed_properties_idle_source; 1463s # GMainContext *context; 1463s # GMutex lock; 1463s # }; 1463s # 1463s # static void 1463s # _com_acme_coyote_skeleton_handle_method_call ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name, 1463s # const gchar *method_name, 1463s # GVariant *parameters, 1463s # GDBusMethodInvocation *invocation, 1463s # gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # _ExtendedGDBusMethodInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # guint num_extra; 1463s # gsize n; 1463s # guint signal_id; 1463s # GValue return_value = G_VALUE_INIT; 1463s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1463s # g_assert (info != NULL); 1463s # num_params = g_variant_n_children (parameters); 1463s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1463s # n = 0; 1463s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1463s # g_value_set_object (¶mv[n++], skeleton); 1463s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1463s # g_value_set_object (¶mv[n++], invocation); 1463s # if (info->pass_fdlist) 1463s # { 1463s # #ifdef G_OS_UNIX 1463s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1463s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1463s # #else 1463s # g_assert_not_reached (); 1463s # #endif 1463s # } 1463s # g_variant_iter_init (&iter, parameters); 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1463s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1463s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1463s # if (!g_value_get_boolean (&return_value)) 1463s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1463s # g_value_unset (&return_value); 1463s # for (n = 0; n < num_params + num_extra; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static GVariant * 1463s # _com_acme_coyote_skeleton_handle_get_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *ret; 1463s # ret = NULL; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # g_value_init (&value, pspec->value_type); 1463s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1463s # g_value_unset (&value); 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static gboolean 1463s # _com_acme_coyote_skeleton_handle_set_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GVariant *variant, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # gboolean ret; 1463s # ret = FALSE; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # if (info->use_gvariant) 1463s # g_value_set_variant (&value, variant); 1463s # else 1463s # g_dbus_gvariant_to_gvalue (variant, &value); 1463s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # g_value_unset (&value); 1463s # ret = TRUE; 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1463s # { 1463s # _com_acme_coyote_skeleton_handle_method_call, 1463s # _com_acme_coyote_skeleton_handle_get_property, 1463s # _com_acme_coyote_skeleton_handle_set_property, 1463s # {NULL} 1463s # }; 1463s # 1463s # static GDBusInterfaceInfo * 1463s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return com_acme_coyote_interface_info (); 1463s # } 1463s # 1463s # static GDBusInterfaceVTable * 1463s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1463s # } 1463s # 1463s # static GVariant * 1463s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1463s # 1463s # GVariantBuilder builder; 1463s # guint n; 1463s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1463s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1463s # goto out; 1463s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1463s # { 1463s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1463s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1463s # { 1463s # GVariant *value; 1463s # 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); 1463s # if (value != NULL) 1463s # { 1463s # g_variant_take_ref (value); 1463s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1463s # g_variant_unref (value); 1463s # } 1463s # } 1463s # } 1463s # out: 1463s # return g_variant_builder_end (&builder); 1463s # } 1463s # 1463s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1463s # gboolean emit_changed = FALSE; 1463s # 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # if (skeleton->priv->changed_properties_idle_source != NULL) 1463s # { 1463s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1463s # skeleton->priv->changed_properties_idle_source = NULL; 1463s # emit_changed = TRUE; 1463s # } 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # 1463s # if (emit_changed) 1463s # _com_acme_coyote_emit_changed (skeleton); 1463s # } 1463s # 1463s # static void 1463s # _com_acme_coyote_on_signal_surprised ( 1463s # ComAcmeCoyote *object) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # 1463s # GList *connections, *l; 1463s # GVariant *signal_variant; 1463s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1463s # 1463s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1463s # for (l = connections; l != NULL; l = l->next) 1463s # { 1463s # GDBusConnection *connection = l->data; 1463s # g_dbus_connection_emit_signal (connection, 1463s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1463s # signal_variant, NULL); 1463s # } 1463s # g_variant_unref (signal_variant); 1463s # g_list_free_full (connections, g_object_unref); 1463s # } 1463s # 1463s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # com_acme_coyote_skeleton_finalize (GObject *object) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # guint n; 1463s # for (n = 0; n < 1; n++) 1463s # g_value_unset (&skeleton->priv->properties[n]); 1463s # g_free (skeleton->priv->properties); 1463s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1463s # if (skeleton->priv->changed_properties_idle_source != NULL) 1463s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1463s # g_main_context_unref (skeleton->priv->context); 1463s # g_mutex_clear (&skeleton->priv->lock); 1463s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_get_property (GObject *object, 1463s # guint prop_id, 1463s # GValue *value, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # } 1463s # 1463s # static gboolean 1463s # _com_acme_coyote_emit_changed (gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # GList *l; 1463s # GVariantBuilder builder; 1463s # GVariantBuilder invalidated_builder; 1463s # guint num_changes; 1463s # 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1463s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1463s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1463s # { 1463s # ChangedProperty *cp = l->data; 1463s # GVariant *variant; 1463s # const GValue *cur_value; 1463s # 1463s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1463s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1463s # { 1463s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1463s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1463s # g_variant_unref (variant); 1463s # num_changes++; 1463s # } 1463s # } 1463s # if (num_changes > 0) 1463s # { 1463s # GList *connections, *ll; 1463s # GVariant *signal_variant; 1463s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1463s # &builder, &invalidated_builder)); 1463s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1463s # for (ll = connections; ll != NULL; ll = ll->next) 1463s # { 1463s # GDBusConnection *connection = ll->data; 1463s # 1463s # g_dbus_connection_emit_signal (connection, 1463s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1463s # "org.freedesktop.DBus.Properties", 1463s # "PropertiesChanged", 1463s # signal_variant, 1463s # NULL); 1463s # } 1463s # g_variant_unref (signal_variant); 1463s # g_list_free_full (connections, g_object_unref); 1463s # } 1463s # else 1463s # { 1463s # g_variant_builder_clear (&builder); 1463s # g_variant_builder_clear (&invalidated_builder); 1463s # } 1463s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1463s # skeleton->priv->changed_properties = NULL; 1463s # skeleton->priv->changed_properties_idle_source = NULL; 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # return FALSE; 1463s # } 1463s # 1463s # static void 1463s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1463s # { 1463s # ChangedProperty *cp; 1463s # GList *l; 1463s # cp = NULL; 1463s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1463s # { 1463s # ChangedProperty *i_cp = l->data; 1463s # if (i_cp->info == info) 1463s # { 1463s # cp = i_cp; 1463s # break; 1463s # } 1463s # } 1463s # if (cp == NULL) 1463s # { 1463s # cp = g_new0 (ChangedProperty, 1); 1463s # cp->prop_id = prop_id; 1463s # cp->info = info; 1463s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1463s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1463s # g_value_copy (orig_value, &cp->orig_value); 1463s # } 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_notify (GObject *object, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # if (skeleton->priv->changed_properties != NULL && 1463s # skeleton->priv->changed_properties_idle_source == NULL) 1463s # { 1463s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1463s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1463s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1463s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1463s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1463s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1463s # } 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_set_property (GObject *object, 1463s # guint prop_id, 1463s # const GValue *value, 1463s # GParamSpec *pspec) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # g_object_freeze_notify (object); 1463s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1463s # { 1463s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1463s # info->emits_changed_signal) 1463s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1463s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1463s # g_object_notify_by_pspec (object, pspec); 1463s # } 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # g_object_thaw_notify (object); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1463s # #else 1463s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1463s # #endif 1463s # 1463s # g_mutex_init (&skeleton->priv->lock); 1463s # skeleton->priv->context = g_main_context_ref_thread_default (); 1463s # skeleton->priv->properties = g_new0 (GValue, 1); 1463s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1463s # } 1463s # 1463s # static const gchar * 1463s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # const gchar *value; 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # return value; 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusInterfaceSkeletonClass *skeleton_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1463s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1463s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1463s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1463s # 1463s # 1463s # com_acme_coyote_override_properties (gobject_class, 1); 1463s # 1463s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1463s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1463s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1463s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1463s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1463s # { 1463s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1463s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_skeleton_new: 1463s # * 1463s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_skeleton_new (void) 1463s # { 1463s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1463s # } 1463s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpycik35g1/tmp6lkesfik2.xml', '/tmp/tmpycik35g1/tmpylcvx9xw1.xml', '--output', '-', '--body'] 1463s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1463s # Output: /* 1463s # * This file is generated by gdbus-codegen, do not modify it. 1463s # * 1463s # * The license of this code is the same as for the D-Bus interface description 1463s # * it was derived from. Note that it links to GLib, so must comply with the 1463s # * LGPL linking clauses. 1463s # */ 1463s # 1463s # #ifdef HAVE_CONFIG_H 1463s # # include "config.h" 1463s # #endif 1463s # 1463s # #include 1463s # #ifdef G_OS_UNIX 1463s # # include 1463s # #endif 1463s # 1463s # #ifdef G_ENABLE_DEBUG 1463s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1463s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1463s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1463s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1463s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1463s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1463s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1463s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1463s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1463s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1463s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1463s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1463s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1463s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1463s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1463s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1463s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1463s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1463s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1463s # #else /* !G_ENABLE_DEBUG */ 1463s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1463s # * Do not access GValues directly in your code. Instead, use the 1463s # * g_value_get_*() functions 1463s # */ 1463s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1463s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1463s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1463s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1463s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1463s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1463s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1463s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1463s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1463s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1463s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1463s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1463s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1463s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1463s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1463s # #endif /* !G_ENABLE_DEBUG */ 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusArgInfo parent_struct; 1463s # gboolean use_gvariant; 1463s # } _ExtendedGDBusArgInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusMethodInfo parent_struct; 1463s # const gchar *signal_name; 1463s # gboolean pass_fdlist; 1463s # } _ExtendedGDBusMethodInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusSignalInfo parent_struct; 1463s # const gchar *signal_name; 1463s # } _ExtendedGDBusSignalInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusPropertyInfo parent_struct; 1463s # const gchar *hyphen_name; 1463s # guint use_gvariant : 1; 1463s # guint emits_changed_signal : 1; 1463s # } _ExtendedGDBusPropertyInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # GDBusInterfaceInfo parent_struct; 1463s # const gchar *hyphen_name; 1463s # } _ExtendedGDBusInterfaceInfo; 1463s # 1463s # typedef struct 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # guint prop_id; 1463s # GValue orig_value; /* the value before the change */ 1463s # } ChangedProperty; 1463s # 1463s # static void 1463s # _changed_property_free (ChangedProperty *data) 1463s # { 1463s # g_value_unset (&data->orig_value); 1463s # g_free (data); 1463s # } 1463s # 1463s # static gboolean 1463s # _g_strv_equal0 (gchar **a, gchar **b) 1463s # { 1463s # gboolean ret = FALSE; 1463s # guint n; 1463s # if (a == NULL && b == NULL) 1463s # { 1463s # ret = TRUE; 1463s # goto out; 1463s # } 1463s # if (a == NULL || b == NULL) 1463s # goto out; 1463s # if (g_strv_length (a) != g_strv_length (b)) 1463s # goto out; 1463s # for (n = 0; a[n] != NULL; n++) 1463s # if (g_strcmp0 (a[n], b[n]) != 0) 1463s # goto out; 1463s # ret = TRUE; 1463s # out: 1463s # return ret; 1463s # } 1463s # 1463s # static gboolean 1463s # _g_variant_equal0 (GVariant *a, GVariant *b) 1463s # { 1463s # gboolean ret = FALSE; 1463s # if (a == NULL && b == NULL) 1463s # { 1463s # ret = TRUE; 1463s # goto out; 1463s # } 1463s # if (a == NULL || b == NULL) 1463s # goto out; 1463s # ret = g_variant_equal (a, b); 1463s # out: 1463s # return ret; 1463s # } 1463s # 1463s # G_GNUC_UNUSED static gboolean 1463s # _g_value_equal (const GValue *a, const GValue *b) 1463s # { 1463s # gboolean ret = FALSE; 1463s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1463s # switch (G_VALUE_TYPE (a)) 1463s # { 1463s # case G_TYPE_BOOLEAN: 1463s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1463s # break; 1463s # case G_TYPE_UCHAR: 1463s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1463s # break; 1463s # case G_TYPE_INT: 1463s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1463s # break; 1463s # case G_TYPE_UINT: 1463s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1463s # break; 1463s # case G_TYPE_INT64: 1463s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1463s # break; 1463s # case G_TYPE_UINT64: 1463s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1463s # break; 1463s # case G_TYPE_DOUBLE: 1463s # { 1463s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1463s # gdouble da = g_value_get_double (a); 1463s # gdouble db = g_value_get_double (b); 1463s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1463s # } 1463s # break; 1463s # case G_TYPE_STRING: 1463s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1463s # break; 1463s # case G_TYPE_VARIANT: 1463s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1463s # break; 1463s # default: 1463s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1463s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1463s # else 1463s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1463s # break; 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static void 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint G_GNUC_UNUSED, 1463s # void *marshal_data) 1463s # { 1463s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1463s # (void *data1, 1463s # GDBusMethodInvocation *arg_method_invocation, 1463s # void *data2); 1463s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1463s # GCClosure *cc = (GCClosure*) closure; 1463s # void *data1, *data2; 1463s # gboolean v_return; 1463s # 1463s # g_return_if_fail (return_value != NULL); 1463s # g_return_if_fail (n_param_values == 2); 1463s # 1463s # if (G_CCLOSURE_SWAP_DATA (closure)) 1463s # { 1463s # data1 = closure->data; 1463s # data2 = g_value_peek_pointer (param_values + 0); 1463s # } 1463s # else 1463s # { 1463s # data1 = g_value_peek_pointer (param_values + 0); 1463s # data2 = closure->data; 1463s # } 1463s # 1463s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1463s # (marshal_data ? marshal_data : cc->callback); 1463s # 1463s # v_return = 1463s # callback (data1, 1463s # g_marshal_value_peek_object (param_values + 1), 1463s # data2); 1463s # 1463s # g_value_set_boolean (return_value, v_return); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ 1463s # * Code for interface org.project.Bar.Frobnicator 1463s # * ------------------------------------------------------------------------ 1463s # */ 1463s # 1463s # /** 1463s # * SECTION:OrgProjectBarFrobnicator 1463s # * @title: OrgProjectBarFrobnicator 1463s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1463s # * 1463s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1463s # */ 1463s # 1463s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1463s # 1463s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "RandomMethod", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-random-method", 1463s # FALSE 1463s # }; 1463s # 1463s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1463s # { 1463s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "org.project.Bar.Frobnicator", 1463s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "org-project-bar-frobnicator", 1463s # }; 1463s # 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_interface_info: 1463s # * 1463s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1463s # * 1463s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1463s # */ 1463s # GDBusInterfaceInfo * 1463s # org_project_bar_frobnicator_interface_info (void) 1463s # { 1463s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_override_properties: 1463s # * @klass: The class structure for a #GObject derived class. 1463s # * @property_id_begin: The property id to assign to the first overridden property. 1463s # * 1463s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1463s # * The properties are overridden in the order they are defined. 1463s # * 1463s # * Returns: The last property id. 1463s # */ 1463s # guint 1463s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1463s # { 1463s # return property_id_begin - 1; 1463s # } 1463s # 1463s # 1463s # inline static void 1463s # org_project_bar_frobnicator_method_marshal_random_method ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicator: 1463s # * 1463s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1463s # */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorIface: 1463s # * @parent_iface: The parent interface. 1463s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1463s # * 1463s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1463s # */ 1463s # 1463s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1463s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1463s # { 1463s # /* GObject signals for incoming D-Bus method calls: */ 1463s # /** 1463s # * OrgProjectBarFrobnicator::handle-random-method: 1463s # * @object: A #OrgProjectBarFrobnicator. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-random-method", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # org_project_bar_frobnicator_method_marshal_random_method, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_call_random_method: 1463s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1463s # * 1463s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_call_random_method ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "RandomMethod", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_call_random_method_finish: 1463s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # org_project_bar_frobnicator_call_random_method_finish ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_call_random_method_sync: 1463s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # org_project_bar_frobnicator_call_random_method_sync ( 1463s # OrgProjectBarFrobnicator *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "RandomMethod", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_complete_random_method: 1463s # * @object: A #OrgProjectBarFrobnicator. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_complete_random_method ( 1463s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorProxy: 1463s # * 1463s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorProxyClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1463s # */ 1463s # 1463s # struct _OrgProjectBarFrobnicatorProxyPrivate 1463s # { 1463s # GData *qdata; 1463s # }; 1463s # 1463s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1463s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1463s # { 1463s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1463s # g_datalist_clear (&proxy->priv->qdata); 1463s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1463s # guint prop_id G_GNUC_UNUSED, 1463s # GValue *value G_GNUC_UNUSED, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1463s # guint prop_id G_GNUC_UNUSED, 1463s # const GValue *value G_GNUC_UNUSED, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1463s # const gchar *sender_name G_GNUC_UNUSED, 1463s # const gchar *signal_name, 1463s # GVariant *parameters) 1463s # { 1463s # _ExtendedGDBusSignalInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # gsize n; 1463s # guint signal_id; 1463s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1463s # if (info == NULL) 1463s # return; 1463s # num_params = g_variant_n_children (parameters); 1463s # paramv = g_new0 (GValue, num_params + 1); 1463s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_value_set_object (¶mv[0], proxy); 1463s # g_variant_iter_init (&iter, parameters); 1463s # n = 1; 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_signal_emitv (paramv, signal_id, 0, NULL); 1463s # for (n = 0; n < num_params + 1; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1463s # GVariant *changed_properties, 1463s # const gchar *const *invalidated_properties) 1463s # { 1463s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1463s # guint n; 1463s # const gchar *key; 1463s # GVariantIter *iter; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # g_variant_get (changed_properties, "a{sv}", &iter); 1463s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1463s # g_datalist_remove_data (&proxy->priv->qdata, key); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # g_variant_iter_free (iter); 1463s # for (n = 0; invalidated_properties[n] != NULL; n++) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1463s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1463s # #else 1463s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1463s # #endif 1463s # 1463s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusProxyClass *proxy_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1463s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1463s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1463s # 1463s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1463s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1463s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_sync: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_for_bus: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # org_project_bar_frobnicator_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorSkeleton: 1463s # * 1463s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * OrgProjectBarFrobnicatorSkeletonClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1463s # */ 1463s # 1463s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1463s # { 1463s # GValue *properties; 1463s # GList *changed_properties; 1463s # GSource *changed_properties_idle_source; 1463s # GMainContext *context; 1463s # GMutex lock; 1463s # }; 1463s # 1463s # static void 1463s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name, 1463s # const gchar *method_name, 1463s # GVariant *parameters, 1463s # GDBusMethodInvocation *invocation, 1463s # gpointer user_data) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1463s # _ExtendedGDBusMethodInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # guint num_extra; 1463s # gsize n; 1463s # guint signal_id; 1463s # GValue return_value = G_VALUE_INIT; 1463s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1463s # g_assert (info != NULL); 1463s # num_params = g_variant_n_children (parameters); 1463s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1463s # n = 0; 1463s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_value_set_object (¶mv[n++], skeleton); 1463s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1463s # g_value_set_object (¶mv[n++], invocation); 1463s # if (info->pass_fdlist) 1463s # { 1463s # #ifdef G_OS_UNIX 1463s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1463s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1463s # #else 1463s # g_assert_not_reached (); 1463s # #endif 1463s # } 1463s # g_variant_iter_init (&iter, parameters); 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1463s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1463s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1463s # if (!g_value_get_boolean (&return_value)) 1463s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1463s # g_value_unset (&return_value); 1463s # for (n = 0; n < num_params + num_extra; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static GVariant * 1463s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *ret; 1463s # ret = NULL; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # g_value_init (&value, pspec->value_type); 1463s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1463s # g_value_unset (&value); 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static gboolean 1463s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GVariant *variant, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # gboolean ret; 1463s # ret = FALSE; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # if (info->use_gvariant) 1463s # g_value_set_variant (&value, variant); 1463s # else 1463s # g_dbus_gvariant_to_gvalue (variant, &value); 1463s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # g_value_unset (&value); 1463s # ret = TRUE; 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1463s # { 1463s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1463s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1463s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1463s # {NULL} 1463s # }; 1463s # 1463s # static GDBusInterfaceInfo * 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return org_project_bar_frobnicator_interface_info (); 1463s # } 1463s # 1463s # static GDBusInterfaceVTable * 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1463s # } 1463s # 1463s # static GVariant * 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1463s # 1463s # GVariantBuilder builder; 1463s # guint n; 1463s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1463s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1463s # goto out; 1463s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1463s # { 1463s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1463s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1463s # { 1463s # GVariant *value; 1463s # 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); 1463s # if (value != NULL) 1463s # { 1463s # g_variant_take_ref (value); 1463s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1463s # g_variant_unref (value); 1463s # } 1463s # } 1463s # } 1463s # out: 1463s # return g_variant_builder_end (&builder); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1463s # { 1463s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1463s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1463s # if (skeleton->priv->changed_properties_idle_source != NULL) 1463s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1463s # g_main_context_unref (skeleton->priv->context); 1463s # g_mutex_clear (&skeleton->priv->lock); 1463s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1463s # #else 1463s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1463s # #endif 1463s # 1463s # g_mutex_init (&skeleton->priv->lock); 1463s # skeleton->priv->context = g_main_context_ref_thread_default (); 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusInterfaceSkeletonClass *skeleton_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1463s # 1463s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1463s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1463s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1463s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1463s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1463s # { 1463s # } 1463s # 1463s # /** 1463s # * org_project_bar_frobnicator_skeleton_new: 1463s # * 1463s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1463s # * 1463s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1463s # */ 1463s # OrgProjectBarFrobnicator * 1463s # org_project_bar_frobnicator_skeleton_new (void) 1463s # { 1463s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ 1463s # * Code for interface com.acme.Coyote 1463s # * ------------------------------------------------------------------------ 1463s # */ 1463s # 1463s # /** 1463s # * SECTION:ComAcmeCoyote 1463s # * @title: ComAcmeCoyote 1463s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1463s # * 1463s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1463s # */ 1463s # 1463s # enum 1463s # { 1463s # _COM_ACME_COYOTE_SURPRISED, 1463s # }; 1463s # 1463s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1463s # 1463s # /* ---- Introspection data for com.acme.Coyote ---- */ 1463s # 1463s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Run", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-run", 1463s # FALSE 1463s # }; 1463s # 1463s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Sleep", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-sleep", 1463s # FALSE 1463s # }; 1463s # 1463s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Attack", 1463s # NULL, 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "handle-attack", 1463s # FALSE 1463s # }; 1463s # 1463s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1463s # { 1463s # &_com_acme_coyote_method_info_run.parent_struct, 1463s # &_com_acme_coyote_method_info_sleep.parent_struct, 1463s # &_com_acme_coyote_method_info_attack.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Surprised", 1463s # NULL, 1463s # NULL 1463s # }, 1463s # "surprised" 1463s # }; 1463s # 1463s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1463s # { 1463s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "Mood", 1463s # (gchar *) "s", 1463s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1463s # NULL 1463s # }, 1463s # "mood", 1463s # FALSE, 1463s # TRUE 1463s # }; 1463s # 1463s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1463s # { 1463s # &_com_acme_coyote_property_info_mood.parent_struct, 1463s # NULL 1463s # }; 1463s # 1463s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1463s # { 1463s # { 1463s # -1, 1463s # (gchar *) "com.acme.Coyote", 1463s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1463s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1463s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1463s # NULL 1463s # }, 1463s # "com-acme-coyote", 1463s # }; 1463s # 1463s # 1463s # /** 1463s # * com_acme_coyote_interface_info: 1463s # * 1463s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1463s # * 1463s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1463s # */ 1463s # GDBusInterfaceInfo * 1463s # com_acme_coyote_interface_info (void) 1463s # { 1463s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_override_properties: 1463s # * @klass: The class structure for a #GObject derived class. 1463s # * @property_id_begin: The property id to assign to the first overridden property. 1463s # * 1463s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1463s # * The properties are overridden in the order they are defined. 1463s # * 1463s # * Returns: The last property id. 1463s # */ 1463s # guint 1463s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1463s # { 1463s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1463s # return property_id_begin - 1; 1463s # } 1463s # 1463s # 1463s # inline static void 1463s # com_acme_coyote_signal_marshal_surprised ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # g_cclosure_marshal_VOID__VOID (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # inline static void 1463s # com_acme_coyote_method_marshal_run ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # inline static void 1463s # com_acme_coyote_method_marshal_sleep ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # inline static void 1463s # com_acme_coyote_method_marshal_attack ( 1463s # GClosure *closure, 1463s # GValue *return_value, 1463s # unsigned int n_param_values, 1463s # const GValue *param_values, 1463s # void *invocation_hint, 1463s # void *marshal_data) 1463s # { 1463s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1463s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1463s # } 1463s # 1463s # 1463s # /** 1463s # * ComAcmeCoyote: 1463s # * 1463s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1463s # */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteIface: 1463s # * @parent_iface: The parent interface. 1463s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1463s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1463s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1463s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1463s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1463s # * 1463s # * Virtual table for the D-Bus interface com.acme.Coyote. 1463s # */ 1463s # 1463s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1463s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1463s # 1463s # static void 1463s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1463s # { 1463s # /* GObject signals for incoming D-Bus method calls: */ 1463s # /** 1463s # * ComAcmeCoyote::handle-run: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-run", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # com_acme_coyote_method_marshal_run, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # /** 1463s # * ComAcmeCoyote::handle-sleep: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-sleep", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # com_acme_coyote_method_marshal_sleep, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # /** 1463s # * ComAcmeCoyote::handle-attack: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: A #GDBusMethodInvocation. 1463s # * 1463s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # g_signal_new ("handle-attack", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1463s # g_signal_accumulator_true_handled, 1463s # NULL, 1463s # com_acme_coyote_method_marshal_attack, 1463s # G_TYPE_BOOLEAN, 1463s # 1, 1463s # G_TYPE_DBUS_METHOD_INVOCATION); 1463s # 1463s # /* GObject signals for received D-Bus signals: */ 1463s # /** 1463s # * ComAcmeCoyote::surprised: 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1463s # * 1463s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1463s # */ 1463s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1463s # g_signal_new ("surprised", 1463s # G_TYPE_FROM_INTERFACE (iface), 1463s # G_SIGNAL_RUN_LAST, 1463s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1463s # NULL, 1463s # NULL, 1463s # com_acme_coyote_signal_marshal_surprised, 1463s # G_TYPE_NONE, 1463s # 0); 1463s # 1463s # /* GObject properties for D-Bus properties: */ 1463s # /** 1463s # * ComAcmeCoyote:mood: 1463s # * 1463s # * Represents the D-Bus property "Mood". 1463s # * 1463s # * 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. 1463s # */ 1463s # g_object_interface_install_property (iface, 1463s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_get_mood: (skip) 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * Gets the value of the "Mood" D-Bus property. 1463s # * 1463s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1463s # * 1463s # * 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. 1463s # * 1463s # * 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. 1463s # */ 1463s # const gchar * 1463s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1463s # { 1463s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1463s # 1463s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_dup_mood: (skip) 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * Gets a copy of the "Mood" D-Bus property. 1463s # * 1463s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1463s # * 1463s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1463s # */ 1463s # gchar * 1463s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1463s # { 1463s # gchar *value; 1463s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1463s # return value; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_set_mood: (skip) 1463s # * @object: A #ComAcmeCoyote. 1463s # * @value: The value to set. 1463s # * 1463s # * Sets the "Mood" D-Bus property to @value. 1463s # * 1463s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1463s # */ 1463s # void 1463s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1463s # { 1463s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_emit_surprised: 1463s # * @object: A #ComAcmeCoyote. 1463s # * 1463s # * Emits the "Surprised" D-Bus signal. 1463s # */ 1463s # void 1463s # com_acme_coyote_emit_surprised ( 1463s # ComAcmeCoyote *object) 1463s # { 1463s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_run: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # com_acme_coyote_call_run ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "Run", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_run_finish: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_call_run(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_run_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_run_sync: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_run_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "Run", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_sleep: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # com_acme_coyote_call_sleep ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "Sleep", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_sleep_finish: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_sleep_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_sleep_sync: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_sleep_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "Sleep", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_attack: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1463s # */ 1463s # void 1463s # com_acme_coyote_call_attack ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1463s # "Attack", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # callback, 1463s # user_data); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_attack_finish: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_call_attack(). 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_attack_finish ( 1463s # ComAcmeCoyote *proxy, 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_call_attack_sync: 1463s # * @proxy: A #ComAcmeCoyoteProxy. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL. 1463s # * 1463s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1463s # * 1463s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1463s # */ 1463s # gboolean 1463s # com_acme_coyote_call_attack_sync ( 1463s # ComAcmeCoyote *proxy, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GVariant *_ret; 1463s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1463s # "Attack", 1463s # g_variant_new ("()"), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # cancellable, 1463s # error); 1463s # if (_ret == NULL) 1463s # goto _out; 1463s # g_variant_get (_ret, 1463s # "()"); 1463s # g_variant_unref (_ret); 1463s # _out: 1463s # return _ret != NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_complete_run: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # com_acme_coyote_complete_run ( 1463s # ComAcmeCoyote *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_complete_sleep: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # com_acme_coyote_complete_sleep ( 1463s # ComAcmeCoyote *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_complete_attack: 1463s # * @object: A #ComAcmeCoyote. 1463s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1463s # * 1463s # * 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. 1463s # * 1463s # * This method will free @invocation, you cannot use it afterwards. 1463s # */ 1463s # void 1463s # com_acme_coyote_complete_attack ( 1463s # ComAcmeCoyote *object G_GNUC_UNUSED, 1463s # GDBusMethodInvocation *invocation) 1463s # { 1463s # g_dbus_method_invocation_return_value (invocation, 1463s # g_variant_new ("()")); 1463s # } 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteProxy: 1463s # * 1463s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteProxyClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #ComAcmeCoyoteProxy. 1463s # */ 1463s # 1463s # struct _ComAcmeCoyoteProxyPrivate 1463s # { 1463s # GData *qdata; 1463s # }; 1463s # 1463s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1463s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # com_acme_coyote_proxy_finalize (GObject *object) 1463s # { 1463s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1463s # g_datalist_clear (&proxy->priv->qdata); 1463s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_get_property (GObject *object, 1463s # guint prop_id, 1463s # GValue *value, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *variant; 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1463s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1463s # if (info->use_gvariant) 1463s # { 1463s # g_value_set_variant (value, variant); 1463s # } 1463s # else 1463s # { 1463s # if (variant != NULL) 1463s # g_dbus_gvariant_to_gvalue (variant, value); 1463s # } 1463s # if (variant != NULL) 1463s # g_variant_unref (variant); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1463s # GAsyncResult *res, 1463s # gpointer user_data) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info = user_data; 1463s # GError *error; 1463s # GVariant *_ret; 1463s # error = NULL; 1463s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1463s # if (!_ret) 1463s # { 1463s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1463s # info->parent_struct.name, 1463s # error->message, g_quark_to_string (error->domain), error->code); 1463s # g_error_free (error); 1463s # } 1463s # else 1463s # { 1463s # g_variant_unref (_ret); 1463s # } 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_set_property (GObject *object, 1463s # guint prop_id, 1463s # const GValue *value, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *variant; 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1463s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1463s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1463s # "org.freedesktop.DBus.Properties.Set", 1463s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1463s # G_DBUS_CALL_FLAGS_NONE, 1463s # -1, 1463s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1463s # g_variant_unref (variant); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1463s # const gchar *sender_name G_GNUC_UNUSED, 1463s # const gchar *signal_name, 1463s # GVariant *parameters) 1463s # { 1463s # _ExtendedGDBusSignalInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # gsize n; 1463s # guint signal_id; 1463s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1463s # if (info == NULL) 1463s # return; 1463s # num_params = g_variant_n_children (parameters); 1463s # paramv = g_new0 (GValue, num_params + 1); 1463s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1463s # g_value_set_object (¶mv[0], proxy); 1463s # g_variant_iter_init (&iter, parameters); 1463s # n = 1; 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1463s # g_signal_emitv (paramv, signal_id, 0, NULL); 1463s # for (n = 0; n < num_params + 1; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1463s # GVariant *changed_properties, 1463s # const gchar *const *invalidated_properties) 1463s # { 1463s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1463s # guint n; 1463s # const gchar *key; 1463s # GVariantIter *iter; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # g_variant_get (changed_properties, "a{sv}", &iter); 1463s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1463s # g_datalist_remove_data (&proxy->priv->qdata, key); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # g_variant_iter_free (iter); 1463s # for (n = 0; invalidated_properties[n] != NULL; n++) 1463s # { 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1463s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1463s # if (info != NULL) 1463s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1463s # } 1463s # } 1463s # 1463s # static const gchar * 1463s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1463s # { 1463s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1463s # GVariant *variant; 1463s # const gchar *value = NULL; 1463s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1463s # if (variant != NULL) 1463s # { 1463s # value = g_variant_get_string (variant, NULL); 1463s # g_variant_unref (variant); 1463s # } 1463s # return value; 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1463s # #else 1463s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1463s # #endif 1463s # 1463s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusProxyClass *proxy_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1463s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1463s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1463s # 1463s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1463s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1463s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1463s # 1463s # com_acme_coyote_override_properties (gobject_class, 1); 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1463s # { 1463s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # com_acme_coyote_proxy_new ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_sync: 1463s # * @connection: A #GDBusConnection. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_sync ( 1463s # GDBusConnection *connection, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_for_bus: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1463s # * @user_data: User data to pass to @callback. 1463s # * 1463s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1463s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1463s # * 1463s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1463s # */ 1463s # void 1463s # com_acme_coyote_proxy_new_for_bus ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GAsyncReadyCallback callback, 1463s # gpointer user_data) 1463s # { 1463s # 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); 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_for_bus_finish: 1463s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_for_bus_finish ( 1463s # GAsyncResult *res, 1463s # GError **error) 1463s # { 1463s # GObject *ret; 1463s # GObject *source_object; 1463s # source_object = g_async_result_get_source_object (res); 1463s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1463s # g_object_unref (source_object); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_proxy_new_for_bus_sync: 1463s # * @bus_type: A #GBusType. 1463s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1463s # * @name: A bus name (well-known or unique). 1463s # * @object_path: An object path. 1463s # * @cancellable: (nullable): A #GCancellable or %NULL. 1463s # * @error: Return location for error or %NULL 1463s # * 1463s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1463s # * 1463s # * The calling thread is blocked until a reply is received. 1463s # * 1463s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_proxy_new_for_bus_sync ( 1463s # GBusType bus_type, 1463s # GDBusProxyFlags flags, 1463s # const gchar *name, 1463s # const gchar *object_path, 1463s # GCancellable *cancellable, 1463s # GError **error) 1463s # { 1463s # GInitable *ret; 1463s # 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); 1463s # if (ret != NULL) 1463s # return COM_ACME_COYOTE (ret); 1463s # else 1463s # return NULL; 1463s # } 1463s # 1463s # 1463s # /* ------------------------------------------------------------------------ */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteSkeleton: 1463s # * 1463s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1463s # */ 1463s # 1463s # /** 1463s # * ComAcmeCoyoteSkeletonClass: 1463s # * @parent_class: The parent class. 1463s # * 1463s # * Class structure for #ComAcmeCoyoteSkeleton. 1463s # */ 1463s # 1463s # struct _ComAcmeCoyoteSkeletonPrivate 1463s # { 1463s # GValue *properties; 1463s # GList *changed_properties; 1463s # GSource *changed_properties_idle_source; 1463s # GMainContext *context; 1463s # GMutex lock; 1463s # }; 1463s # 1463s # static void 1463s # _com_acme_coyote_skeleton_handle_method_call ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name, 1463s # const gchar *method_name, 1463s # GVariant *parameters, 1463s # GDBusMethodInvocation *invocation, 1463s # gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # _ExtendedGDBusMethodInfo *info; 1463s # GVariantIter iter; 1463s # GVariant *child; 1463s # GValue *paramv; 1463s # gsize num_params; 1463s # guint num_extra; 1463s # gsize n; 1463s # guint signal_id; 1463s # GValue return_value = G_VALUE_INIT; 1463s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1463s # g_assert (info != NULL); 1463s # num_params = g_variant_n_children (parameters); 1463s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1463s # n = 0; 1463s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1463s # g_value_set_object (¶mv[n++], skeleton); 1463s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1463s # g_value_set_object (¶mv[n++], invocation); 1463s # if (info->pass_fdlist) 1463s # { 1463s # #ifdef G_OS_UNIX 1463s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1463s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1463s # #else 1463s # g_assert_not_reached (); 1463s # #endif 1463s # } 1463s # g_variant_iter_init (&iter, parameters); 1463s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1463s # { 1463s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1463s # if (arg_info->use_gvariant) 1463s # { 1463s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1463s # g_value_set_variant (¶mv[n], child); 1463s # n++; 1463s # } 1463s # else 1463s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1463s # g_variant_unref (child); 1463s # } 1463s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1463s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1463s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1463s # if (!g_value_get_boolean (&return_value)) 1463s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1463s # g_value_unset (&return_value); 1463s # for (n = 0; n < num_params + num_extra; n++) 1463s # g_value_unset (¶mv[n]); 1463s # g_free (paramv); 1463s # } 1463s # 1463s # static GVariant * 1463s # _com_acme_coyote_skeleton_handle_get_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # GVariant *ret; 1463s # ret = NULL; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # g_value_init (&value, pspec->value_type); 1463s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1463s # g_value_unset (&value); 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static gboolean 1463s # _com_acme_coyote_skeleton_handle_set_property ( 1463s # GDBusConnection *connection G_GNUC_UNUSED, 1463s # const gchar *sender G_GNUC_UNUSED, 1463s # const gchar *object_path G_GNUC_UNUSED, 1463s # const gchar *interface_name G_GNUC_UNUSED, 1463s # const gchar *property_name, 1463s # GVariant *variant, 1463s # GError **error, 1463s # gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # GValue value = G_VALUE_INIT; 1463s # GParamSpec *pspec; 1463s # _ExtendedGDBusPropertyInfo *info; 1463s # gboolean ret; 1463s # ret = FALSE; 1463s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1463s # g_assert (info != NULL); 1463s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1463s # if (pspec == NULL) 1463s # { 1463s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1463s # } 1463s # else 1463s # { 1463s # if (info->use_gvariant) 1463s # g_value_set_variant (&value, variant); 1463s # else 1463s # g_dbus_gvariant_to_gvalue (variant, &value); 1463s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1463s # g_value_unset (&value); 1463s # ret = TRUE; 1463s # } 1463s # return ret; 1463s # } 1463s # 1463s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1463s # { 1463s # _com_acme_coyote_skeleton_handle_method_call, 1463s # _com_acme_coyote_skeleton_handle_get_property, 1463s # _com_acme_coyote_skeleton_handle_set_property, 1463s # {NULL} 1463s # }; 1463s # 1463s # static GDBusInterfaceInfo * 1463s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return com_acme_coyote_interface_info (); 1463s # } 1463s # 1463s # static GDBusInterfaceVTable * 1463s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1463s # { 1463s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1463s # } 1463s # 1463s # static GVariant * 1463s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1463s # 1463s # GVariantBuilder builder; 1463s # guint n; 1463s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1463s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1463s # goto out; 1463s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1463s # { 1463s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1463s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1463s # { 1463s # GVariant *value; 1463s # 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); 1463s # if (value != NULL) 1463s # { 1463s # g_variant_take_ref (value); 1463s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1463s # g_variant_unref (value); 1463s # } 1463s # } 1463s # } 1463s # out: 1463s # return g_variant_builder_end (&builder); 1463s # } 1463s # 1463s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1463s # gboolean emit_changed = FALSE; 1463s # 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # if (skeleton->priv->changed_properties_idle_source != NULL) 1463s # { 1463s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1463s # skeleton->priv->changed_properties_idle_source = NULL; 1463s # emit_changed = TRUE; 1463s # } 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # 1463s # if (emit_changed) 1463s # _com_acme_coyote_emit_changed (skeleton); 1463s # } 1463s # 1463s # static void 1463s # _com_acme_coyote_on_signal_surprised ( 1463s # ComAcmeCoyote *object) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # 1463s # GList *connections, *l; 1463s # GVariant *signal_variant; 1463s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1463s # 1463s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1463s # for (l = connections; l != NULL; l = l->next) 1463s # { 1463s # GDBusConnection *connection = l->data; 1463s # g_dbus_connection_emit_signal (connection, 1463s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1463s # signal_variant, NULL); 1463s # } 1463s # g_variant_unref (signal_variant); 1463s # g_list_free_full (connections, g_object_unref); 1463s # } 1463s # 1463s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1463s # 1463s # #else 1463s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1463s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1463s # 1463s # #endif 1463s # static void 1463s # com_acme_coyote_skeleton_finalize (GObject *object) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # guint n; 1463s # for (n = 0; n < 1; n++) 1463s # g_value_unset (&skeleton->priv->properties[n]); 1463s # g_free (skeleton->priv->properties); 1463s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1463s # if (skeleton->priv->changed_properties_idle_source != NULL) 1463s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1463s # g_main_context_unref (skeleton->priv->context); 1463s # g_mutex_clear (&skeleton->priv->lock); 1463s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_get_property (GObject *object, 1463s # guint prop_id, 1463s # GValue *value, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # } 1463s # 1463s # static gboolean 1463s # _com_acme_coyote_emit_changed (gpointer user_data) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1463s # GList *l; 1463s # GVariantBuilder builder; 1463s # GVariantBuilder invalidated_builder; 1463s # guint num_changes; 1463s # 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1463s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1463s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1463s # { 1463s # ChangedProperty *cp = l->data; 1463s # GVariant *variant; 1463s # const GValue *cur_value; 1463s # 1463s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1463s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1463s # { 1463s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1463s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1463s # g_variant_unref (variant); 1463s # num_changes++; 1463s # } 1463s # } 1463s # if (num_changes > 0) 1463s # { 1463s # GList *connections, *ll; 1463s # GVariant *signal_variant; 1463s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1463s # &builder, &invalidated_builder)); 1463s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1463s # for (ll = connections; ll != NULL; ll = ll->next) 1463s # { 1463s # GDBusConnection *connection = ll->data; 1463s # 1463s # g_dbus_connection_emit_signal (connection, 1463s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1463s # "org.freedesktop.DBus.Properties", 1463s # "PropertiesChanged", 1463s # signal_variant, 1463s # NULL); 1463s # } 1463s # g_variant_unref (signal_variant); 1463s # g_list_free_full (connections, g_object_unref); 1463s # } 1463s # else 1463s # { 1463s # g_variant_builder_clear (&builder); 1463s # g_variant_builder_clear (&invalidated_builder); 1463s # } 1463s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1463s # skeleton->priv->changed_properties = NULL; 1463s # skeleton->priv->changed_properties_idle_source = NULL; 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # return FALSE; 1463s # } 1463s # 1463s # static void 1463s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1463s # { 1463s # ChangedProperty *cp; 1463s # GList *l; 1463s # cp = NULL; 1463s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1463s # { 1463s # ChangedProperty *i_cp = l->data; 1463s # if (i_cp->info == info) 1463s # { 1463s # cp = i_cp; 1463s # break; 1463s # } 1463s # } 1463s # if (cp == NULL) 1463s # { 1463s # cp = g_new0 (ChangedProperty, 1); 1463s # cp->prop_id = prop_id; 1463s # cp->info = info; 1463s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1463s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1463s # g_value_copy (orig_value, &cp->orig_value); 1463s # } 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_notify (GObject *object, 1463s # GParamSpec *pspec G_GNUC_UNUSED) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # if (skeleton->priv->changed_properties != NULL && 1463s # skeleton->priv->changed_properties_idle_source == NULL) 1463s # { 1463s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1463s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1463s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1463s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1463s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1463s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1463s # } 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_set_property (GObject *object, 1463s # guint prop_id, 1463s # const GValue *value, 1463s # GParamSpec *pspec) 1463s # { 1463s # const _ExtendedGDBusPropertyInfo *info; 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1463s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # g_object_freeze_notify (object); 1463s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1463s # { 1463s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1463s # info->emits_changed_signal) 1463s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1463s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1463s # g_object_notify_by_pspec (object, pspec); 1463s # } 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # g_object_thaw_notify (object); 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1463s # { 1463s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1463s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1463s # #else 1463s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1463s # #endif 1463s # 1463s # g_mutex_init (&skeleton->priv->lock); 1463s # skeleton->priv->context = g_main_context_ref_thread_default (); 1463s # skeleton->priv->properties = g_new0 (GValue, 1); 1463s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1463s # } 1463s # 1463s # static const gchar * 1463s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1463s # { 1463s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1463s # const gchar *value; 1463s # g_mutex_lock (&skeleton->priv->lock); 1463s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1463s # g_mutex_unlock (&skeleton->priv->lock); 1463s # return value; 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1463s # { 1463s # GObjectClass *gobject_class; 1463s # GDBusInterfaceSkeletonClass *skeleton_class; 1463s # 1463s # gobject_class = G_OBJECT_CLASS (klass); 1463s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1463s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1463s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1463s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1463s # 1463s # 1463s # com_acme_coyote_override_properties (gobject_class, 1); 1463s # 1463s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1463s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1463s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1463s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1463s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1463s # 1463s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1463s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1463s # #endif 1463s # } 1463s # 1463s # static void 1463s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1463s # { 1463s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1463s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1463s # } 1463s # 1463s # /** 1463s # * com_acme_coyote_skeleton_new: 1463s # * 1463s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1463s # * 1463s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1463s # */ 1463s # ComAcmeCoyote * 1463s # com_acme_coyote_skeleton_new (void) 1463s # { 1463s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1463s # } 1464s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1464s # tmpdir: /tmp/tmp6yb_8bla 1464s # codegen: /usr/bin/gdbus-codegen 1464s # /tmp/tmp6yb_8bla/tmp5cg3bel9.xml: 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6yb_8bla/tmp5cg3bel9.xml', '--output', '-', '--header'] 1464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1464s # Output: /* 1464s # * This file is generated by gdbus-codegen, do not modify it. 1464s # * 1464s # * The license of this code is the same as for the D-Bus interface description 1464s # * it was derived from. Note that it links to GLib, so must comply with the 1464s # * LGPL linking clauses. 1464s # */ 1464s # 1464s # #ifndef __STDOUT__ 1464s # #define __STDOUT__ 1464s # 1464s # #include 1464s # 1464s # G_BEGIN_DECLS 1464s # 1464s # 1464s # /* ------------------------------------------------------------------------ */ 1464s # /* Declarations for FDPassing */ 1464s # 1464s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1464s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1464s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1464s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1464s # 1464s # struct _FDPassing; 1464s # typedef struct _FDPassing FDPassing; 1464s # typedef struct _FDPassingIface FDPassingIface; 1464s # 1464s # struct _FDPassingIface 1464s # { 1464s # GTypeInterface parent_iface; 1464s # 1464s # gboolean (*handle_hello_fd) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # const gchar *arg_greeting); 1464s # 1464s # gboolean (*handle_no_annotation) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale); 1464s # 1464s # gboolean (*handle_no_annotation_nested) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GVariant *arg_files); 1464s # 1464s # }; 1464s # 1464s # GType fdpassing_get_type (void) G_GNUC_CONST; 1464s # 1464s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1464s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1464s # 1464s # 1464s # /* D-Bus method call completion functions: */ 1464s # void fdpassing_complete_hello_fd ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # const gchar *response); 1464s # 1464s # void fdpassing_complete_no_annotation ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GVariant *response, 1464s # const gchar *response_locale); 1464s # 1464s # void fdpassing_complete_no_annotation_nested ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation); 1464s # 1464s # 1464s # 1464s # /* D-Bus method calls: */ 1464s # void fdpassing_call_hello_fd ( 1464s # FDPassing *proxy, 1464s # const gchar *arg_greeting, 1464s # GUnixFDList *fd_list, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_hello_fd_finish ( 1464s # FDPassing *proxy, 1464s # gchar **out_response, 1464s # GUnixFDList **out_fd_list, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_hello_fd_sync ( 1464s # FDPassing *proxy, 1464s # const gchar *arg_greeting, 1464s # GUnixFDList *fd_list, 1464s # gchar **out_response, 1464s # GUnixFDList **out_fd_list, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_call_no_annotation ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_no_annotation_finish ( 1464s # FDPassing *proxy, 1464s # GVariant **out_response, 1464s # gchar **out_response_locale, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_no_annotation_sync ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale, 1464s # GVariant **out_response, 1464s # gchar **out_response_locale, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_call_no_annotation_nested ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_files, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_no_annotation_nested_finish ( 1464s # FDPassing *proxy, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_no_annotation_nested_sync ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_files, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # 1464s # 1464s # /* ---- */ 1464s # 1464s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1464s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1464s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1464s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1464s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1464s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1464s # 1464s # typedef struct _FDPassingProxy FDPassingProxy; 1464s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1464s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1464s # 1464s # struct _FDPassingProxy 1464s # { 1464s # /*< private >*/ 1464s # GDBusProxy parent_instance; 1464s # FDPassingProxyPrivate *priv; 1464s # }; 1464s # 1464s # struct _FDPassingProxyClass 1464s # { 1464s # GDBusProxyClass parent_class; 1464s # }; 1464s # 1464s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1464s # 1464s # #if GLIB_CHECK_VERSION(2, 44, 0) 1464s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1464s # #endif 1464s # 1464s # void fdpassing_proxy_new ( 1464s # GDBusConnection *connection, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # FDPassing *fdpassing_proxy_new_finish ( 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # FDPassing *fdpassing_proxy_new_sync ( 1464s # GDBusConnection *connection, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_proxy_new_for_bus ( 1464s # GBusType bus_type, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1464s # GBusType bus_type, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # 1464s # /* ---- */ 1464s # 1464s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1464s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1464s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1464s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1464s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1464s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1464s # 1464s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1464s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1464s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1464s # 1464s # struct _FDPassingSkeleton 1464s # { 1464s # /*< private >*/ 1464s # GDBusInterfaceSkeleton parent_instance; 1464s # FDPassingSkeletonPrivate *priv; 1464s # }; 1464s # 1464s # struct _FDPassingSkeletonClass 1464s # { 1464s # GDBusInterfaceSkeletonClass parent_class; 1464s # }; 1464s # 1464s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1464s # 1464s # #if GLIB_CHECK_VERSION(2, 44, 0) 1464s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1464s # #endif 1464s # 1464s # FDPassing *fdpassing_skeleton_new (void); 1464s # 1464s # 1464s # G_END_DECLS 1464s # 1464s # #endif /* __STDOUT__ */ 1464s # /tmp/tmp6yb_8bla/tmpzp7l6t86.xml: 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6yb_8bla/tmpzp7l6t86.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1464s # Output: /* 1464s # * This file is generated by gdbus-codegen, do not modify it. 1464s # * 1464s # * The license of this code is the same as for the D-Bus interface description 1464s # * it was derived from. Note that it links to GLib, so must comply with the 1464s # * LGPL linking clauses. 1464s # */ 1464s # 1464s # #ifndef __STDOUT__ 1464s # #define __STDOUT__ 1464s # 1464s # #include 1464s # 1464s # G_BEGIN_DECLS 1464s # 1464s # 1464s # /* ------------------------------------------------------------------------ */ 1464s # /* Declarations for FDPassing */ 1464s # 1464s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1464s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1464s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1464s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1464s # 1464s # struct _FDPassing; 1464s # typedef struct _FDPassing FDPassing; 1464s # typedef struct _FDPassingIface FDPassingIface; 1464s # 1464s # struct _FDPassingIface 1464s # { 1464s # GTypeInterface parent_iface; 1464s # 1464s # gboolean (*handle_hello_fd) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # const gchar *arg_greeting); 1464s # 1464s # gboolean (*handle_no_annotation) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale); 1464s # 1464s # gboolean (*handle_no_annotation_nested) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GVariant *arg_files); 1464s # 1464s # }; 1464s # 1464s # GType fdpassing_get_type (void) G_GNUC_CONST; 1464s # 1464s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1464s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1464s # 1464s # 1464s # /* D-Bus method call completion functions: */ 1464s # void fdpassing_complete_hello_fd ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # const gchar *response); 1464s # 1464s # void fdpassing_complete_no_annotation ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GVariant *response, 1464s # const gchar *response_locale); 1464s # 1464s # void fdpassing_complete_no_annotation_nested ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation); 1464s # 1464s # 1464s # 1464s # /* D-Bus method calls: */ 1464s # void fdpassing_call_hello_fd ( 1464s # FDPassing *proxy, 1464s # const gchar *arg_greeting, 1464s # GUnixFDList *fd_list, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_hello_fd_finish ( 1464s # FDPassing *proxy, 1464s # gchar **out_response, 1464s # GUnixFDList **out_fd_list, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_hello_fd_sync ( 1464s # FDPassing *proxy, 1464s # const gchar *arg_greeting, 1464s # GUnixFDList *fd_list, 1464s # gchar **out_response, 1464s # GUnixFDList **out_fd_list, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_call_no_annotation ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_no_annotation_finish ( 1464s # FDPassing *proxy, 1464s # GVariant **out_response, 1464s # gchar **out_response_locale, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_no_annotation_sync ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale, 1464s # GVariant **out_response, 1464s # gchar **out_response_locale, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_call_no_annotation_nested ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_files, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_no_annotation_nested_finish ( 1464s # FDPassing *proxy, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_no_annotation_nested_sync ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_files, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # 1464s # 1464s # /* ---- */ 1464s # 1464s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1464s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1464s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1464s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1464s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1464s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1464s # 1464s # typedef struct _FDPassingProxy FDPassingProxy; 1464s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1464s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1464s # 1464s # struct _FDPassingProxy 1464s # { 1464s # /*< private >*/ 1464s # GDBusProxy parent_instance; 1464s # FDPassingProxyPrivate *priv; 1464s # }; 1464s # 1464s # struct _FDPassingProxyClass 1464s # { 1464s # GDBusProxyClass parent_class; 1464s # }; 1464s # 1464s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1464s # 1464s # #if GLIB_CHECK_VERSION(2, 44, 0) 1464s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1464s # #endif 1464s # 1464s # void fdpassing_proxy_new ( 1464s # GDBusConnection *connection, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # FDPassing *fdpassing_proxy_new_finish ( 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # FDPassing *fdpassing_proxy_new_sync ( 1464s # GDBusConnection *connection, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_proxy_new_for_bus ( 1464s # GBusType bus_type, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1464s # GBusType bus_type, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # 1464s # /* ---- */ 1464s # 1464s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1464s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1464s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1464s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1464s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1464s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1464s # 1464s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1464s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1464s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1464s # 1464s # struct _FDPassingSkeleton 1464s # { 1464s # /*< private >*/ 1464s # GDBusInterfaceSkeleton parent_instance; 1464s # FDPassingSkeletonPrivate *priv; 1464s # }; 1464s # 1464s # struct _FDPassingSkeletonClass 1464s # { 1464s # GDBusInterfaceSkeletonClass parent_class; 1464s # }; 1464s # 1464s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1464s # 1464s # #if GLIB_CHECK_VERSION(2, 44, 0) 1464s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1464s # #endif 1464s # 1464s # FDPassing *fdpassing_skeleton_new (void); 1464s # 1464s # 1464s # G_END_DECLS 1464s # 1464s # #endif /* __STDOUT__ */ 1464s # /tmp/tmp6yb_8bla/tmpwn679uc2.xml: 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # 1464s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6yb_8bla/tmpwn679uc2.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1464s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1464s # Output: /* 1464s # * This file is generated by gdbus-codegen, do not modify it. 1464s # * 1464s # * The license of this code is the same as for the D-Bus interface description 1464s # * it was derived from. Note that it links to GLib, so must comply with the 1464s # * LGPL linking clauses. 1464s # */ 1464s # 1464s # #ifndef __STDOUT__ 1464s # #define __STDOUT__ 1464s # 1464s # #include 1464s # 1464s # G_BEGIN_DECLS 1464s # 1464s # 1464s # /* ------------------------------------------------------------------------ */ 1464s # /* Declarations for FDPassing */ 1464s # 1464s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1464s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1464s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1464s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1464s # 1464s # struct _FDPassing; 1464s # typedef struct _FDPassing FDPassing; 1464s # typedef struct _FDPassingIface FDPassingIface; 1464s # 1464s # struct _FDPassingIface 1464s # { 1464s # GTypeInterface parent_iface; 1464s # 1464s # gboolean (*handle_hello_fd) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # const gchar *arg_greeting); 1464s # 1464s # gboolean (*handle_no_annotation) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale); 1464s # 1464s # gboolean (*handle_no_annotation_nested) ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # GVariant *arg_files); 1464s # 1464s # }; 1464s # 1464s # GType fdpassing_get_type (void) G_GNUC_CONST; 1464s # 1464s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1464s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1464s # 1464s # 1464s # /* D-Bus method call completion functions: */ 1464s # void fdpassing_complete_hello_fd ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # const gchar *response); 1464s # 1464s # void fdpassing_complete_no_annotation ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list, 1464s # GVariant *response, 1464s # const gchar *response_locale); 1464s # 1464s # void fdpassing_complete_no_annotation_nested ( 1464s # FDPassing *object, 1464s # GDBusMethodInvocation *invocation, 1464s # GUnixFDList *fd_list); 1464s # 1464s # 1464s # 1464s # /* D-Bus method calls: */ 1464s # void fdpassing_call_hello_fd ( 1464s # FDPassing *proxy, 1464s # const gchar *arg_greeting, 1464s # GDBusCallFlags call_flags, 1464s # gint timeout_msec, 1464s # GUnixFDList *fd_list, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_hello_fd_finish ( 1464s # FDPassing *proxy, 1464s # gchar **out_response, 1464s # GUnixFDList **out_fd_list, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_hello_fd_sync ( 1464s # FDPassing *proxy, 1464s # const gchar *arg_greeting, 1464s # GDBusCallFlags call_flags, 1464s # gint timeout_msec, 1464s # GUnixFDList *fd_list, 1464s # gchar **out_response, 1464s # GUnixFDList **out_fd_list, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_call_no_annotation ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale, 1464s # GDBusCallFlags call_flags, 1464s # gint timeout_msec, 1464s # GUnixFDList *fd_list, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_no_annotation_finish ( 1464s # FDPassing *proxy, 1464s # GVariant **out_response, 1464s # gchar **out_response_locale, 1464s # GUnixFDList **out_fd_list, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_no_annotation_sync ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_greeting, 1464s # const gchar *arg_greeting_locale, 1464s # GDBusCallFlags call_flags, 1464s # gint timeout_msec, 1464s # GUnixFDList *fd_list, 1464s # GVariant **out_response, 1464s # gchar **out_response_locale, 1464s # GUnixFDList **out_fd_list, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_call_no_annotation_nested ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_files, 1464s # GDBusCallFlags call_flags, 1464s # gint timeout_msec, 1464s # GUnixFDList *fd_list, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # 1464s # gboolean fdpassing_call_no_annotation_nested_finish ( 1464s # FDPassing *proxy, 1464s # GUnixFDList **out_fd_list, 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # 1464s # gboolean fdpassing_call_no_annotation_nested_sync ( 1464s # FDPassing *proxy, 1464s # GVariant *arg_files, 1464s # GDBusCallFlags call_flags, 1464s # gint timeout_msec, 1464s # GUnixFDList *fd_list, 1464s # GUnixFDList **out_fd_list, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # 1464s # 1464s # /* ---- */ 1464s # 1464s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1464s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1464s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1464s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1464s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1464s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1464s # 1464s # typedef struct _FDPassingProxy FDPassingProxy; 1464s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1464s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1464s # 1464s # struct _FDPassingProxy 1464s # { 1464s # /*< private >*/ 1464s # GDBusProxy parent_instance; 1464s # FDPassingProxyPrivate *priv; 1464s # }; 1464s # 1464s # struct _FDPassingProxyClass 1464s # { 1464s # GDBusProxyClass parent_class; 1464s # }; 1464s # 1464s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1464s # 1464s # #if GLIB_CHECK_VERSION(2, 44, 0) 1464s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1464s # #endif 1464s # 1464s # void fdpassing_proxy_new ( 1464s # GDBusConnection *connection, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # FDPassing *fdpassing_proxy_new_finish ( 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # FDPassing *fdpassing_proxy_new_sync ( 1464s # GDBusConnection *connection, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # void fdpassing_proxy_new_for_bus ( 1464s # GBusType bus_type, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GAsyncReadyCallback callback, 1464s # gpointer user_data); 1464s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1464s # GAsyncResult *res, 1464s # GError **error); 1464s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1464s # GBusType bus_type, 1464s # GDBusProxyFlags flags, 1464s # const gchar *name, 1464s # const gchar *object_path, 1464s # GCancellable *cancellable, 1464s # GError **error); 1464s # 1464s # 1464s # /* ---- */ 1464s # 1464s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1464s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1464s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1464s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1464s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1464s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1464s # 1464s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1464s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1464s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1464s # 1464s # struct _FDPassingSkeleton 1464s # { 1464s # /*< private >*/ 1464s # GDBusInterfaceSkeleton parent_instance; 1464s # FDPassingSkeletonPrivate *priv; 1464s # }; 1464s # 1464s # struct _FDPassingSkeletonClass 1464s # { 1464s # GDBusInterfaceSkeletonClass parent_class; 1464s # }; 1464s # 1464s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1464s # 1464s # #if GLIB_CHECK_VERSION(2, 44, 0) 1464s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1464s # #endif 1464s # 1464s # FDPassing *fdpassing_skeleton_new (void); 1464s # 1464s # 1464s # G_END_DECLS 1464s # 1464s # #endif /* __STDOUT__ */ 1464s 1..39 1464s ok - glib/codegen.py.test 1464s # Running test: glib/environment.test 1464s TAP version 13 1464s # random seed: R02S0201e119c1c1653a8a3cf3cc8c10ba37 1464s 1..6 1464s # Start of environ tests 1464s # /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. 1464s ok 1 /environ/listenv 1464s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1464s ok 2 /environ/getenv 1464s ok 3 /environ/setenv 1464s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1464s ok 4 /environ/array 1464s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1464s ok 5 /environ/null 1464s # /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. 1464s ok 6 /environ/case 1464s # End of environ tests 1464s ok - glib/environment.test 1464s # Running test: glib/scannerapi.test 1464s TAP version 13 1464s # random seed: R02S498a2a3288f08a9dfe58ed7f115dac5e 1464s 1..4 1464s # Start of scanner tests 1464s ok 1 /scanner/warn 1464s ok 2 /scanner/error 1464s ok 3 /scanner/symbols 1464s ok 4 /scanner/tokens 1464s # End of scanner tests 1464s ok - glib/scannerapi.test 1464s # Running test: glib/async-splice-output-stream.test 1464s TAP version 13 1464s # random seed: R02Se72a72b9afd735f6d6b2eca005aca39e 1464s 1..5 1464s # Start of async-splice tests 1464s ok 1 /async-splice/copy-chunks 1464s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1464s ok 2 /async-splice/copy-chunks-threaded-input 1464s ok 3 /async-splice/copy-chunks-threaded-output 1464s ok 4 /async-splice/copy-chunks-threaded 1464s ok 5 /async-splice/cancelled 1464s # End of async-splice tests 1464s ok - glib/async-splice-output-stream.test 1464s # Running test: glib/dynamictests.test 1464s TAP version 13 1464s # random seed: R02Sf0e14f59f2b6cada3cc77c2105a57e5b 1464s 1..2 1464s # Start of GObject tests 1464s ok 1 /GObject/threaded-dynamic-ref-unref-init 1464s ok 2 /GObject/dynamic-interface-properties 1464s # End of GObject tests 1464s ok - glib/dynamictests.test 1464s # Running test: glib/basics-gobject.test 1464s TAP version 13 1464s # random seed: R02S93c3e49a25c2760613a7b57b45832cb2 1464s 1..1 1464s # Start of gobject tests 1464s # private data during initialization: 54321 == 54321 1464s # MAIN: emit test-signal: 1464s # ::test_signal default_handler called 1464s # ::test_signal default_handler called 1464s # ::test_signal default_handler called 1464s # signal return: "" 1464s # MAIN: call iface print-string on test and derived object: 1464s # Iface-FOO: "iface-string-from-test-type" from 0xb8d64f7967a0 1464s # Iface-BAR: "iface-string-from-derived-type" from 0xb8d64f7966c0 1464s # chaining: 1464s # Iface-FOO: "iface-string-from-derived-type" from 0xb8d64f7966c0 1464s # private data after initialization: 54321 == 54321 1464s ok 1 /gobject/basics 1464s # End of gobject tests 1464s ok - glib/basics-gobject.test 1464s # Running test: glib/sequence.test 1464s TAP version 13 1464s # random seed: R02S5ee27e0677bd04a7224fe313cad027ac 1464s 1..16 1464s # Start of sequence tests 1464s ok 1 /sequence/out-of-range-jump 1464s ok 2 /sequence/iter-move 1464s ok 3 /sequence/insert-sorted-non-pointer 1465s ok 4 /sequence/stable-sort 1465s ok 5 /sequence/is_empty 1465s # Start of random tests 1466s ok 6 /sequence/random/seed:825541564 1466s # slow test /sequence/random/seed:825541564 executed in 1.37 secs 1467s ok 7 /sequence/random/seed:801678400 1467s # slow test /sequence/random/seed:801678400 executed in 1.31 secs 1468s # Executing: glib/sequence.test 1469s ok 8 /sequence/random/seed:1477639090 1469s # slow test /sequence/random/seed:1477639090 executed in 1.36 secs 1470s ok 9 /sequence/random/seed:3369132895 1470s # slow test /sequence/random/seed:3369132895 executed in 1.22 secs 1471s ok 10 /sequence/random/seed:1192944867 1471s # slow test /sequence/random/seed:1192944867 executed in 1.25 secs 1472s ok 11 /sequence/random/seed:770458294 1472s # slow test /sequence/random/seed:770458294 executed in 1.31 secs 1473s # Executing: glib/sequence.test 1474s ok 12 /sequence/random/seed:1099575817 1474s # slow test /sequence/random/seed:1099575817 executed in 1.27 secs 1475s ok 13 /sequence/random/seed:590523467 1475s # slow test /sequence/random/seed:590523467 executed in 1.30 secs 1476s ok 14 /sequence/random/seed:3583571454 1476s # slow test /sequence/random/seed:3583571454 executed in 1.31 secs 1478s ok 15 /sequence/random/seed:579241222 1478s # slow test /sequence/random/seed:579241222 executed in 1.31 secs 1478s # Executing: glib/sequence.test 1479s ok 16 /sequence/random/seed:2071605511 1479s # slow test /sequence/random/seed:2071605511 executed in 1.33 secs 1479s # End of random tests 1479s # End of sequence tests 1479s ok - glib/sequence.test 1479s # Running test: glib/error.test 1479s TAP version 13 1479s # random seed: R02S4b6a17c530bbcc65270cb044f1b6ef83 1479s 1..3 1479s # Start of error tests 1479s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3T09J2/error/from-errno/.dirs/home 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3T09J2/error/from-errno/.dirs/cache 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3T09J2/error/from-errno/.dirs/system-config1:/tmp/test_error_3T09J2/error/from-errno/.dirs/system-config2 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3T09J2/error/from-errno/.dirs/config 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3T09J2/error/from-errno/.dirs/system-data1:/tmp/test_error_3T09J2/error/from-errno/.dirs/system-data2 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3T09J2/error/from-errno/.dirs/data 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3T09J2/error/from-errno/.dirs/state 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3T09J2/error/from-errno/.dirs/runtime 1479s ok 1 /error/from-errno 1479s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3T09J2/error/from-file-error/.dirs/home 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3T09J2/error/from-file-error/.dirs/cache 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3T09J2/error/from-file-error/.dirs/system-config1:/tmp/test_error_3T09J2/error/from-file-error/.dirs/system-config2 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3T09J2/error/from-file-error/.dirs/config 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3T09J2/error/from-file-error/.dirs/system-data1:/tmp/test_error_3T09J2/error/from-file-error/.dirs/system-data2 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3T09J2/error/from-file-error/.dirs/data 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3T09J2/error/from-file-error/.dirs/state 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3T09J2/error/from-file-error/.dirs/runtime 1479s ok 2 /error/from-file-error 1479s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/home 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/cache 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_3T09J2/error/from-win32-error/.dirs/system-config2 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/config 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_3T09J2/error/from-win32-error/.dirs/system-data2 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/data 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/state 1479s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3T09J2/error/from-win32-error/.dirs/runtime 1479s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1479s # End of error tests 1479s ok - glib/error.test 1479s # Running test: glib/properties.test 1479s TAP version 13 1479s # random seed: R02Se5c18ce936fbbe155ceb194cbc3da1e9 1479s 1..13 1479s # Start of properties tests 1479s ok 1 /properties/install 1479s ok 2 /properties/install-many 1479s ok 3 /properties/notify 1479s ok 4 /properties/notify-queue 1479s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1479s ok 5 /properties/construct 1479s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1479s # Test g_object_get_property with an initialized value 1479s # Test g_object_get_property with an uninitialized value 1479s # Test g_object_get_property with a transformable value 1479s ok 6 /properties/get-property 1479s ok 7 /properties/testv_with_no_properties 1479s ok 8 /properties/testv_with_valid_properties 1479s ok 9 /properties/testv_with_invalid_property_type 1479s ok 10 /properties/testv_with_invalid_property_names 1479s ok 11 /properties/testv_getv 1479s ok 12 /properties/testv_notify_queue 1479s # Start of set-property tests 1479s # Start of variant tests 1479s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1479s ok 13 /properties/set-property/variant/floating 1479s # End of variant tests 1479s # End of set-property tests 1479s # End of properties tests 1479s ok - glib/properties.test 1479s # Running test: glib/gapplication.test 1479s TAP version 13 1479s # random seed: R02S56847de1b476305ff6cfe0e218d88d56 1479s 1..24 1479s # Start of gapplication tests 1479s ok 1 /gapplication/no-dbus 1479s ok 2 /gapplication/no-appid 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s ok 3 /gapplication/properties 1479s ok 4 /gapplication/app-id 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s ok 5 /gapplication/quit 1479s ok 6 /gapplication/registered 1479s ok 7 /gapplication/local-actions 1479s ok 8 /gapplication/local-command-line 1479s ok 9 /gapplication/resource-path 1479s ok 10 /gapplication/test-help 1479s ok 11 /gapplication/command-line-done 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s ok 12 /gapplication/test-busy 1479s ok 13 /gapplication/test-handle-local-options1 1479s ok 14 /gapplication/test-handle-local-options2 1479s ok 15 /gapplication/test-handle-local-options3 1479s ok 16 /gapplication/api 1479s ok 17 /gapplication/version 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1479s # launching subprocess 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s ok 18 /gapplication/replace 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1479s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1479s # launching subprocess 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok 19 /gapplication/no-replace 1480s # slow test /gapplication/no-replace executed in 0.53 secs 1480s # Start of dbus tests 1480s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1480s # Message 0 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 1 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 2 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok 20 /gapplication/dbus/activate 1480s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1480s # Message 0 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1480s # Message 1 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 2 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 3 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok 21 /gapplication/dbus/open 1480s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1480s # Message 0 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 1 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 2 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok 22 /gapplication/dbus/command-line 1480s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok 23 /gapplication/dbus/command-line-done 1480s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1480s # Message 0 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 1 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 2 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 3 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 4 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # Message 5 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok 24 /gapplication/dbus/activate-action 1480s # End of dbus tests 1480s # End of gapplication tests 1480s ok - glib/gapplication.test 1480s # Running test: glib/gdbus-test-codegen-old.test 1480s TAP version 13 1480s # random seed: R02Sb956787100e4a1128843a9386a0de3ba 1480s 1..8 1480s # Start of gdbus tests 1480s # Start of codegen tests 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/annotations/.dirs/runtime 1480s ok 1 /gdbus/codegen/annotations 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/interface_stability/.dirs/runtime 1480s ok 2 /gdbus/codegen/interface_stability 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/object-manager/.dirs/runtime 1480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1480s ok 3 /gdbus/codegen/object-manager 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/property-naming/.dirs/runtime 1480s ok 4 /gdbus/codegen/property-naming 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/autocleanups/.dirs/runtime 1480s ok 5 /gdbus/codegen/autocleanups 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/deprecations/.dirs/runtime 1480s ok 6 /gdbus/codegen/deprecations 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1480s ok 7 /gdbus/codegen/standalone-interface-info 1480s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/home 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/cache 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/config 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/data 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/state 1480s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_WPVAK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1480s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1480s ok 8 /gdbus/codegen/unix-fd-list 1480s # End of codegen tests 1480s # End of gdbus tests 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1480s ok - glib/gdbus-test-codegen-old.test 1480s # Running test: glib/genmarshal.py.test 1481s TAP version 13 1481s ok 1 __main__.TestGenmarshal.test_empty_list 1481s # tmpdir: /tmp/tmpcxrn0y0j 1481s # genmarshal: /usr/bin/glib-genmarshal 1481s # /tmp/tmpcxrn0y0j/tmpz25myk_q.list: 1481s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcxrn0y0j/tmpz25myk_q.list', '--header', '--quiet'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # 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. */ 1481s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1481s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1481s # 1481s # #include 1481s # 1481s # G_BEGIN_DECLS 1481s # 1481s # 1481s # G_END_DECLS 1481s # 1481s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1481s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcxrn0y0j/tmpz25myk_q.list', '--body', '--quiet'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # 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. */ 1481s # #include 1481s # 1481s # #ifdef G_ENABLE_DEBUG 1481s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1481s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1481s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1481s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1481s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1481s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1481s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1481s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1481s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1481s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1481s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1481s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1481s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1481s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1481s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1481s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1481s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1481s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1481s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1481s # #else /* !G_ENABLE_DEBUG */ 1481s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1481s # * Do not access GValues directly in your code. Instead, use the 1481s # * g_value_get_*() functions 1481s # */ 1481s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1481s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1481s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1481s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1481s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1481s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1481s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1481s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1481s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1481s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1481s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1481s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1481s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1481s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1481s # #endif /* !G_ENABLE_DEBUG */ 1481s ok 2 __main__.TestGenmarshal.test_help 1481s # tmpdir: /tmp/tmpt7fgcv60 1481s # genmarshal: /usr/bin/glib-genmarshal 1481s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1481s # [--internal] [--valist-marshallers] [-v] 1481s # [--g-fatal-warnings] [--include-header [HEADER]] 1481s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1481s # [--prototypes] [--header] [--body] 1481s # [--stdinc | --nostdinc] [--quiet | --verbose] 1481s # [FILE ...] 1481s # 1481s # Generate signal marshallers for GObject 1481s # 1481s # positional arguments: 1481s # FILE Files with lists of marshallers to generate, or "-" 1481s # for standard input 1481s # 1481s # options: 1481s # -h, --help show this help message and exit 1481s # --prefix STRING Specify marshaller prefix 1481s # --output FILE Write output into the specified file 1481s # --skip-source Skip source location comments 1481s # --internal Mark generated functions as internal 1481s # --valist-marshallers Generate va_list marshallers 1481s # -v, --version Print version information, and exit 1481s # --g-fatal-warnings Make warnings fatal 1481s # --include-header [HEADER] 1481s # Include the specified header in the body 1481s # --pragma-once Use "pragma once" as the inclusion guard 1481s # -D CPP_DEFINES Pre-processor define 1481s # -U CPP_UNDEFINES Pre-processor undefine 1481s # --prototypes Generate the marshallers prototype in the C code 1481s # --header Generate C headers 1481s # --body Generate C code 1481s # --stdinc Include standard marshallers 1481s # --nostdinc Use standard marshallers 1481s # --quiet Only print warnings and errors 1481s # --verbose Be verbose, and include debugging information 1481s ok 3 __main__.TestGenmarshal.test_no_args 1481s # tmpdir: /tmp/tmp3_xi403z 1481s # genmarshal: /usr/bin/glib-genmarshal 1481s # Running: ['/usr/bin/glib-genmarshal'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # Output: 1481s ok 4 __main__.TestGenmarshal.test_void_boolean 1481s # tmpdir: /tmp/tmpuub94hc6 1481s # genmarshal: /usr/bin/glib-genmarshal 1481s # /tmp/tmpuub94hc6/tmp8ef_n0nb.list: VOID:BOOLEAN 1481s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuub94hc6/tmp8ef_n0nb.list', '--header', '--quiet'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # 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. */ 1481s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1481s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1481s # 1481s # #include 1481s # 1481s # G_BEGIN_DECLS 1481s # 1481s # /* VOID:BOOLEAN (/tmp/tmpuub94hc6/tmp8ef_n0nb.list:1) */ 1481s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1481s # 1481s # 1481s # G_END_DECLS 1481s # 1481s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1481s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpuub94hc6/tmp8ef_n0nb.list', '--body', '--quiet'] 1481s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1481s # 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. */ 1481s # #include 1481s # 1481s # #ifdef G_ENABLE_DEBUG 1481s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1481s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1481s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1481s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1481s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1481s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1481s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1481s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1481s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1481s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1481s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1481s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1481s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1481s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1481s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1481s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1481s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1481s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1481s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1481s # #else /* !G_ENABLE_DEBUG */ 1481s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1481s # * Do not access GValues directly in your code. Instead, use the 1481s # * g_value_get_*() functions 1481s # */ 1481s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1481s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1481s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1481s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1481s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1481s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1481s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1481s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1481s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1481s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1481s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1481s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1481s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1481s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1481s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1481s # #endif /* !G_ENABLE_DEBUG */ 1482s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1482s # tmpdir: /tmp/tmph7av9t_f 1482s # genmarshal: /usr/bin/glib-genmarshal 1482s # /tmp/tmph7av9t_f/tmp6ua6ipg5.list: VOID:BOOLEAN,INT64 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph7av9t_f/tmp6ua6ipg5.list', '--header', '--quiet'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # 1482s # #include 1482s # 1482s # G_BEGIN_DECLS 1482s # 1482s # /* VOID:BOOLEAN,INT64 (/tmp/tmph7av9t_f/tmp6ua6ipg5.list:1) */ 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1482s # GValue *return_value, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint, 1482s # gpointer marshal_data); 1482s # 1482s # 1482s # G_END_DECLS 1482s # 1482s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmph7av9t_f/tmp6ua6ipg5.list', '--body', '--quiet'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #include 1482s # 1482s # #ifdef G_ENABLE_DEBUG 1482s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1482s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1482s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1482s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1482s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1482s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1482s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1482s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1482s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1482s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1482s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1482s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1482s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1482s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1482s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1482s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1482s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1482s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1482s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1482s # #else /* !G_ENABLE_DEBUG */ 1482s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1482s # * Do not access GValues directly in your code. Instead, use the 1482s # * g_value_get_*() functions 1482s # */ 1482s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1482s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1482s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1482s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1482s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1482s # #endif /* !G_ENABLE_DEBUG */ 1482s # 1482s # /* VOID:BOOLEAN,INT64 (/tmp/tmph7av9t_f/tmp6ua6ipg5.list:1) */ 1482s # void 1482s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint G_GNUC_UNUSED, 1482s # gpointer marshal_data) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1482s # gboolean arg1, 1482s # gint64 arg2, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1482s # 1482s # g_return_if_fail (n_param_values == 3); 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = g_value_peek_pointer (param_values + 0); 1482s # } 1482s # else 1482s # { 1482s # data1 = g_value_peek_pointer (param_values + 0); 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # g_marshal_value_peek_boolean (param_values + 1), 1482s # g_marshal_value_peek_int64 (param_values + 2), 1482s # data2); 1482s # } 1482s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1482s # tmpdir: /tmp/tmpotml5hml 1482s # genmarshal: /usr/bin/glib-genmarshal 1482s # /tmp/tmpotml5hml/tmp_8hl88xr.list: VOID:PARAM 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpotml5hml/tmp_8hl88xr.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # 1482s # G_BEGIN_DECLS 1482s # 1482s # /* VOID:PARAM (/tmp/tmpotml5hml/tmp_8hl88xr.list:1) */ 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1482s # GValue *return_value, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint, 1482s # gpointer marshal_data); 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1482s # GValue *return_value, 1482s # gpointer instance, 1482s # va_list args, 1482s # gpointer marshal_data, 1482s # int n_params, 1482s # GType *param_types); 1482s # 1482s # 1482s # G_END_DECLS 1482s # 1482s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpotml5hml/tmp_8hl88xr.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifdef G_ENABLE_DEBUG 1482s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1482s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1482s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1482s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1482s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1482s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1482s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1482s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1482s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1482s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1482s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1482s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1482s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1482s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1482s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1482s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1482s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1482s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1482s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1482s # #else /* !G_ENABLE_DEBUG */ 1482s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1482s # * Do not access GValues directly in your code. Instead, use the 1482s # * g_value_get_*() functions 1482s # */ 1482s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1482s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1482s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1482s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1482s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1482s # #endif /* !G_ENABLE_DEBUG */ 1482s # 1482s # /* VOID:PARAM (/tmp/tmpotml5hml/tmp_8hl88xr.list:1) */ 1482s # void 1482s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint G_GNUC_UNUSED, 1482s # gpointer marshal_data) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1482s # gpointer arg1, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__PARAM callback; 1482s # 1482s # g_return_if_fail (n_param_values == 2); 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = g_value_peek_pointer (param_values + 0); 1482s # } 1482s # else 1482s # { 1482s # data1 = g_value_peek_pointer (param_values + 0); 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # g_marshal_value_peek_param (param_values + 1), 1482s # data2); 1482s # } 1482s # 1482s # void 1482s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # gpointer instance, 1482s # va_list args, 1482s # gpointer marshal_data, 1482s # int n_params, 1482s # GType *param_types) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1482s # gpointer arg1, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__PARAM callback; 1482s # gpointer arg0; 1482s # va_list args_copy; 1482s # 1482s # va_copy (args_copy, args); 1482s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1482s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1482s # arg0 = g_param_spec_ref (arg0); 1482s # va_end (args_copy); 1482s # 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = instance; 1482s # } 1482s # else 1482s # { 1482s # data1 = instance; 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # arg0, 1482s # data2); 1482s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1482s # g_param_spec_unref (arg0); 1482s # } 1482s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1482s # tmpdir: /tmp/tmpokvlu7oh 1482s # genmarshal: /usr/bin/glib-genmarshal 1482s # /tmp/tmpokvlu7oh/tmp_cod745e.list: VOID:STRING 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpokvlu7oh/tmp_cod745e.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # 1482s # G_BEGIN_DECLS 1482s # 1482s # /* VOID:STRING (/tmp/tmpokvlu7oh/tmp_cod745e.list:1) */ 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1482s # GValue *return_value, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint, 1482s # gpointer marshal_data); 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1482s # GValue *return_value, 1482s # gpointer instance, 1482s # va_list args, 1482s # gpointer marshal_data, 1482s # int n_params, 1482s # GType *param_types); 1482s # 1482s # 1482s # G_END_DECLS 1482s # 1482s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpokvlu7oh/tmp_cod745e.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifdef G_ENABLE_DEBUG 1482s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1482s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1482s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1482s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1482s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1482s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1482s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1482s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1482s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1482s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1482s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1482s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1482s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1482s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1482s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1482s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1482s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1482s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1482s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1482s # #else /* !G_ENABLE_DEBUG */ 1482s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1482s # * Do not access GValues directly in your code. Instead, use the 1482s # * g_value_get_*() functions 1482s # */ 1482s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1482s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1482s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1482s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1482s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1482s # #endif /* !G_ENABLE_DEBUG */ 1482s # 1482s # /* VOID:STRING (/tmp/tmpokvlu7oh/tmp_cod745e.list:1) */ 1482s # void 1482s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint G_GNUC_UNUSED, 1482s # gpointer marshal_data) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1482s # gpointer arg1, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__STRING callback; 1482s # 1482s # g_return_if_fail (n_param_values == 2); 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = g_value_peek_pointer (param_values + 0); 1482s # } 1482s # else 1482s # { 1482s # data1 = g_value_peek_pointer (param_values + 0); 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # g_marshal_value_peek_string (param_values + 1), 1482s # data2); 1482s # } 1482s # 1482s # void 1482s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # gpointer instance, 1482s # va_list args, 1482s # gpointer marshal_data, 1482s # int n_params, 1482s # GType *param_types) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1482s # gpointer arg1, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__STRING callback; 1482s # gpointer arg0; 1482s # va_list args_copy; 1482s # 1482s # va_copy (args_copy, args); 1482s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1482s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1482s # arg0 = g_strdup (arg0); 1482s # va_end (args_copy); 1482s # 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = instance; 1482s # } 1482s # else 1482s # { 1482s # data1 = instance; 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # arg0, 1482s # data2); 1482s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1482s # g_free (arg0); 1482s # } 1482s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1482s # tmpdir: /tmp/tmpl4z3k691 1482s # genmarshal: /usr/bin/glib-genmarshal 1482s # /tmp/tmpl4z3k691/tmp8exjjmos.list: VOID:VARIANT 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl4z3k691/tmp8exjjmos.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1482s # 1482s # G_BEGIN_DECLS 1482s # 1482s # /* VOID:VARIANT (/tmp/tmpl4z3k691/tmp8exjjmos.list:1) */ 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1482s # GValue *return_value, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint, 1482s # gpointer marshal_data); 1482s # extern 1482s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1482s # GValue *return_value, 1482s # gpointer instance, 1482s # va_list args, 1482s # gpointer marshal_data, 1482s # int n_params, 1482s # GType *param_types); 1482s # 1482s # 1482s # G_END_DECLS 1482s # 1482s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1482s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl4z3k691/tmp8exjjmos.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1482s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1482s # 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. */ 1482s # #ifdef G_ENABLE_DEBUG 1482s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1482s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1482s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1482s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1482s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1482s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1482s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1482s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1482s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1482s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1482s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1482s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1482s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1482s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1482s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1482s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1482s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1482s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1482s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1482s # #else /* !G_ENABLE_DEBUG */ 1482s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1482s # * Do not access GValues directly in your code. Instead, use the 1482s # * g_value_get_*() functions 1482s # */ 1482s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1482s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1482s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1482s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1482s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1482s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1482s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1482s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1482s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1482s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1482s # #endif /* !G_ENABLE_DEBUG */ 1482s # 1482s # /* VOID:VARIANT (/tmp/tmpl4z3k691/tmp8exjjmos.list:1) */ 1482s # void 1482s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # guint n_param_values, 1482s # const GValue *param_values, 1482s # gpointer invocation_hint G_GNUC_UNUSED, 1482s # gpointer marshal_data) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1482s # gpointer arg1, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__VARIANT callback; 1482s # 1482s # g_return_if_fail (n_param_values == 2); 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = g_value_peek_pointer (param_values + 0); 1482s # } 1482s # else 1482s # { 1482s # data1 = g_value_peek_pointer (param_values + 0); 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # g_marshal_value_peek_variant (param_values + 1), 1482s # data2); 1482s # } 1482s # 1482s # void 1482s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1482s # GValue *return_value G_GNUC_UNUSED, 1482s # gpointer instance, 1482s # va_list args, 1482s # gpointer marshal_data, 1482s # int n_params, 1482s # GType *param_types) 1482s # { 1482s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1482s # gpointer arg1, 1482s # gpointer data2); 1482s # GCClosure *cc = (GCClosure *) closure; 1482s # gpointer data1, data2; 1482s # GMarshalFunc_VOID__VARIANT callback; 1482s # gpointer arg0; 1482s # va_list args_copy; 1482s # 1482s # va_copy (args_copy, args); 1482s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1482s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1482s # arg0 = g_variant_ref_sink (arg0); 1482s # va_end (args_copy); 1482s # 1482s # 1482s # if (G_CCLOSURE_SWAP_DATA (closure)) 1482s # { 1482s # data1 = closure->data; 1482s # data2 = instance; 1482s # } 1482s # else 1482s # { 1482s # data1 = instance; 1482s # data2 = closure->data; 1482s # } 1482s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1482s # 1482s # callback (data1, 1482s # arg0, 1482s # data2); 1482s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1482s # g_variant_unref (arg0); 1482s # } 1482s 1..8 1482s ok - glib/genmarshal.py.test 1482s # Running test: glib/strvbuilder.test 1482s TAP version 13 1482s # random seed: R02Sc311674186acbd013725dfe9591e3347 1482s 1..6 1482s # Start of strvbuilder tests 1482s ok 1 /strvbuilder/empty 1482s ok 2 /strvbuilder/add 1482s ok 3 /strvbuilder/addv 1482s ok 4 /strvbuilder/add_many 1482s ok 5 /strvbuilder/take 1482s ok 6 /strvbuilder/ref 1482s # End of strvbuilder tests 1482s ok - glib/strvbuilder.test 1482s # Running test: glib/markup-parse.test 1482s TAP version 13 1482s # random seed: R02S31242afb0f7c7978c28b1307782f1917 1482s 1..71 1482s # Start of markup tests 1482s # Start of parse tests 1482s ok 1 /markup/parse/valid-9.gmarkup 1482s ok 2 /markup/parse/fail-52.gmarkup 1482s ok 3 /markup/parse/fail-50.gmarkup 1482s ok 4 /markup/parse/fail-9.gmarkup 1482s ok 5 /markup/parse/fail-34.gmarkup 1482s ok 6 /markup/parse/fail-54.gmarkup 1482s ok 7 /markup/parse/fail-13.gmarkup 1482s ok 8 /markup/parse/fail-18.gmarkup 1482s ok 9 /markup/parse/valid-12.gmarkup 1482s ok 10 /markup/parse/fail-7.gmarkup 1482s ok 11 /markup/parse/fail-2.gmarkup 1482s ok 12 /markup/parse/fail-17.gmarkup 1482s ok 13 /markup/parse/fail-4.gmarkup 1482s ok 14 /markup/parse/fail-5.gmarkup 1482s ok 15 /markup/parse/valid-10.gmarkup 1482s ok 16 /markup/parse/fail-53.gmarkup 1482s ok 17 /markup/parse/valid-1.gmarkup 1482s ok 18 /markup/parse/fail-12.gmarkup 1482s ok 19 /markup/parse/fail-28.gmarkup 1482s ok 20 /markup/parse/fail-51.gmarkup 1482s ok 21 /markup/parse/fail-1.gmarkup 1482s ok 22 /markup/parse/valid-3.gmarkup 1482s ok 23 /markup/parse/fail-26.gmarkup 1482s ok 24 /markup/parse/fail-45.gmarkup 1482s ok 25 /markup/parse/fail-3.gmarkup 1482s ok 26 /markup/parse/fail-41.gmarkup 1482s ok 27 /markup/parse/valid-15.gmarkup 1482s ok 28 /markup/parse/fail-36.gmarkup 1482s ok 29 /markup/parse/valid-7.gmarkup 1482s ok 30 /markup/parse/fail-40.gmarkup 1482s ok 31 /markup/parse/fail-11.gmarkup 1482s ok 32 /markup/parse/valid-14.gmarkup 1482s ok 33 /markup/parse/fail-25.gmarkup 1482s ok 34 /markup/parse/fail-19.gmarkup 1482s ok 35 /markup/parse/valid-6.gmarkup 1482s ok 36 /markup/parse/fail-44.gmarkup 1482s ok 37 /markup/parse/valid-11.gmarkup 1482s ok 38 /markup/parse/valid-17.gmarkup 1482s ok 39 /markup/parse/valid-8.gmarkup 1482s ok 40 /markup/parse/valid-13.gmarkup 1482s ok 41 /markup/parse/fail-49.gmarkup 1482s ok 42 /markup/parse/fail-14.gmarkup 1482s ok 43 /markup/parse/fail-29.gmarkup 1482s ok 44 /markup/parse/valid-5.gmarkup 1482s ok 45 /markup/parse/fail-46.gmarkup 1482s ok 46 /markup/parse/fail-33.gmarkup 1482s ok 47 /markup/parse/fail-47.gmarkup 1482s ok 48 /markup/parse/fail-39.gmarkup 1482s ok 49 /markup/parse/fail-10.gmarkup 1482s ok 50 /markup/parse/fail-31.gmarkup 1482s ok 51 /markup/parse/fail-37.gmarkup 1482s ok 52 /markup/parse/fail-48.gmarkup 1482s ok 53 /markup/parse/fail-6.gmarkup 1482s ok 54 /markup/parse/fail-42.gmarkup 1482s ok 55 /markup/parse/fail-32.gmarkup 1482s ok 56 /markup/parse/fail-24.gmarkup 1482s ok 57 /markup/parse/fail-35.gmarkup 1482s ok 58 /markup/parse/valid-2.gmarkup 1482s ok 59 /markup/parse/fail-23.gmarkup 1482s ok 60 /markup/parse/fail-43.gmarkup 1482s ok 61 /markup/parse/fail-27.gmarkup 1482s ok 62 /markup/parse/fail-16.gmarkup 1482s ok 63 /markup/parse/valid-16.gmarkup 1482s ok 64 /markup/parse/fail-22.gmarkup 1482s ok 65 /markup/parse/fail-21.gmarkup 1482s ok 66 /markup/parse/fail-38.gmarkup 1482s ok 67 /markup/parse/fail-30.gmarkup 1482s ok 68 /markup/parse/fail-15.gmarkup 1482s ok 69 /markup/parse/valid-4.gmarkup 1482s ok 70 /markup/parse/fail-20.gmarkup 1482s ok 71 /markup/parse/fail-8.gmarkup 1482s # End of parse tests 1482s # End of markup tests 1482s ok - glib/markup-parse.test 1483s # Running test: glib/application-command-line.test 1483s TAP version 13 1483s # random seed: R02Sa8ecd3073ddac79f45f2d9138f099f91 1483s 1..1 1483s # Start of application-command-line tests 1483s ok 1 /application-command-line/basic-properties 1483s # End of application-command-line tests 1483s ok - glib/application-command-line.test 1483s # Running test: glib/onceinit.test 1483s TAP version 13 1483s # random seed: R02Seb27e0c2a0828a04bb6f4af959f32c12 1483s 1..1 1483s # Start of thread tests 1483s ok 1 /thread/onceinit 1483s # End of thread tests 1483s ok - glib/onceinit.test 1483s # Running test: glib/inet-address.test 1483s # Executing: glib/inet-address.test 1483s TAP version 13 1483s # random seed: R02S816b5bd13e1c4b9e0921782d2d404fad 1483s 1..11 1483s # Start of inet-address tests 1483s ok 1 /inet-address/parse 1483s ok 2 /inet-address/any 1483s ok 3 /inet-address/loopback 1483s ok 4 /inet-address/bytes 1483s ok 5 /inet-address/property 1483s # End of inet-address tests 1483s # Start of socket-address tests 1483s ok 6 /socket-address/basic 1483s ok 7 /socket-address/to-string 1483s # End of socket-address tests 1483s # Start of address-mask tests 1483s ok 8 /address-mask/parse 1483s ok 9 /address-mask/property 1483s ok 10 /address-mask/equal 1483s ok 11 /address-mask/match 1483s # End of address-mask tests 1483s ok - glib/inet-address.test 1483s # Running test: glib/gdbus-connection-loss.test 1483s TAP version 13 1483s # random seed: R02Saaaf1b436d33d2d146be2e364d922ad1 1483s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1483s 1..1 1483s # Start of gdbus tests 1483s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/home 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/cache 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/system-config2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/config 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/system-data2 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/data 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/state 1483s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_DI4EK2/gdbus/connection-loss/.dirs/runtime 1483s ok 1 /gdbus/connection-loss 1483s # End of gdbus tests 1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1483s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1483s ok - glib/gdbus-connection-loss.test 1483s # Running test: glib/rec-mutex.test 1483s TAP version 13 1483s # random seed: R02S3c3475ce89a80c5517ce6837968b2ff6 1483s 1..29 1483s # Start of thread tests 1483s ok 1 /thread/rec-mutex1 1483s ok 2 /thread/rec-mutex2 1483s ok 3 /thread/rec-mutex3 1483s ok 4 /thread/rec-mutex4 1483s # Start of rec-mutex tests 1483s # Start of perf tests 1483s # Start of uncontended tests 1483s # max perf: 0.333333 mips 1483s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1483s # max perf: 1.000000 mips 1483s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1483s # max perf: 1.000000 mips 1483s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1483s # max perf: 1.000000 mips 1483s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1483s # max perf: 1.000000 mips 1483s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1483s # End of uncontended tests 1483s # Start of contended1 tests 1483s # max perf: 2.000000 mips 1483s ok 10 /thread/rec-mutex/perf/contended1/depth1 1483s # max perf: inf mips 1483s ok 11 /thread/rec-mutex/perf/contended1/depth2 1483s # max perf: 2.000000 mips 1483s ok 12 /thread/rec-mutex/perf/contended1/depth3 1483s # max perf: 2.000000 mips 1483s ok 13 /thread/rec-mutex/perf/contended1/depth4 1483s # max perf: 2.000000 mips 1483s ok 14 /thread/rec-mutex/perf/contended1/depth5 1483s # End of contended1 tests 1483s # Start of contended2 tests 1483s # max perf: 0.100000 mips 1483s ok 15 /thread/rec-mutex/perf/contended2/depth1 1483s # max perf: 1.500000 mips 1483s ok 16 /thread/rec-mutex/perf/contended2/depth2 1483s # max perf: 1.500000 mips 1483s ok 17 /thread/rec-mutex/perf/contended2/depth3 1483s # max perf: 3.000000 mips 1483s ok 18 /thread/rec-mutex/perf/contended2/depth4 1483s # max perf: 1.500000 mips 1483s ok 19 /thread/rec-mutex/perf/contended2/depth5 1483s # End of contended2 tests 1483s # Start of contended3 tests 1483s # max perf: 4.000000 mips 1483s ok 20 /thread/rec-mutex/perf/contended3/depth1 1483s # max perf: 4.000000 mips 1483s ok 21 /thread/rec-mutex/perf/contended3/depth2 1483s # max perf: 2.000000 mips 1483s ok 22 /thread/rec-mutex/perf/contended3/depth3 1483s # max perf: 2.000000 mips 1483s ok 23 /thread/rec-mutex/perf/contended3/depth4 1483s # max perf: 2.000000 mips 1483s ok 24 /thread/rec-mutex/perf/contended3/depth5 1483s # End of contended3 tests 1483s # Start of contended4 tests 1483s # max perf: 5.000000 mips 1483s ok 25 /thread/rec-mutex/perf/contended4/depth1 1483s # max perf: 2.500000 mips 1483s ok 26 /thread/rec-mutex/perf/contended4/depth2 1483s # max perf: 2.500000 mips 1483s ok 27 /thread/rec-mutex/perf/contended4/depth3 1483s # max perf: 2.500000 mips 1483s ok 28 /thread/rec-mutex/perf/contended4/depth4 1483s # max perf: 2.500000 mips 1483s ok 29 /thread/rec-mutex/perf/contended4/depth5 1483s # End of contended4 tests 1483s # End of perf tests 1483s # End of rec-mutex tests 1483s # End of thread tests 1483s ok - glib/rec-mutex.test 1483s # Running test: glib/references.test 1483s TAP version 13 1483s # random seed: R02Sae1d4bd9fc2e9d6b313d3aab381e7a90 1483s 1..1 1483s # Start of gobject tests 1483s ok 1 /gobject/references 1483s # End of gobject tests 1483s ok - glib/references.test 1483s # Running test: glib/hostutils.test 1483s TAP version 13 1483s # random seed: R02S415700535c521e2e523a3d9c756c24c8 1483s 1..3 1483s # Start of hostutils tests 1483s ok 1 /hostutils/to_ascii 1483s ok 2 /hostutils/to_unicode 1483s ok 3 /hostutils/is_ip_addr 1483s # End of hostutils tests 1483s ok - glib/hostutils.test 1483s # Running test: glib/cmph-bdz.test 1483s TAP version 13 1483s # random seed: R02S1fb0e81d9ee39c0e570f04c26249fe02 1483s 1..2 1483s # Start of cmph-bdz tests 1483s ok 1 /cmph-bdz/search 1483s ok 2 /cmph-bdz/search-packed 1483s # End of cmph-bdz tests 1483s ok - glib/cmph-bdz.test 1483s # Running test: glib/network-monitor-race.test 1483s TAP version 13 1483s # random seed: R02S76524a5719e48acbbe65625a47c8d261 1483s 1..1 1483s # Start of network-monitor tests 1483s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1486s ok 1 /network-monitor/create-in-thread 1486s # slow test /network-monitor/create-in-thread executed in 2.45 secs 1486s # End of network-monitor tests 1486s ok - glib/network-monitor-race.test 1486s # Running test: glib/slice.test 1486s TAP version 13 1486s # random seed: R02S0cf0c40e28410cdcfae540f1833f089c 1486s 1..3 1486s # Start of slice tests 1486s ok 1 /slice/copy 1486s ok 2 /slice/chain 1487s ok 3 /slice/allocate 1487s # slow test /slice/allocate executed in 0.90 secs 1487s # End of slice tests 1487s ok - glib/slice.test 1487s # Running test: glib/thread.test 1487s TAP version 13 1487s # random seed: R02Sacf6e394ba2cf1516920317718fb9ddc 1487s 1..7 1487s # Start of thread tests 1487s ok 1 /thread/thread1 1487s ok 2 /thread/thread2 1487s ok 3 /thread/thread3 1487s ok 4 /thread/thread4 1487s ok 5 /thread/thread5 1487s ok 6 /thread/thread6 1487s ok 7 /thread/thread7 1487s # End of thread tests 1487s ok - glib/thread.test 1487s # Running test: glib/642026-ec.test 1487s TAP version 13 1487s # random seed: R02S7572db8fa91212bafdcd5efffc354d09 1487s 1..1 1487s # Start of glib tests 1487s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1487s ok 1 /glib/642026 1487s # End of glib tests 1487s ok - glib/642026-ec.test 1487s # Running test: glib/mem-overflow.test 1487s TAP version 13 1487s # random seed: R02Sbc25b47b43a0e7fd4d5aff809332fa2e 1487s 1..2 1487s # Start of mem tests 1487s ok 1 /mem/overflow 1487s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1487s ok 2 /mem/empty-alloc 1487s # Start of overflow tests 1487s # Start of subprocess tests 1487s # End of subprocess tests 1487s # End of overflow tests 1487s # Start of empty-alloc tests 1487s # End of empty-alloc tests 1487s # End of mem tests 1487s ok - glib/mem-overflow.test 1487s # Running test: glib/debugcontroller.test 1487s TAP version 13 1487s # random seed: R02S02160f69afdc5da89ad14b5d19b52f13 1487s 1..3 1487s # Start of debug-controller tests 1487s # Start of dbus tests 1487s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1487s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1487s # GLib-GIO-DEBUG: Debug output enabled 1487s # GLib-GIO-DEBUG: Debug output disabled 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s ok 1 /debug-controller/dbus/basic 1487s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1487s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1487s ok 2 /debug-controller/dbus/duplicate 1487s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1487s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1487s # End of dbus tests 1487s # End of debug-controller tests 1487s ok - glib/debugcontroller.test 1487s # Running test: glib/test-printf.test 1487s TAP version 13 1487s # random seed: R02S95d09476b22d60a670b2655ace513c26 1487s 1..22 1487s # Start of snprintf tests 1487s ok 1 /snprintf/retval-and-trunc 1487s ok 2 /snprintf/%d 1487s ok 3 /snprintf/%d-invalid 1487s ok 4 /snprintf/%o 1487s ok 5 /snprintf/%u 1487s ok 6 /snprintf/%x 1487s ok 7 /snprintf/%X 1487s ok 8 /snprintf/%f 1487s ok 9 /snprintf/%e 1487s ok 10 /snprintf/%c 1487s ok 11 /snprintf/%s 1487s ok 12 /snprintf/%n 1487s ok 13 /snprintf/test-percent 1487s ok 14 /snprintf/test-positional-params 1487s ok 15 /snprintf/test-64bit 1487s # End of snprintf tests 1487s # Start of printf tests 1487s ok 16 /printf/test-percent 1487s ok 17 /printf/test-positional-params 1487s ok 18 /printf/test-64bit 1487s # Start of test-64bit tests 1487s # Start of subprocess tests 1487s # End of subprocess tests 1487s # End of test-64bit tests 1487s # End of printf tests 1487s # Start of sprintf tests 1487s ok 19 /sprintf/test-positional-params 1487s ok 20 /sprintf/upper-bound 1487s # End of sprintf tests 1487s # Start of vasprintf tests 1487s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1487s ok 21 /vasprintf/invalid-format-placeholder 1487s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1487s ok 22 /vasprintf/invalid-wide-string 1487s # End of vasprintf tests 1487s ok - glib/test-printf.test 1487s # Running test: glib/mutex.test 1487s TAP version 13 1487s # random seed: R02Sc2ddfd9baeea60b7805c510889893bc4 1487s 1..17 1487s # Start of thread tests 1487s ok 1 /thread/mutex1 1487s ok 2 /thread/mutex2 1487s ok 3 /thread/mutex3 1487s ok 4 /thread/mutex4 1488s # Executing: glib/mutex.test 1493s # Executing: glib/mutex.test 1498s # Executing: glib/mutex.test 1503s # Executing: glib/mutex.test 1508s # Executing: glib/mutex.test 1513s # Executing: glib/mutex.test 1518s # Executing: glib/mutex.test 1523s # Executing: glib/mutex.test 1525s ok 5 /thread/mutex5 1525s # slow test /thread/mutex5 executed in 37.64 secs 1525s # Start of mutex tests 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1525s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1527s ok 6 /thread/mutex/errno 1527s # slow test /thread/mutex/errno executed in 2.31 secs 1527s # Start of perf tests 1527s # max perf: inf mips 1527s ok 7 /thread/mutex/perf/uncontended 1527s # Start of contended tests 1527s # max perf: inf mips 1527s ok 8 /thread/mutex/perf/contended/1 1527s # max perf: 3.000000 mips 1527s ok 9 /thread/mutex/perf/contended/2 1527s # max perf: 4.000000 mips 1527s ok 10 /thread/mutex/perf/contended/3 1527s # max perf: 5.000000 mips 1527s ok 11 /thread/mutex/perf/contended/4 1527s # max perf: 6.000000 mips 1527s ok 12 /thread/mutex/perf/contended/5 1527s # max perf: 7.000000 mips 1527s ok 13 /thread/mutex/perf/contended/6 1527s # max perf: 0.021448 mips 1527s ok 14 /thread/mutex/perf/contended/7 1527s # max perf: 9.000000 mips 1527s ok 15 /thread/mutex/perf/contended/8 1527s # max perf: 10.000000 mips 1527s ok 16 /thread/mutex/perf/contended/9 1527s # max perf: 0.024831 mips 1527s ok 17 /thread/mutex/perf/contended/10 1527s # End of contended tests 1527s # End of perf tests 1527s # End of mutex tests 1527s # End of thread tests 1527s ok - glib/mutex.test 1527s # Running test: glib/override.test 1527s TAP version 13 1527s # random seed: R02Sb8b12afac0243e5a81a8fbc1b4de8f9c 1527s 1..1 1527s # Start of gobject tests 1527s # *** emitting foo on a TestA instance 1527s # Expecting: TestA::foo,TestI::foo 1527s # Got: TestA::foo,TestI::foo 1527s # *** emitting bar on a TestA instance 1527s # Expecting: TestA::bar 1527s # Got: TestA::bar 1527s # *** emitting baz on a TestA instance 1527s # Expecting: TestA::baz 1527s # Got: TestA::baz 1527s # *** emitting foo on a TestB instance 1527s # Expecting: TestB::foo,TestA::foo,TestI::foo 1527s # Got: TestB::foo,TestA::foo,TestI::foo 1527s # *** emitting bar on a TestB instance 1527s # Expecting: TestB::bar,TestA::bar 1527s # Got: TestB::bar,TestA::bar 1527s # *** emitting baz on a TestB instance 1527s # Expecting: TestB::baz,TestA::baz 1527s # Got: TestB::baz,TestA::baz 1527s # *** emitting foo on a TestC instance 1527s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1527s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1527s # *** emitting bar on a TestC instance 1527s # Expecting: TestC::bar,TestB::bar,TestA::bar 1527s # Got: TestC::bar,TestB::bar,TestA::bar 1527s # *** emitting baz on a TestC instance 1527s # Expecting: TestC::baz,TestB::baz,TestA::baz 1527s # Got: TestC::baz,TestB::baz,TestA::baz 1527s ok 1 /gobject/override 1527s # End of gobject tests 1527s ok - glib/override.test 1527s # Running test: glib/gvariant.test 1527s TAP version 13 1527s # random seed: R02S24eed407424d3cd657900496b1ec7538 1527s 1..64 1527s # Start of gvariant tests 1527s ok 1 /gvariant/type 1528s # Executing: glib/gvariant.test 1528s ok 2 /gvariant/typeinfo 1528s # slow test /gvariant/typeinfo executed in 0.63 secs 1528s ok 3 /gvariant/string 1528s ok 4 /gvariant/utf8 1528s ok 5 /gvariant/containers 1528s ok 6 /gvariant/format-strings 1528s ok 7 /gvariant/invalid-varargs 1528s ok 8 /gvariant/varargs 1528s ok 9 /gvariant/valist 1528s ok 10 /gvariant/builder-memory 1529s ok 11 /gvariant/hashing 1529s ok 12 /gvariant/byteswap 1529s ok 13 /gvariant/parser 1529s # slow test /gvariant/parser executed in 0.64 secs 1529s ok 14 /gvariant/parse-failures 1529s ok 15 /gvariant/parse-positional 1529s ok 16 /gvariant/floating 1529s ok 17 /gvariant/bytestring 1529s ok 18 /gvariant/lookup-value 1529s ok 19 /gvariant/lookup 1529s ok 20 /gvariant/compare 1529s ok 21 /gvariant/equal 1529s ok 22 /gvariant/fixed-array 1529s ok 23 /gvariant/check-format-string 1529s ok 24 /gvariant/checksum-basic 1529s ok 25 /gvariant/checksum-nested 1529s ok 26 /gvariant/gbytes 1529s ok 27 /gvariant/print-context 1529s ok 28 /gvariant/error-quark 1529s ok 29 /gvariant/stack-builder-init 1529s ok 30 /gvariant/stack-dict-init 1529s ok 31 /gvariant/unaligned-construction 1529s # Start of type tests 1529s # Start of string-scan tests 1529s # Start of recursion tests 1529s ok 32 /gvariant/type/string-scan/recursion/tuple 1529s ok 33 /gvariant/type/string-scan/recursion/array 1529s # End of recursion tests 1529s # End of string-scan tests 1529s # End of type tests 1529s # Start of serialiser tests 1529s ok 34 /gvariant/serialiser/maybe 1530s ok 35 /gvariant/serialiser/array 1530s ok 36 /gvariant/serialiser/tuple 1530s ok 37 /gvariant/serialiser/variant 1530s ok 38 /gvariant/serialiser/strings 1533s # Executing: glib/gvariant.test 1538s # Executing: glib/gvariant.test 1542s ok 39 /gvariant/serialiser/byteswap 1542s # slow test /gvariant/serialiser/byteswap executed in 11.76 secs 1542s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1542s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1542s ok 40 /gvariant/serialiser/children 1542s # Start of fuzz tests 1543s # Executing: glib/gvariant.test 1544s ok 41 /gvariant/serialiser/fuzz/1% 1544s # slow test /gvariant/serialiser/fuzz/1% executed in 2.03 secs 1545s ok 42 /gvariant/serialiser/fuzz/5% 1545s # slow test /gvariant/serialiser/fuzz/5% executed in 0.79 secs 1546s ok 43 /gvariant/serialiser/fuzz/9% 1546s # slow test /gvariant/serialiser/fuzz/9% executed in 1.15 secs 1547s ok 44 /gvariant/serialiser/fuzz/13% 1547s # slow test /gvariant/serialiser/fuzz/13% executed in 1.34 secs 1548s # Executing: glib/gvariant.test 1553s # Executing: glib/gvariant.test 1553s ok 45 /gvariant/serialiser/fuzz/17% 1553s # slow test /gvariant/serialiser/fuzz/17% executed in 5.86 secs 1553s # End of fuzz tests 1553s # End of serialiser tests 1553s # Start of varargs tests 1553s # Start of subprocess tests 1553s # End of subprocess tests 1553s # End of varargs tests 1553s # Start of byteswap tests 1553s # /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. 1553s ok 46 /gvariant/byteswap/non-normal-non-aligned 1553s # End of byteswap tests 1553s # Start of parser tests 1553s ok 47 /gvariant/parser/integer-bounds 1553s ok 48 /gvariant/parser/recursion 1553s # Start of recursion tests 1553s ok 49 /gvariant/parser/recursion/typedecls 1553s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1553s # Text form 0: @mmmu 5 1553s # Text form 1: @mmmas ['hello'] 1553s # Text form 2: @mmmu just just nothing 1553s # Text form 3: @mmmas just just nothing 1553s # Text form 4: @mmmu just nothing 1553s # Text form 5: @mmmas just nothing 1553s # Text form 6: @mmmu nothing 1553s # Text form 7: @mmmas nothing 1553s ok 50 /gvariant/parser/recursion/maybes 1553s # End of recursion tests 1553s # End of parser tests 1553s # Start of parse tests 1553s # Start of subprocess tests 1553s # End of subprocess tests 1553s # End of parse tests 1553s # Start of normal-checking tests 1553s ok 51 /gvariant/normal-checking/tuples 1553s ok 52 /gvariant/normal-checking/array-offsets 1553s ok 53 /gvariant/normal-checking/array-offsets2 1553s ok 54 /gvariant/normal-checking/tuple-offsets 1553s ok 55 /gvariant/normal-checking/tuple-offsets2 1553s ok 56 /gvariant/normal-checking/tuple-offsets3 1553s ok 57 /gvariant/normal-checking/tuple-offsets4 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1553s ok 58 /gvariant/normal-checking/tuple-offsets5 1553s ok 59 /gvariant/normal-checking/empty-object-path 1553s # Start of array-offsets tests 1553s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1553s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1553s # End of array-offsets tests 1553s # Start of tuple-offsets tests 1553s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1553s # End of tuple-offsets tests 1553s # End of normal-checking tests 1553s # Start of recursion-limits tests 1553s ok 63 /gvariant/recursion-limits/variant-in-variant 1553s ok 64 /gvariant/recursion-limits/array-in-variant 1553s # End of recursion-limits tests 1553s # End of gvariant tests 1553s ok - glib/gvariant.test 1553s # Running test: glib/bindinggroup.test 1553s TAP version 13 1553s # random seed: R02S23f5c99a1da7502b1bc386f08d5919d7 1553s 1..11 1553s # Start of GObject tests 1553s # Start of BindingGroup tests 1553s ok 1 /GObject/BindingGroup/invalid 1553s ok 2 /GObject/BindingGroup/default 1553s ok 3 /GObject/BindingGroup/bidirectional 1553s ok 4 /GObject/BindingGroup/transform 1553s ok 5 /GObject/BindingGroup/transform-closures 1553s ok 6 /GObject/BindingGroup/same-object 1553s ok 7 /GObject/BindingGroup/weak-ref-source 1553s ok 8 /GObject/BindingGroup/weak-ref-target 1553s ok 9 /GObject/BindingGroup/properties 1553s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1553s ok 11 /GObject/BindingGroup/empty-closures 1553s # End of BindingGroup tests 1553s # End of GObject tests 1553s ok - glib/bindinggroup.test 1553s # Running test: glib/cxx-17.test 1553s TAP version 13 1553s # random seed: R02Se5d650d24ce4bfe72f6606a5a4d61c64 1553s 1..2 1553s # Start of gtask tests 1553s # 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. 1553s ok 1 /gtask/name 1553s # Start of name tests 1553s # 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. 1553s ok 2 /gtask/name/macro-wrapper 1553s # End of name tests 1553s # End of gtask tests 1553s ok - glib/cxx-17.test 1553s # Running test: glib/mainloop.test 1553s TAP version 13 1553s # random seed: R02Sfab719d503dc4e61fbf5df8f0b76b2f9 1553s 1..45 1553s # Start of maincontext tests 1553s ok 1 /maincontext/basic 1553s # Add same-priority sources: 68 1553s # Find each source: 17 1553s # Remove in random order: 87 1553s ok 2 /maincontext/nsources_same_priority 1554s # Add different-priority sources: 53 1554s # Find each source: 17 1556s # Remove in random order: 115 1556s ok 3 /maincontext/nsources_different_priority 1556s # Add sources from threads: 900 1556s # Remove sources from threads: 183 1556s ok 4 /maincontext/nsources_threadpool 1556s # slow test /maincontext/nsources_threadpool executed in 1.11 secs 1556s ok 5 /maincontext/source_finalization 1556s # /maincontext/idle-once summary: Test g_idle_add_once() works 1556s ok 6 /maincontext/idle-once 1556s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1556s ok 7 /maincontext/timeout-once 1556s # Start of source_finalization_from_source tests 1556s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 8 /maincontext/source_finalization_from_source/0 1556s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 9 /maincontext/source_finalization_from_source/1 1556s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 10 /maincontext/source_finalization_from_source/2 1556s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 11 /maincontext/source_finalization_from_source/3 1556s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 12 /maincontext/source_finalization_from_source/4 1556s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 13 /maincontext/source_finalization_from_source/5 1556s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 14 /maincontext/source_finalization_from_source/6 1556s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 15 /maincontext/source_finalization_from_source/7 1556s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 16 /maincontext/source_finalization_from_source/8 1556s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1556s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1556s ok 17 /maincontext/source_finalization_from_source/9 1556s # End of source_finalization_from_source tests 1556s # Start of source_finalization_from_dispatch tests 1556s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1556s ok 18 /maincontext/source_finalization_from_dispatch/0 1556s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1556s ok 19 /maincontext/source_finalization_from_dispatch/1 1556s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1556s ok 20 /maincontext/source_finalization_from_dispatch/2 1556s # End of source_finalization_from_dispatch tests 1556s # End of maincontext tests 1556s # Start of mainloop tests 1556s ok 21 /mainloop/basic 1556s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1556s ok 23 /mainloop/priorities 1556s ok 24 /mainloop/invoke 1556s # slow test /mainloop/invoke executed in 0.50 secs 1557s ok 25 /mainloop/child_sources 1557s # slow test /mainloop/child_sources executed in 1.20 secs 1558s # Executing: glib/mainloop.test 1559s ok 26 /mainloop/recursive_child_sources 1559s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 1559s ok 27 /mainloop/recursive_loop_child_sources 1559s ok 28 /mainloop/swapping_child_sources 1559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1559s ok 29 /mainloop/blocked_child_sources 1560s ok 30 /mainloop/source_time 1560s # slow test /mainloop/source_time executed in 1.00 secs 1560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1560s ok 31 /mainloop/overflow 1560s ok 32 /mainloop/ready-time 1560s # slow test /mainloop/ready-time executed in 0.50 secs 1560s ok 33 /mainloop/wakeup 1560s ok 34 /mainloop/remove-invalid 1560s ok 35 /mainloop/unref-while-pending 1563s # Executing: glib/mainloop.test 1565s ok 36 /mainloop/unix-fd 1565s # slow test /mainloop/unix-fd executed in 4.13 secs 1565s ok 37 /mainloop/unix-fd-source 1565s ok 38 /mainloop/source-unix-fd-api 1565s ok 39 /mainloop/wait 1565s ok 40 /mainloop/unix-file-poll 1565s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1565s ok 41 /mainloop/unix-fd-priority 1565s ok 42 /mainloop/nfds 1565s ok 43 /mainloop/steal-fd 1565s # Start of ownerless-polling tests 1565s ok 44 /mainloop/ownerless-polling/attach-first 1565s ok 45 /mainloop/ownerless-polling/pop-first 1565s # End of ownerless-polling tests 1565s # End of mainloop tests 1565s ok - glib/mainloop.test 1565s # Running test: glib/utf8-misc.test 1565s TAP version 13 1565s # random seed: R02S415fd3cdee4e766b783204322b900dca 1565s 1..7 1565s # Start of utf8 tests 1565s ok 1 /utf8/strlen 1565s ok 2 /utf8/strncpy 1565s ok 3 /utf8/strrchr 1565s ok 4 /utf8/reverse 1565s ok 5 /utf8/substring 1565s ok 6 /utf8/make-valid 1565s ok 7 /utf8/truncate-middle 1565s # End of utf8 tests 1565s ok - glib/utf8-misc.test 1565s # Running test: glib/macros-c-11.test 1565s TAP version 13 1565s # random seed: R02S3cde8e7fa0a73c60fd205469f750fc3e 1565s 1..4 1565s # Start of C tests 1565s ok 1 /C/standard-11 1565s # End of C tests 1565s # Start of alignof tests 1565s ok 2 /alignof/fallback 1565s # End of alignof tests 1565s # Start of assert tests 1565s ok 3 /assert/static 1565s # End of assert tests 1565s # Start of struct tests 1565s ok 4 /struct/sizeof_member 1565s # End of struct tests 1565s ok - glib/macros-c-11.test 1565s # Running test: glib/signals.test 1565s TAP version 13 1565s # random seed: R02S5b04f3daca7e888a816ec4b4c09dfaa9 1565s 1..31 1565s # Start of gobject tests 1565s # Start of signals tests 1565s ok 1 /gobject/signals/all-types 1565s ok 2 /gobject/signals/variant 1565s ok 3 /gobject/signals/destroy-target-object 1565s ok 4 /gobject/signals/generic-marshaller-1 1565s ok 5 /gobject/signals/generic-marshaller-2 1565s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1565s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1565s ok 8 /gobject/signals/generic-marshaller-int-return 1565s ok 9 /gobject/signals/generic-marshaller-uint-return 1565s ok 10 /gobject/signals/generic-marshaller-interface-return 1565s ok 11 /gobject/signals/custom-marshaller 1565s ok 12 /gobject/signals/connect 1565s ok 13 /gobject/signals/emission-hook 1565s ok 14 /gobject/signals/emitv 1565s ok 15 /gobject/signals/accumulator 1565s # Signal: accumulator-class-first 1565s # Signal: accumulator-class-last 1565s # Signal: accumulator-class-cleanup 1565s # Signal: accumulator-class-first-last 1565s # Signal: accumulator-class-first-last-cleanup 1565s # Signal: accumulator-class-last-cleanup 1565s ok 16 /gobject/signals/accumulator-class 1565s ok 17 /gobject/signals/introspection 1565s ok 18 /gobject/signals/block-handler 1565s ok 19 /gobject/signals/stop-emission 1565s ok 20 /gobject/signals/invocation-hint 1565s ok 21 /gobject/signals/test-disconnection-wrong-object 1565s ok 22 /gobject/signals/clear-signal-handler 1565s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1565s ok 23 /gobject/signals/lookup 1565s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1565s ok 24 /gobject/signals/parse-name 1565s ok 25 /gobject/signals/is-valid-name 1565s ok 26 /gobject/signals/weak-ref-disconnect 1565s # Start of lookup tests 1565s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1565s ok 27 /gobject/signals/lookup/invalid 1565s # End of lookup tests 1565s # Start of parse-name tests 1565s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1565s # Parser input: 1565s # Parser input: 7zip 1565s # Parser input: invalid:signal 1565s # Parser input: simple-detailed:: 1565s # Parser input: simple-detailed: 1565s # Parser input: : 1565s # Parser input: :: 1565s # Parser input: :valid-detail 1565s # Parser input: ::valid-detail 1565s ok 28 /gobject/signals/parse-name/invalid 1565s # End of parse-name tests 1565s # Start of invalid-name tests 1565s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1565s ok 29 /gobject/signals/invalid-name/colon 1565s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1565s ok 30 /gobject/signals/invalid-name/first-char 1565s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1565s ok 31 /gobject/signals/invalid-name/empty 1565s # End of invalid-name tests 1565s # End of signals tests 1565s # End of gobject tests 1565s ok - glib/signals.test 1565s # Running test: glib/once.test 1565s TAP version 13 1565s # random seed: R02S8120da84107250b5f8b85c55620c57e7 1565s 1..5 1565s # Start of once tests 1565s # /once/single-threaded summary: Test g_once() usage from a single thread 1565s ok 1 /once/single-threaded 1565s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1565s ok 2 /once/multi-threaded 1565s # End of once tests 1565s # Start of once-init tests 1565s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1565s ok 3 /once-init/single-threaded 1565s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1565s ok 4 /once-init/multi-threaded 1565s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1565s ok 5 /once-init/string 1565s # End of once-init tests 1565s ok - glib/once.test 1565s # Running test: glib/gdbus-error.test 1565s TAP version 13 1565s # random seed: R02Sde7df16d515155cbdf0d1d344f09883b 1565s 1..4 1565s # Start of gdbus tests 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FKN1J2/gdbus/registered-errors/.dirs/runtime 1565s ok 1 /gdbus/registered-errors 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FKN1J2/gdbus/unregistered-errors/.dirs/runtime 1565s ok 2 /gdbus/unregistered-errors 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FKN1J2/gdbus/transparent-gerror/.dirs/runtime 1565s ok 3 /gdbus/transparent-gerror 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_FKN1J2/gdbus/register-error/.dirs/runtime 1565s ok 4 /gdbus/register-error 1565s # End of gdbus tests 1565s ok - glib/gdbus-error.test 1565s # Running test: glib/appmonitor.test 1565s TAP version 13 1565s # random seed: R02Sb7edf4b65a2aec3eed6e65fe9b17e00b 1565s 1..1 1565s # Start of monitor tests 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_ND91J2/monitor/app/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_ND91J2/monitor/app/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/runtime 1565s # Using data directory: /tmp/test_appmonitor_ND91J2/monitor/app/.dirs/data 1565s ok 1 /monitor/app 1565s # End of monitor tests 1565s ok - glib/appmonitor.test 1565s # Running test: glib/simple-async-result.test 1565s TAP version 13 1565s # random seed: R02Sa0971e6bdecccf6ecf4fc22fcc7ce5a8 1565s 1..2 1565s # Start of gio tests 1565s # Start of simple-async-result tests 1565s ok 1 /gio/simple-async-result/test 1565s # GLib-GIO-DEBUG: GTask 0xb4f5a6e6e6e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1565s ok 2 /gio/simple-async-result/valid 1565s # End of simple-async-result tests 1565s # End of gio tests 1565s ok - glib/simple-async-result.test 1565s # Running test: glib/shell.test 1565s TAP version 13 1565s # random seed: R02S8bb5b0ce44c272f2a2d99f12b0b8a5c0 1565s 1..51 1565s # Start of shell tests 1565s # Start of cmdline tests 1565s test cmdline: foo bar 1565s ok 1 /shell/cmdline/0 1565s test cmdline: foo 'bar' 1565s ok 2 /shell/cmdline/1 1565s test cmdline: foo "bar" 1565s ok 3 /shell/cmdline/2 1565s test cmdline: foo '' 'bar' 1565s ok 4 /shell/cmdline/3 1565s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1565s ok 5 /shell/cmdline/4 1565s test cmdline: foo blah foo bar baz 1565s ok 6 /shell/cmdline/5 1565s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1565s ok 7 /shell/cmdline/6 1565s test cmdline: foo \ 1565s bar 1565s ok 8 /shell/cmdline/7 1565s test cmdline: foo '' '' 1565s ok 9 /shell/cmdline/8 1565s test cmdline: foo \" la la la 1565s ok 10 /shell/cmdline/9 1565s test cmdline: foo \ foo woo woo\ 1565s ok 11 /shell/cmdline/10 1565s test cmdline: foo "yada yada \$\"" 1565s ok 12 /shell/cmdline/11 1565s test cmdline: foo "c:\\" 1565s ok 13 /shell/cmdline/12 1565s test cmdline: foo # bla bla bla 1565s bar 1565s ok 14 /shell/cmdline/13 1565s test cmdline: foo a#b 1565s ok 15 /shell/cmdline/14 1565s test cmdline: #foo 1565s ok 16 /shell/cmdline/15 1565s test cmdline: foo bar \ 1565s ok 17 /shell/cmdline/16 1565s test cmdline: foo 'bar baz 1565s ok 18 /shell/cmdline/17 1565s test cmdline: foo '"bar" baz 1565s ok 19 /shell/cmdline/18 1565s test cmdline: 1565s ok 20 /shell/cmdline/19 1565s test cmdline: 1565s ok 21 /shell/cmdline/20 1565s test cmdline: # foo bar 1565s ok 22 /shell/cmdline/21 1565s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1565s ok 23 /shell/cmdline/22 1565s # End of cmdline tests 1565s # Start of quote tests 1565s ok 24 /shell/quote/0 1565s ok 25 /shell/quote/1 1565s ok 26 /shell/quote/2 1565s ok 27 /shell/quote/3 1565s ok 28 /shell/quote/4 1565s ok 29 /shell/quote/5 1565s ok 30 /shell/quote/6 1565s # End of quote tests 1565s # Start of unquote tests 1565s ok 31 /shell/unquote/0 1565s ok 32 /shell/unquote/1 1565s ok 33 /shell/unquote/2 1565s ok 34 /shell/unquote/3 1565s ok 35 /shell/unquote/4 1565s ok 36 /shell/unquote/5 1565s ok 37 /shell/unquote/6 1565s ok 38 /shell/unquote/7 1565s ok 39 /shell/unquote/8 1565s ok 40 /shell/unquote/9 1565s ok 41 /shell/unquote/10 1565s ok 42 /shell/unquote/11 1565s ok 43 /shell/unquote/12 1565s ok 44 /shell/unquote/13 1565s ok 45 /shell/unquote/14 1565s ok 46 /shell/unquote/15 1565s ok 47 /shell/unquote/16 1565s ok 48 /shell/unquote/17 1565s ok 49 /shell/unquote/18 1565s ok 50 /shell/unquote/19 1565s ok 51 /shell/unquote/20 1565s # End of unquote tests 1565s # End of shell tests 1565s ok - glib/shell.test 1565s # Running test: glib/collate.test 1565s TAP version 13 1565s # random seed: R02Saa29ad2ef9fe3df1015f44aab580c2d7 1565s 1..9 1565s # Start of unicode tests 1565s # Start of collate tests 1565s ok 1 /unicode/collate/0 1565s ok 2 /unicode/collate/1 1565s ok 3 /unicode/collate/2 1565s # End of collate tests 1565s # Start of collate-key tests 1565s ok 4 /unicode/collate-key/0 1565s ok 5 /unicode/collate-key/1 1565s ok 6 /unicode/collate-key/2 1565s # End of collate-key tests 1565s # Start of collate-filename tests 1565s ok 7 /unicode/collate-filename/0 1565s ok 8 /unicode/collate-filename/1 1565s ok 9 /unicode/collate-filename/2 1565s # End of collate-filename tests 1565s # End of unicode tests 1565s ok - glib/collate.test 1565s # Running test: glib/object-info.test 1565s TAP version 13 1565s # random seed: R02Sfbb0b0399866f015b3ba7ce1df53ecfa 1565s 1..2 1565s # Start of object-info tests 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_14F5J2/object-info/find-method-using-interfaces/.dirs/runtime 1565s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1565s ok 1 /object-info/find-method-using-interfaces 1565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/home 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/cache 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/config 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/data 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/state 1565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_14F5J2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1565s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1565s ok 2 /object-info/find-vfunc-using-interfaces 1565s # End of object-info tests 1565s ok - glib/object-info.test 1565s # Running test: glib/cxx-20.test 1565s TAP version 13 1565s # random seed: R02S6b531f7b798192c43e41e5cb8f49aa15 1565s 1..2 1565s # Start of gtask tests 1565s # 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. 1565s ok 1 /gtask/name 1565s # Start of name tests 1565s # 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. 1565s ok 2 /gtask/name/macro-wrapper 1565s # End of name tests 1565s # End of gtask tests 1565s ok - glib/cxx-20.test 1565s # Running test: glib/data-input-stream.test 1565s TAP version 13 1565s # random seed: R02Se5b94174a119c10aba92be28f1150e31 1565s 1..10 1565s # Start of data-input-stream tests 1565s ok 1 /data-input-stream/basic 1565s ok 2 /data-input-stream/read-lines-LF 1565s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1565s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1565s ok 5 /data-input-stream/read-lines-CR 1566s ok 6 /data-input-stream/read-lines-CR-LF 1566s ok 7 /data-input-stream/read-lines-any 1566s ok 8 /data-input-stream/read-until 1566s ok 9 /data-input-stream/read-upto 1566s ok 10 /data-input-stream/read-int 1566s # End of data-input-stream tests 1566s ok - glib/data-input-stream.test 1566s # Running test: glib/cache.test 1566s TAP version 13 1566s # random seed: R02S5a873c63f1b8d8573e60d1642a491c08 1566s 1..1 1566s # Start of cache tests 1566s ok 1 /cache/basic 1566s # End of cache tests 1566s ok - glib/cache.test 1566s # Running test: glib/keyfile.test 1566s TAP version 13 1566s # random seed: R02S5db364f5d7329eb5c72069eb0c8ba12a 1566s 1..36 1566s # Start of keyfile tests 1566s ok 1 /keyfile/line-ends 1566s ok 2 /keyfile/whitespace 1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1566s ok 3 /keyfile/comments 1566s ok 4 /keyfile/listing 1566s ok 5 /keyfile/string 1566s ok 6 /keyfile/boolean 1566s ok 7 /keyfile/number 1566s ok 8 /keyfile/locale-string 1566s ok 9 /keyfile/lists 1566s ok 10 /keyfile/lists-set-get 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1566s ok 11 /keyfile/group-remove 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1566s ok 12 /keyfile/key-remove 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1566s ok 13 /keyfile/groups 1566s ok 14 /keyfile/duplicate-keys 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1566s ok 15 /keyfile/duplicate-groups 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1566s ok 16 /keyfile/duplicate-groups2 1566s ok 17 /keyfile/group-names 1566s ok 18 /keyfile/key-names 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1566s ok 19 /keyfile/reload 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1566s ok 20 /keyfile/int64 1566s ok 21 /keyfile/load 1566s ok 22 /keyfile/save 1566s ok 23 /keyfile/load-fail 1566s ok 24 /keyfile/non-utf8 1566s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1566s ok 25 /keyfile/page-boundary 1566s ok 26 /keyfile/ref 1566s ok 27 /keyfile/replace-value 1566s ok 28 /keyfile/list-separator 1566s ok 29 /keyfile/empty-string 1566s ok 30 /keyfile/limbo 1566s # Testing invalid encoding ?non-UTF-8? 1566s # Testing invalid encoding ?UTF? 1566s # Testing invalid encoding ?UTF-9? 1566s ok 31 /keyfile/utf8 1566s ok 32 /keyfile/roundtrip 1566s ok 33 /keyfile/bytes 1566s ok 34 /keyfile/get-locale 1566s ok 35 /keyfile/free-when-not-last-ref 1566s # Start of locale-string tests 1566s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1566s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1566s ok 36 /keyfile/locale-string/multiple-loads 1566s # End of locale-string tests 1566s # End of keyfile tests 1566s ok - glib/keyfile.test 1566s # Running test: glib/mkenums.py.test 1566s TAP version 13 1566s ok 1 __main__.TestMkenums.test_available_in 1566s # tmpdir: /tmp/tmp9uh5wh40 1566s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1566s # /tmp/tmp9uh5wh40/tmpppmusi68.h: 1566s # typedef enum { 1566s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1566s # } GDBusServerFlags; 1566s # 1566s # /tmp/tmp9uh5wh40/tmp_immhbq_.template: 1566s # /*** BEGIN file-header ***/ 1566s # file-header 1566s # /*** END file-header ***/ 1566s # 1566s # /*** BEGIN file-production ***/ 1566s # file-production 1566s # filename: @filename@ 1566s # basename: @basename@ 1566s # /*** END file-production ***/ 1566s # 1566s # /*** BEGIN enumeration-production ***/ 1566s # enumeration-production 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END enumeration-production ***/ 1566s # 1566s # /*** BEGIN value-header ***/ 1566s # value-header 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-header ***/ 1566s # 1566s # /*** BEGIN value-production ***/ 1566s # value-production 1566s # VALUENAME: @VALUENAME@ 1566s # valuenick: @valuenick@ 1566s # valuenum: @valuenum@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-production ***/ 1566s # 1566s # /*** BEGIN value-tail ***/ 1566s # value-tail 1566s # EnumName: @EnumName@ 1566s # enum_name: @enum_name@ 1566s # ENUMNAME: @ENUMNAME@ 1566s # ENUMSHORT: @ENUMSHORT@ 1566s # ENUMPREFIX: @ENUMPREFIX@ 1566s # enumsince: @enumsince@ 1566s # type: @type@ 1566s # Type: @Type@ 1566s # TYPE: @TYPE@ 1566s # /*** END value-tail ***/ 1566s # 1566s # /*** BEGIN comment ***/ 1566s # comment 1566s # comment: @comment@ 1566s # /*** END comment ***/ 1566s # 1566s # /*** BEGIN file-tail ***/ 1566s # file-tail 1566s # /*** END file-tail ***/ 1566s # 1566s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9uh5wh40/tmp_immhbq_.template', '/tmp/tmp9uh5wh40/tmpppmusi68.h'] 1566s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1566s # Output: comment 1566s # 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. 1566s # 1566s # 1566s # file-header 1566s # file-production 1566s # filename: /tmp/tmp9uh5wh40/tmpppmusi68.h 1566s # basename: tmpppmusi68.h 1566s # enumeration-production 1566s # EnumName: GDBusServerFlags 1566s # enum_name: g_dbus_server_flags 1566s # ENUMNAME: G_DBUS_SERVER_FLAGS 1566s # ENUMSHORT: DBUS_SERVER_FLAGS 1566s # ENUMPREFIX: G 1566s # enumsince: 1566s # type: flags 1566s # Type: Flags 1566s # TYPE: FLAGS 1566s # value-header 1566s # EnumName: GDBusServerFlags 1566s # enum_name: g_dbus_server_flags 1566s # ENUMNAME: G_DBUS_SERVER_FLAGS 1566s # ENUMSHORT: DBUS_SERVER_FLAGS 1566s # ENUMPREFIX: G 1566s # enumsince: 1566s # type: flags 1566s # Type: Flags 1566s # TYPE: FLAGS 1566s # value-production 1566s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1566s # valuenick: user 1566s # valuenum: 4 1566s # type: flags 1566s # Type: Flags 1566s # TYPE: FLAGS 1566s # value-tail 1566s # EnumName: GDBusServerFlags 1566s # enum_name: g_dbus_server_flags 1566s # ENUMNAME: G_DBUS_SERVER_FLAGS 1566s # ENUMSHORT: DBUS_SERVER_FLAGS 1566s # ENUMPREFIX: G 1566s # enumsince: 1566s # type: flags 1566s # Type: Flags 1566s # TYPE: FLAGS 1566s # file-tail 1566s # 1566s # comment 1566s # comment: Generated data ends here 1567s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1567s # tmpdir: /tmp/tmp3y4fnzx9 1567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmp3y4fnzx9/tmpvk4cdb53.h: 1567s # typedef enum { 1567s # ENUM_VALUE_WITH_COMMA = ',', 1567s # } TestCommaEnum; 1567s # 1567s # /tmp/tmp3y4fnzx9/tmpid21z716.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3y4fnzx9/tmpid21z716.template', '/tmp/tmp3y4fnzx9/tmpvk4cdb53.h'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmp3y4fnzx9/tmpvk4cdb53.h 1567s # basename: tmpvk4cdb53.h 1567s # enumeration-production 1567s # EnumName: TestCommaEnum 1567s # enum_name: test_comma_enum 1567s # ENUMNAME: TEST_COMMA_ENUM 1567s # ENUMSHORT: COMMA_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: TestCommaEnum 1567s # enum_name: test_comma_enum 1567s # ENUMNAME: TEST_COMMA_ENUM 1567s # ENUMSHORT: COMMA_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE_WITH_COMMA 1567s # valuenick: comma 1567s # valuenum: 44 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: TestCommaEnum 1567s # enum_name: test_comma_enum 1567s # ENUMNAME: TEST_COMMA_ENUM 1567s # ENUMSHORT: COMMA_ENUM 1567s # ENUMPREFIX: TEST 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 3 __main__.TestMkenums.test_deprecated_in 1567s # tmpdir: /tmp/tmp3twncirs 1567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmp3twncirs/tmp8qxij650.h: 1567s # typedef enum { 1567s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1567s # } GDBusServerFlags; 1567s # 1567s # /tmp/tmp3twncirs/tmp63f38rq9.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3twncirs/tmp63f38rq9.template', '/tmp/tmp3twncirs/tmp8qxij650.h'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmp3twncirs/tmp8qxij650.h 1567s # basename: tmp8qxij650.h 1567s # enumeration-production 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-header 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-production 1567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1567s # valuenick: user 1567s # valuenum: 4 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-tail 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 4 __main__.TestMkenums.test_deprecated_in_for 1567s # tmpdir: /tmp/tmpwawxp4l1 1567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpwawxp4l1/tmpkl4jizvh.h: 1567s # typedef enum { 1567s # 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) 1567s # } GDBusServerFlags; 1567s # 1567s # /tmp/tmpwawxp4l1/tmps70izvdn.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwawxp4l1/tmps70izvdn.template', '/tmp/tmpwawxp4l1/tmpkl4jizvh.h'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmpwawxp4l1/tmpkl4jizvh.h 1567s # basename: tmpkl4jizvh.h 1567s # enumeration-production 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-header 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-production 1567s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1567s # valuenick: user 1567s # valuenum: 4 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # value-tail 1567s # EnumName: GDBusServerFlags 1567s # enum_name: g_dbus_server_flags 1567s # ENUMNAME: G_DBUS_SERVER_FLAGS 1567s # ENUMSHORT: DBUS_SERVER_FLAGS 1567s # ENUMPREFIX: G 1567s # enumsince: 1567s # type: flags 1567s # Type: Flags 1567s # TYPE: FLAGS 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 5 __main__.TestMkenums.test_empty_header 1567s # tmpdir: /tmp/tmpy0vb9gr_ 1567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpy0vb9gr_/tmp38xlbb1p.h: 1567s # /tmp/tmpy0vb9gr_/tmpuw9vkq77.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy0vb9gr_/tmpuw9vkq77.template', '/tmp/tmpy0vb9gr_/tmp38xlbb1p.h'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1567s ok 6 __main__.TestMkenums.test_empty_template 1567s # tmpdir: /tmp/tmph_5_7h6w 1567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmph_5_7h6w/tmpp2lim3kt.template: 1567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph_5_7h6w/tmpp2lim3kt.template'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # 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. */ 1567s # 1567s # 1567s # /* Generated data ends here */ 1567s ok 7 __main__.TestMkenums.test_enum_name 1567s # tmpdir: /tmp/tmpzjp_xsxo 1567s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1567s # /tmp/tmpzjp_xsxo/tmpjp1oq8wv.h: 1567s # typedef enum _SomeEnumIdentifier { 1567s # ENUM_VALUE 1567s # } SomeEnumIdentifier; 1567s # 1567s # /tmp/tmpzjp_xsxo/tmptqhcc6e8.template: 1567s # /*** BEGIN file-header ***/ 1567s # file-header 1567s # /*** END file-header ***/ 1567s # 1567s # /*** BEGIN file-production ***/ 1567s # file-production 1567s # filename: @filename@ 1567s # basename: @basename@ 1567s # /*** END file-production ***/ 1567s # 1567s # /*** BEGIN enumeration-production ***/ 1567s # enumeration-production 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END enumeration-production ***/ 1567s # 1567s # /*** BEGIN value-header ***/ 1567s # value-header 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-header ***/ 1567s # 1567s # /*** BEGIN value-production ***/ 1567s # value-production 1567s # VALUENAME: @VALUENAME@ 1567s # valuenick: @valuenick@ 1567s # valuenum: @valuenum@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-production ***/ 1567s # 1567s # /*** BEGIN value-tail ***/ 1567s # value-tail 1567s # EnumName: @EnumName@ 1567s # enum_name: @enum_name@ 1567s # ENUMNAME: @ENUMNAME@ 1567s # ENUMSHORT: @ENUMSHORT@ 1567s # ENUMPREFIX: @ENUMPREFIX@ 1567s # enumsince: @enumsince@ 1567s # type: @type@ 1567s # Type: @Type@ 1567s # TYPE: @TYPE@ 1567s # /*** END value-tail ***/ 1567s # 1567s # /*** BEGIN comment ***/ 1567s # comment 1567s # comment: @comment@ 1567s # /*** END comment ***/ 1567s # 1567s # /*** BEGIN file-tail ***/ 1567s # file-tail 1567s # /*** END file-tail ***/ 1567s # 1567s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzjp_xsxo/tmptqhcc6e8.template', '/tmp/tmpzjp_xsxo/tmpjp1oq8wv.h'] 1567s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1567s # Output: comment 1567s # 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. 1567s # 1567s # 1567s # file-header 1567s # file-production 1567s # filename: /tmp/tmpzjp_xsxo/tmpjp1oq8wv.h 1567s # basename: tmpjp1oq8wv.h 1567s # enumeration-production 1567s # EnumName: SomeEnumIdentifier 1567s # enum_name: some_enum_identifier 1567s # ENUMNAME: SOME_ENUM_IDENTIFIER 1567s # ENUMSHORT: ENUM_IDENTIFIER 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-header 1567s # EnumName: SomeEnumIdentifier 1567s # enum_name: some_enum_identifier 1567s # ENUMNAME: SOME_ENUM_IDENTIFIER 1567s # ENUMSHORT: ENUM_IDENTIFIER 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-production 1567s # VALUENAME: ENUM_VALUE 1567s # valuenick: value 1567s # valuenum: 0 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # value-tail 1567s # EnumName: SomeEnumIdentifier 1567s # enum_name: some_enum_identifier 1567s # ENUMNAME: SOME_ENUM_IDENTIFIER 1567s # ENUMSHORT: ENUM_IDENTIFIER 1567s # ENUMPREFIX: SOME 1567s # enumsince: 1567s # type: enum 1567s # Type: Enum 1567s # TYPE: ENUM 1567s # file-tail 1567s # 1567s # comment 1567s # comment: Generated data ends here 1568s # Executing: glib/mkenums.py.test 1568s ok 8 __main__.TestMkenums.test_enum_private_public 1568s # tmpdir: /tmp/tmpt9qxclg1 1568s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmpt9qxclg1/tmp2sboifs2.h: 1568s # typedef enum { 1568s # ENUM_VALUE_PUBLIC1, 1568s # /*< private >*/ 1568s # ENUM_VALUE_PRIVATE, 1568s # } SomeEnumA 1568s # 1568s # /tmp/tmpt9qxclg1/tmpv35inbg7.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt9qxclg1/tmpv35inbg7.template', '/tmp/tmpt9qxclg1/tmp2sboifs2.h'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmpt9qxclg1/tmp2sboifs2.h 1568s # basename: tmp2sboifs2.h 1568s # enumeration-production 1568s # EnumName: SomeEnumA 1568s # enum_name: some_enum_a 1568s # ENUMNAME: SOME_ENUM_A 1568s # ENUMSHORT: ENUM_A 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: SomeEnumA 1568s # enum_name: some_enum_a 1568s # ENUMNAME: SOME_ENUM_A 1568s # ENUMSHORT: ENUM_A 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: ENUM_VALUE_PUBLIC1 1568s # valuenick: public1 1568s # valuenum: 0 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: SomeEnumA 1568s # enum_name: some_enum_a 1568s # ENUMNAME: SOME_ENUM_A 1568s # ENUMSHORT: ENUM_A 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s # /tmp/tmpt9qxclg1/tmp480ktcth.h: 1568s # typedef enum { 1568s # /*< private >*/ 1568s # ENUM_VALUE_PRIVATE, 1568s # /*< public >*/ 1568s # ENUM_VALUE_PUBLIC2, 1568s # } SomeEnumB; 1568s # 1568s # /tmp/tmpt9qxclg1/tmpu_lqu_c5.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt9qxclg1/tmpu_lqu_c5.template', '/tmp/tmpt9qxclg1/tmp480ktcth.h'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmpt9qxclg1/tmp480ktcth.h 1568s # basename: tmp480ktcth.h 1568s # enumeration-production 1568s # EnumName: SomeEnumB 1568s # enum_name: some_enum_b 1568s # ENUMNAME: SOME_ENUM_B 1568s # ENUMSHORT: ENUM_B 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: SomeEnumB 1568s # enum_name: some_enum_b 1568s # ENUMNAME: SOME_ENUM_B 1568s # ENUMSHORT: ENUM_B 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: ENUM_VALUE_PUBLIC2 1568s # valuenick: public2 1568s # valuenum: 1 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: SomeEnumB 1568s # enum_name: some_enum_b 1568s # ENUMNAME: SOME_ENUM_B 1568s # ENUMSHORT: ENUM_B 1568s # ENUMPREFIX: SOME 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1568s # tmpdir: /tmp/tmpg4xkai6p 1568s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmpg4xkai6p/tmpgvo1bdtt.h: 1568s # typedef enum { 1568s # /*< private >*/ 1568s # ENUM_VALUE_PRIVATE = 5, 1568s # /*< public >*/ 1568s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1568s # } TestSymbolicEnum; 1568s # 1568s # /tmp/tmpg4xkai6p/tmp0inakqai.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN file-production ***/ 1568s # file-production 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-production ***/ 1568s # 1568s # /*** BEGIN enumeration-production ***/ 1568s # enumeration-production 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END enumeration-production ***/ 1568s # 1568s # /*** BEGIN value-header ***/ 1568s # value-header 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-header ***/ 1568s # 1568s # /*** BEGIN value-production ***/ 1568s # value-production 1568s # VALUENAME: @VALUENAME@ 1568s # valuenick: @valuenick@ 1568s # valuenum: @valuenum@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-production ***/ 1568s # 1568s # /*** BEGIN value-tail ***/ 1568s # value-tail 1568s # EnumName: @EnumName@ 1568s # enum_name: @enum_name@ 1568s # ENUMNAME: @ENUMNAME@ 1568s # ENUMSHORT: @ENUMSHORT@ 1568s # ENUMPREFIX: @ENUMPREFIX@ 1568s # enumsince: @enumsince@ 1568s # type: @type@ 1568s # Type: @Type@ 1568s # TYPE: @TYPE@ 1568s # /*** END value-tail ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # /*** END file-tail ***/ 1568s # 1568s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg4xkai6p/tmp0inakqai.template', '/tmp/tmpg4xkai6p/tmpgvo1bdtt.h'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # file-production 1568s # filename: /tmp/tmpg4xkai6p/tmpgvo1bdtt.h 1568s # basename: tmpgvo1bdtt.h 1568s # enumeration-production 1568s # EnumName: TestSymbolicEnum 1568s # enum_name: test_symbolic_enum 1568s # ENUMNAME: TEST_SYMBOLIC_ENUM 1568s # ENUMSHORT: SYMBOLIC_ENUM 1568s # ENUMPREFIX: TEST 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-header 1568s # EnumName: TestSymbolicEnum 1568s # enum_name: test_symbolic_enum 1568s # ENUMNAME: TEST_SYMBOLIC_ENUM 1568s # ENUMSHORT: SYMBOLIC_ENUM 1568s # ENUMPREFIX: TEST 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-production 1568s # VALUENAME: ENUM_VALUE_PUBLIC 1568s # valuenick: public 1568s # valuenum: 7 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # value-tail 1568s # EnumName: TestSymbolicEnum 1568s # enum_name: test_symbolic_enum 1568s # ENUMNAME: TEST_SYMBOLIC_ENUM 1568s # ENUMSHORT: SYMBOLIC_ENUM 1568s # ENUMPREFIX: TEST 1568s # enumsince: 1568s # type: enum 1568s # Type: Enum 1568s # TYPE: ENUM 1568s # file-tail 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1568s # tmpdir: /tmp/tmpgji2omh_ 1568s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1568s # /tmp/tmpgji2omh_/tmp2jicv_ez.template: 1568s # /*** BEGIN file-header ***/ 1568s # file-header 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-header ***/ 1568s # 1568s # /*** BEGIN comment ***/ 1568s # comment 1568s # comment: @comment@ 1568s # /*** END comment ***/ 1568s # 1568s # /*** BEGIN file-tail ***/ 1568s # file-tail 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # /*** END file-tail ***/ 1568s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgji2omh_/tmp2jicv_ez.template'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: comment 1568s # 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. 1568s # 1568s # 1568s # file-header 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # file-tail 1568s # filename: @filename@ 1568s # basename: @basename@ 1568s # 1568s # comment 1568s # comment: Generated data ends here 1568s ok 11 __main__.TestMkenums.test_help 1568s # tmpdir: /tmp/tmppjafi21a 1568s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1568s # Running: ['/usr/bin/glib-mkenums', '--help'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1568s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1568s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1568s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1568s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1568s # [--output OUTPUT] [--version] 1568s # [args ...] 1568s # 1568s # positional arguments: 1568s # args One or more input files, or a single argument 1568s # @rspfile_path pointing to a file that contains the 1568s # actual arguments 1568s # 1568s # options: 1568s # -h, --help show this help message and exit 1568s # --identifier-prefix IDPREFIX 1568s # Identifier prefix 1568s # --symbol-prefix SYMPREFIX 1568s # Symbol prefix 1568s # --fhead FHEAD Output file header 1568s # --ftail FTAIL Output file footer 1568s # --fprod FPROD Put out TEXT every time a new input file is being 1568s # processed. 1568s # --eprod EPROD Per enum text, produced prior to value iterations 1568s # --vhead VHEAD Value header, produced before iterating over enum 1568s # values 1568s # --vprod VPROD Value text, produced for each enum value. 1568s # --vtail VTAIL Value tail, produced after iterating over enum values 1568s # --comments COMMENT_TMPL 1568s # Comment structure 1568s # --template TEMPLATE Template file 1568s # --output OUTPUT 1568s # --version, -v Print version information 1568s # 1568s # Production text substitutions: 1568s # @EnumName@ PrefixTheXEnum 1568s # @enum_name@ prefix_the_xenum 1568s # @ENUMNAME@ PREFIX_THE_XENUM 1568s # @ENUMSHORT@ THE_XENUM 1568s # @ENUMPREFIX@ PREFIX 1568s # @enumsince@ the user-provided since value given 1568s # @VALUENAME@ PREFIX_THE_XVALUE 1568s # @valuenick@ the-xvalue 1568s # @valuenum@ the integer value (limited support, Since: 2.26) 1568s # @type@ either enum or flags 1568s # @Type@ either Enum or Flags 1568s # @TYPE@ either ENUM or FLAGS 1568s # @filename@ name of current input file 1568s # @basename@ base name of the current input file (Since: 2.22) 1568s ok 12 __main__.TestMkenums.test_no_args 1568s # tmpdir: /tmp/tmpbv252ooq 1568s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1568s # Running: ['/usr/bin/glib-mkenums'] 1568s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1568s # 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. */ 1568s # 1568s # 1568s # /* Generated data ends here */ 1569s ok 13 __main__.TestMkenums.test_no_headers 1569s # tmpdir: /tmp/tmplpo0bkbt 1569s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1569s # /tmp/tmplpo0bkbt/tmpq3p0_hmm.template: 1569s # /*** BEGIN file-header ***/ 1569s # file-header 1569s # /*** END file-header ***/ 1569s # 1569s # /*** BEGIN file-production ***/ 1569s # file-production 1569s # filename: @filename@ 1569s # basename: @basename@ 1569s # /*** END file-production ***/ 1569s # 1569s # /*** BEGIN enumeration-production ***/ 1569s # enumeration-production 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END enumeration-production ***/ 1569s # 1569s # /*** BEGIN value-header ***/ 1569s # value-header 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-header ***/ 1569s # 1569s # /*** BEGIN value-production ***/ 1569s # value-production 1569s # VALUENAME: @VALUENAME@ 1569s # valuenick: @valuenick@ 1569s # valuenum: @valuenum@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-production ***/ 1569s # 1569s # /*** BEGIN value-tail ***/ 1569s # value-tail 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-tail ***/ 1569s # 1569s # /*** BEGIN comment ***/ 1569s # comment 1569s # comment: @comment@ 1569s # /*** END comment ***/ 1569s # 1569s # /*** BEGIN file-tail ***/ 1569s # file-tail 1569s # /*** END file-tail ***/ 1569s # 1569s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplpo0bkbt/tmpq3p0_hmm.template'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: comment 1569s # 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. 1569s # 1569s # 1569s # file-header 1569s # file-tail 1569s # 1569s # comment 1569s # comment: Generated data ends here 1569s ok 14 __main__.TestMkenums.test_no_nick 1569s # tmpdir: /tmp/tmp1gai_264 1569s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1569s # /tmp/tmp1gai_264/tmpk2p7oie3.h: 1569s # typedef enum { 1569s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1569s # } GeglSamplerType; 1569s # 1569s # /tmp/tmp1gai_264/tmpu22f582g.template: 1569s # /*** BEGIN file-header ***/ 1569s # file-header 1569s # /*** END file-header ***/ 1569s # 1569s # /*** BEGIN file-production ***/ 1569s # file-production 1569s # filename: @filename@ 1569s # basename: @basename@ 1569s # /*** END file-production ***/ 1569s # 1569s # /*** BEGIN enumeration-production ***/ 1569s # enumeration-production 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END enumeration-production ***/ 1569s # 1569s # /*** BEGIN value-header ***/ 1569s # value-header 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-header ***/ 1569s # 1569s # /*** BEGIN value-production ***/ 1569s # value-production 1569s # VALUENAME: @VALUENAME@ 1569s # valuenick: @valuenick@ 1569s # valuenum: @valuenum@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-production ***/ 1569s # 1569s # /*** BEGIN value-tail ***/ 1569s # value-tail 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-tail ***/ 1569s # 1569s # /*** BEGIN comment ***/ 1569s # comment 1569s # comment: @comment@ 1569s # /*** END comment ***/ 1569s # 1569s # /*** BEGIN file-tail ***/ 1569s # file-tail 1569s # /*** END file-tail ***/ 1569s # 1569s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1gai_264/tmpu22f582g.template', '/tmp/tmp1gai_264/tmpk2p7oie3.h'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: comment 1569s # 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. 1569s # 1569s # 1569s # file-header 1569s # file-production 1569s # filename: /tmp/tmp1gai_264/tmpk2p7oie3.h 1569s # basename: tmpk2p7oie3.h 1569s # enumeration-production 1569s # EnumName: GeglSamplerType 1569s # enum_name: gegl_sampler_type 1569s # ENUMNAME: GEGL_SAMPLER_TYPE 1569s # ENUMSHORT: SAMPLER_TYPE 1569s # ENUMPREFIX: GEGL 1569s # enumsince: 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-header 1569s # EnumName: GeglSamplerType 1569s # enum_name: gegl_sampler_type 1569s # ENUMNAME: GEGL_SAMPLER_TYPE 1569s # ENUMSHORT: SAMPLER_TYPE 1569s # ENUMPREFIX: GEGL 1569s # enumsince: 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-production 1569s # VALUENAME: GEGL_SAMPLER_NEAREST 1569s # valuenick: nearest 1569s # valuenum: 0 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-tail 1569s # EnumName: GeglSamplerType 1569s # enum_name: gegl_sampler_type 1569s # ENUMNAME: GEGL_SAMPLER_TYPE 1569s # ENUMSHORT: SAMPLER_TYPE 1569s # ENUMPREFIX: GEGL 1569s # enumsince: 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # file-tail 1569s # 1569s # comment 1569s # comment: Generated data ends here 1569s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1569s # tmpdir: /tmp/tmpcggz0v4m 1569s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1569s # /tmp/tmpcggz0v4m/tmplsoa2wa0.h: 1569s # /* Copyright © La Peña */ 1569s # typedef enum { 1569s # ENUM_VALUE 1569s # } SomeEnumIdentifier; 1569s # 1569s # /tmp/tmpcggz0v4m/tmp620tima0.template: 1569s # /*** BEGIN file-header ***/ 1569s # file-header 1569s # /*** END file-header ***/ 1569s # 1569s # /*** BEGIN file-production ***/ 1569s # file-production 1569s # filename: @filename@ 1569s # basename: @basename@ 1569s # /*** END file-production ***/ 1569s # 1569s # /*** BEGIN enumeration-production ***/ 1569s # enumeration-production 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END enumeration-production ***/ 1569s # 1569s # /*** BEGIN value-header ***/ 1569s # value-header 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-header ***/ 1569s # 1569s # /*** BEGIN value-production ***/ 1569s # value-production 1569s # VALUENAME: @VALUENAME@ 1569s # valuenick: @valuenick@ 1569s # valuenum: @valuenum@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-production ***/ 1569s # 1569s # /*** BEGIN value-tail ***/ 1569s # value-tail 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-tail ***/ 1569s # 1569s # /*** BEGIN comment ***/ 1569s # comment 1569s # comment: @comment@ 1569s # /*** END comment ***/ 1569s # 1569s # /*** BEGIN file-tail ***/ 1569s # file-tail 1569s # /*** END file-tail ***/ 1569s # 1569s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcggz0v4m/tmp620tima0.template', '/tmp/tmpcggz0v4m/tmplsoa2wa0.h'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: comment 1569s # 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. 1569s # 1569s # 1569s # file-header 1569s # file-production 1569s # filename: /tmp/tmpcggz0v4m/tmplsoa2wa0.h 1569s # basename: tmplsoa2wa0.h 1569s # enumeration-production 1569s # EnumName: SomeEnumIdentifier 1569s # enum_name: some_enum_identifier 1569s # ENUMNAME: SOME_ENUM_IDENTIFIER 1569s # ENUMSHORT: ENUM_IDENTIFIER 1569s # ENUMPREFIX: SOME 1569s # enumsince: 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-header 1569s # EnumName: SomeEnumIdentifier 1569s # enum_name: some_enum_identifier 1569s # ENUMNAME: SOME_ENUM_IDENTIFIER 1569s # ENUMSHORT: ENUM_IDENTIFIER 1569s # ENUMPREFIX: SOME 1569s # enumsince: 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-production 1569s # VALUENAME: ENUM_VALUE 1569s # valuenick: value 1569s # valuenum: 0 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-tail 1569s # EnumName: SomeEnumIdentifier 1569s # enum_name: some_enum_identifier 1569s # ENUMNAME: SOME_ENUM_IDENTIFIER 1569s # ENUMSHORT: ENUM_IDENTIFIER 1569s # ENUMPREFIX: SOME 1569s # enumsince: 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # file-tail 1569s # 1569s # comment 1569s # comment: Generated data ends here 1569s ok 16 __main__.TestMkenums.test_reproducible 1569s # tmpdir: /tmp/tmpvufqrnj0 1569s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1569s # /tmp/tmpvufqrnj0/tmpafnqi3v_.template: template 1569s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvufqrnj0/tmpafnqi3v_.template', '/tmp/tmpvufqrnj0/tmpbtz1esd41.h', '/tmp/tmpvufqrnj0/tmpvl393qot2.h'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # 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. */ 1569s # 1569s # 1569s # /* Generated data ends here */ 1569s # /tmp/tmpvufqrnj0/tmpd7gl9qjn.template: template 1569s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvufqrnj0/tmpd7gl9qjn.template', '/tmp/tmpvufqrnj0/tmpvl393qot2.h', '/tmp/tmpvufqrnj0/tmpbtz1esd41.h'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # 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. */ 1569s # 1569s # 1569s # /* Generated data ends here */ 1569s ok 17 __main__.TestMkenums.test_since 1569s # tmpdir: /tmp/tmp45qcbcpu 1569s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1569s # /tmp/tmp45qcbcpu/tmpth63zgc9.h: 1569s # typedef enum { /*< since=1.0 >*/ 1569s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1569s # } QmiWmsMessageProtocol; 1569s # 1569s # /tmp/tmp45qcbcpu/tmpu4irr07u.template: 1569s # /*** BEGIN file-header ***/ 1569s # file-header 1569s # /*** END file-header ***/ 1569s # 1569s # /*** BEGIN file-production ***/ 1569s # file-production 1569s # filename: @filename@ 1569s # basename: @basename@ 1569s # /*** END file-production ***/ 1569s # 1569s # /*** BEGIN enumeration-production ***/ 1569s # enumeration-production 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END enumeration-production ***/ 1569s # 1569s # /*** BEGIN value-header ***/ 1569s # value-header 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-header ***/ 1569s # 1569s # /*** BEGIN value-production ***/ 1569s # value-production 1569s # VALUENAME: @VALUENAME@ 1569s # valuenick: @valuenick@ 1569s # valuenum: @valuenum@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-production ***/ 1569s # 1569s # /*** BEGIN value-tail ***/ 1569s # value-tail 1569s # EnumName: @EnumName@ 1569s # enum_name: @enum_name@ 1569s # ENUMNAME: @ENUMNAME@ 1569s # ENUMSHORT: @ENUMSHORT@ 1569s # ENUMPREFIX: @ENUMPREFIX@ 1569s # enumsince: @enumsince@ 1569s # type: @type@ 1569s # Type: @Type@ 1569s # TYPE: @TYPE@ 1569s # /*** END value-tail ***/ 1569s # 1569s # /*** BEGIN comment ***/ 1569s # comment 1569s # comment: @comment@ 1569s # /*** END comment ***/ 1569s # 1569s # /*** BEGIN file-tail ***/ 1569s # file-tail 1569s # /*** END file-tail ***/ 1569s # 1569s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp45qcbcpu/tmpu4irr07u.template', '/tmp/tmp45qcbcpu/tmpth63zgc9.h'] 1569s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1569s # Output: comment 1569s # 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. 1569s # 1569s # 1569s # file-header 1569s # file-production 1569s # filename: /tmp/tmp45qcbcpu/tmpth63zgc9.h 1569s # basename: tmpth63zgc9.h 1569s # enumeration-production 1569s # EnumName: QmiWmsMessageProtocol 1569s # enum_name: qmi_wms_message_protocol 1569s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1569s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1569s # ENUMPREFIX: QMI 1569s # enumsince: 1.0 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-header 1569s # EnumName: QmiWmsMessageProtocol 1569s # enum_name: qmi_wms_message_protocol 1569s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1569s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1569s # ENUMPREFIX: QMI 1569s # enumsince: 1.0 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-production 1569s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1569s # valuenick: cdma 1569s # valuenum: 0 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # value-tail 1569s # EnumName: QmiWmsMessageProtocol 1569s # enum_name: qmi_wms_message_protocol 1569s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1569s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1569s # ENUMPREFIX: QMI 1569s # enumsince: 1.0 1569s # type: enum 1569s # Type: Enum 1569s # TYPE: ENUM 1569s # file-tail 1569s # 1569s # comment 1569s # comment: Generated data ends here 1570s ok 18 __main__.TestMkenums.test_with_double_quotes 1570s # tmpdir: /tmp/tmp1ohnf3mn 1570s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1570s # /tmp/tmp1ohnf3mn/tmpi5v9wzee.h: 1570s # typedef enum { 1570s # FOO_VALUE /*< nick="eek, a comma" >*/ 1570s # } Foo; 1570s # 1570s # /tmp/tmp1ohnf3mn/tmpjcun74v6.template: 1570s # /*** BEGIN file-header ***/ 1570s # file-header 1570s # /*** END file-header ***/ 1570s # 1570s # /*** BEGIN file-production ***/ 1570s # file-production 1570s # filename: @filename@ 1570s # basename: @basename@ 1570s # /*** END file-production ***/ 1570s # 1570s # /*** BEGIN enumeration-production ***/ 1570s # enumeration-production 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END enumeration-production ***/ 1570s # 1570s # /*** BEGIN value-header ***/ 1570s # value-header 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-header ***/ 1570s # 1570s # /*** BEGIN value-production ***/ 1570s # value-production 1570s # VALUENAME: @VALUENAME@ 1570s # valuenick: @valuenick@ 1570s # valuenum: @valuenum@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-production ***/ 1570s # 1570s # /*** BEGIN value-tail ***/ 1570s # value-tail 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-tail ***/ 1570s # 1570s # /*** BEGIN comment ***/ 1570s # comment 1570s # comment: @comment@ 1570s # /*** END comment ***/ 1570s # 1570s # /*** BEGIN file-tail ***/ 1570s # file-tail 1570s # /*** END file-tail ***/ 1570s # 1570s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1ohnf3mn/tmpjcun74v6.template', '/tmp/tmp1ohnf3mn/tmpi5v9wzee.h'] 1570s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1570s # Output: comment 1570s # 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. 1570s # 1570s # 1570s # file-header 1570s # file-production 1570s # filename: /tmp/tmp1ohnf3mn/tmpi5v9wzee.h 1570s # basename: tmpi5v9wzee.h 1570s # enumeration-production 1570s # EnumName: Foo 1570s # enum_name: foo_ 1570s # ENUMNAME: FOO_ 1570s # ENUMSHORT: 1570s # ENUMPREFIX: FOO 1570s # enumsince: 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # value-header 1570s # EnumName: Foo 1570s # enum_name: foo_ 1570s # ENUMNAME: FOO_ 1570s # ENUMSHORT: 1570s # ENUMPREFIX: FOO 1570s # enumsince: 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # value-production 1570s # VALUENAME: FOO_VALUE 1570s # valuenick: eek, a comma 1570s # valuenum: 0 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # value-tail 1570s # EnumName: Foo 1570s # enum_name: foo_ 1570s # ENUMNAME: FOO_ 1570s # ENUMSHORT: 1570s # ENUMPREFIX: FOO 1570s # enumsince: 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # file-tail 1570s # 1570s # comment 1570s # comment: Generated data ends here 1570s ok 19 __main__.TestRspMkenums.test_available_in 1570s # tmpdir: /tmp/tmp6vw1kds_ 1570s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1570s # /tmp/tmp6vw1kds_/tmp7pmvzq2s.h: 1570s # typedef enum { 1570s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1570s # } GDBusServerFlags; 1570s # 1570s # /tmp/tmp6vw1kds_/tmpdi1rsdyv.template: 1570s # /*** BEGIN file-header ***/ 1570s # file-header 1570s # /*** END file-header ***/ 1570s # 1570s # /*** BEGIN file-production ***/ 1570s # file-production 1570s # filename: @filename@ 1570s # basename: @basename@ 1570s # /*** END file-production ***/ 1570s # 1570s # /*** BEGIN enumeration-production ***/ 1570s # enumeration-production 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END enumeration-production ***/ 1570s # 1570s # /*** BEGIN value-header ***/ 1570s # value-header 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-header ***/ 1570s # 1570s # /*** BEGIN value-production ***/ 1570s # value-production 1570s # VALUENAME: @VALUENAME@ 1570s # valuenick: @valuenick@ 1570s # valuenum: @valuenum@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-production ***/ 1570s # 1570s # /*** BEGIN value-tail ***/ 1570s # value-tail 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-tail ***/ 1570s # 1570s # /*** BEGIN comment ***/ 1570s # comment 1570s # comment: @comment@ 1570s # /*** END comment ***/ 1570s # 1570s # /*** BEGIN file-tail ***/ 1570s # file-tail 1570s # /*** END file-tail ***/ 1570s # 1570s # Response file contains: --template /tmp/tmp6vw1kds_/tmpdi1rsdyv.template /tmp/tmp6vw1kds_/tmp7pmvzq2s.h 1570s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6vw1kds_/tmpudep7aop'] 1570s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1570s # Output: comment 1570s # 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. 1570s # 1570s # 1570s # file-header 1570s # file-production 1570s # filename: /tmp/tmp6vw1kds_/tmp7pmvzq2s.h 1570s # basename: tmp7pmvzq2s.h 1570s # enumeration-production 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-header 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-production 1570s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1570s # valuenick: user 1570s # valuenum: 4 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-tail 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # file-tail 1570s # 1570s # comment 1570s # comment: Generated data ends here 1570s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1570s # tmpdir: /tmp/tmpr871lr3p 1570s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1570s # /tmp/tmpr871lr3p/tmp3ukcd_12.h: 1570s # typedef enum { 1570s # ENUM_VALUE_WITH_COMMA = ',', 1570s # } TestCommaEnum; 1570s # 1570s # /tmp/tmpr871lr3p/tmp2a0__rb1.template: 1570s # /*** BEGIN file-header ***/ 1570s # file-header 1570s # /*** END file-header ***/ 1570s # 1570s # /*** BEGIN file-production ***/ 1570s # file-production 1570s # filename: @filename@ 1570s # basename: @basename@ 1570s # /*** END file-production ***/ 1570s # 1570s # /*** BEGIN enumeration-production ***/ 1570s # enumeration-production 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END enumeration-production ***/ 1570s # 1570s # /*** BEGIN value-header ***/ 1570s # value-header 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-header ***/ 1570s # 1570s # /*** BEGIN value-production ***/ 1570s # value-production 1570s # VALUENAME: @VALUENAME@ 1570s # valuenick: @valuenick@ 1570s # valuenum: @valuenum@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-production ***/ 1570s # 1570s # /*** BEGIN value-tail ***/ 1570s # value-tail 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-tail ***/ 1570s # 1570s # /*** BEGIN comment ***/ 1570s # comment 1570s # comment: @comment@ 1570s # /*** END comment ***/ 1570s # 1570s # /*** BEGIN file-tail ***/ 1570s # file-tail 1570s # /*** END file-tail ***/ 1570s # 1570s # Response file contains: --template /tmp/tmpr871lr3p/tmp2a0__rb1.template /tmp/tmpr871lr3p/tmp3ukcd_12.h 1570s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr871lr3p/tmpvenlb1b0'] 1570s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1570s # Output: comment 1570s # 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. 1570s # 1570s # 1570s # file-header 1570s # file-production 1570s # filename: /tmp/tmpr871lr3p/tmp3ukcd_12.h 1570s # basename: tmp3ukcd_12.h 1570s # enumeration-production 1570s # EnumName: TestCommaEnum 1570s # enum_name: test_comma_enum 1570s # ENUMNAME: TEST_COMMA_ENUM 1570s # ENUMSHORT: COMMA_ENUM 1570s # ENUMPREFIX: TEST 1570s # enumsince: 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # value-header 1570s # EnumName: TestCommaEnum 1570s # enum_name: test_comma_enum 1570s # ENUMNAME: TEST_COMMA_ENUM 1570s # ENUMSHORT: COMMA_ENUM 1570s # ENUMPREFIX: TEST 1570s # enumsince: 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # value-production 1570s # VALUENAME: ENUM_VALUE_WITH_COMMA 1570s # valuenick: comma 1570s # valuenum: 44 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # value-tail 1570s # EnumName: TestCommaEnum 1570s # enum_name: test_comma_enum 1570s # ENUMNAME: TEST_COMMA_ENUM 1570s # ENUMSHORT: COMMA_ENUM 1570s # ENUMPREFIX: TEST 1570s # enumsince: 1570s # type: enum 1570s # Type: Enum 1570s # TYPE: ENUM 1570s # file-tail 1570s # 1570s # comment 1570s # comment: Generated data ends here 1570s ok 21 __main__.TestRspMkenums.test_deprecated_in 1570s # tmpdir: /tmp/tmp31d9ki78 1570s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1570s # /tmp/tmp31d9ki78/tmppgsjrxdm.h: 1570s # typedef enum { 1570s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1570s # } GDBusServerFlags; 1570s # 1570s # /tmp/tmp31d9ki78/tmp9562a0r5.template: 1570s # /*** BEGIN file-header ***/ 1570s # file-header 1570s # /*** END file-header ***/ 1570s # 1570s # /*** BEGIN file-production ***/ 1570s # file-production 1570s # filename: @filename@ 1570s # basename: @basename@ 1570s # /*** END file-production ***/ 1570s # 1570s # /*** BEGIN enumeration-production ***/ 1570s # enumeration-production 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END enumeration-production ***/ 1570s # 1570s # /*** BEGIN value-header ***/ 1570s # value-header 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-header ***/ 1570s # 1570s # /*** BEGIN value-production ***/ 1570s # value-production 1570s # VALUENAME: @VALUENAME@ 1570s # valuenick: @valuenick@ 1570s # valuenum: @valuenum@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-production ***/ 1570s # 1570s # /*** BEGIN value-tail ***/ 1570s # value-tail 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-tail ***/ 1570s # 1570s # /*** BEGIN comment ***/ 1570s # comment 1570s # comment: @comment@ 1570s # /*** END comment ***/ 1570s # 1570s # /*** BEGIN file-tail ***/ 1570s # file-tail 1570s # /*** END file-tail ***/ 1570s # 1570s # Response file contains: --template /tmp/tmp31d9ki78/tmp9562a0r5.template /tmp/tmp31d9ki78/tmppgsjrxdm.h 1570s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp31d9ki78/tmpley1quwk'] 1570s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1570s # Output: comment 1570s # 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. 1570s # 1570s # 1570s # file-header 1570s # file-production 1570s # filename: /tmp/tmp31d9ki78/tmppgsjrxdm.h 1570s # basename: tmppgsjrxdm.h 1570s # enumeration-production 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-header 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-production 1570s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1570s # valuenick: user 1570s # valuenum: 4 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-tail 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # file-tail 1570s # 1570s # comment 1570s # comment: Generated data ends here 1570s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1570s # tmpdir: /tmp/tmpb46mk0zz 1570s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1570s # /tmp/tmpb46mk0zz/tmpsz3r3984.h: 1570s # typedef enum { 1570s # 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) 1570s # } GDBusServerFlags; 1570s # 1570s # /tmp/tmpb46mk0zz/tmpz9knr1ne.template: 1570s # /*** BEGIN file-header ***/ 1570s # file-header 1570s # /*** END file-header ***/ 1570s # 1570s # /*** BEGIN file-production ***/ 1570s # file-production 1570s # filename: @filename@ 1570s # basename: @basename@ 1570s # /*** END file-production ***/ 1570s # 1570s # /*** BEGIN enumeration-production ***/ 1570s # enumeration-production 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END enumeration-production ***/ 1570s # 1570s # /*** BEGIN value-header ***/ 1570s # value-header 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-header ***/ 1570s # 1570s # /*** BEGIN value-production ***/ 1570s # value-production 1570s # VALUENAME: @VALUENAME@ 1570s # valuenick: @valuenick@ 1570s # valuenum: @valuenum@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-production ***/ 1570s # 1570s # /*** BEGIN value-tail ***/ 1570s # value-tail 1570s # EnumName: @EnumName@ 1570s # enum_name: @enum_name@ 1570s # ENUMNAME: @ENUMNAME@ 1570s # ENUMSHORT: @ENUMSHORT@ 1570s # ENUMPREFIX: @ENUMPREFIX@ 1570s # enumsince: @enumsince@ 1570s # type: @type@ 1570s # Type: @Type@ 1570s # TYPE: @TYPE@ 1570s # /*** END value-tail ***/ 1570s # 1570s # /*** BEGIN comment ***/ 1570s # comment 1570s # comment: @comment@ 1570s # /*** END comment ***/ 1570s # 1570s # /*** BEGIN file-tail ***/ 1570s # file-tail 1570s # /*** END file-tail ***/ 1570s # 1570s # Response file contains: --template /tmp/tmpb46mk0zz/tmpz9knr1ne.template /tmp/tmpb46mk0zz/tmpsz3r3984.h 1570s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb46mk0zz/tmpcu02vxf2'] 1570s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1570s # Output: comment 1570s # 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. 1570s # 1570s # 1570s # file-header 1570s # file-production 1570s # filename: /tmp/tmpb46mk0zz/tmpsz3r3984.h 1570s # basename: tmpsz3r3984.h 1570s # enumeration-production 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-header 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-production 1570s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1570s # valuenick: user 1570s # valuenum: 4 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # value-tail 1570s # EnumName: GDBusServerFlags 1570s # enum_name: g_dbus_server_flags 1570s # ENUMNAME: G_DBUS_SERVER_FLAGS 1570s # ENUMSHORT: DBUS_SERVER_FLAGS 1570s # ENUMPREFIX: G 1570s # enumsince: 1570s # type: flags 1570s # Type: Flags 1570s # TYPE: FLAGS 1570s # file-tail 1570s # 1570s # comment 1570s # comment: Generated data ends here 1571s ok 23 __main__.TestRspMkenums.test_empty_header 1571s # tmpdir: /tmp/tmpec5qu2_d 1571s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1571s # /tmp/tmpec5qu2_d/tmpcf304jn5.h: 1571s # /tmp/tmpec5qu2_d/tmpem6a_n6h.template: 1571s # /*** BEGIN file-header ***/ 1571s # file-header 1571s # /*** END file-header ***/ 1571s # 1571s # /*** BEGIN file-production ***/ 1571s # file-production 1571s # filename: @filename@ 1571s # basename: @basename@ 1571s # /*** END file-production ***/ 1571s # 1571s # /*** BEGIN enumeration-production ***/ 1571s # enumeration-production 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END enumeration-production ***/ 1571s # 1571s # /*** BEGIN value-header ***/ 1571s # value-header 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-header ***/ 1571s # 1571s # /*** BEGIN value-production ***/ 1571s # value-production 1571s # VALUENAME: @VALUENAME@ 1571s # valuenick: @valuenick@ 1571s # valuenum: @valuenum@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-production ***/ 1571s # 1571s # /*** BEGIN value-tail ***/ 1571s # value-tail 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-tail ***/ 1571s # 1571s # /*** BEGIN comment ***/ 1571s # comment 1571s # comment: @comment@ 1571s # /*** END comment ***/ 1571s # 1571s # /*** BEGIN file-tail ***/ 1571s # file-tail 1571s # /*** END file-tail ***/ 1571s # 1571s # Response file contains: --template /tmp/tmpec5qu2_d/tmpem6a_n6h.template /tmp/tmpec5qu2_d/tmpcf304jn5.h 1571s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpec5qu2_d/tmpple08c2g'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: comment 1571s # 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. 1571s # 1571s # 1571s # file-header 1571s # file-tail 1571s # 1571s # comment 1571s # comment: Generated data ends here 1571s ok 24 __main__.TestRspMkenums.test_empty_template 1571s # tmpdir: /tmp/tmpswbtuobu 1571s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1571s # /tmp/tmpswbtuobu/tmpff338n1q.template: 1571s # Response file contains: --template /tmp/tmpswbtuobu/tmpff338n1q.template 1571s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpswbtuobu/tmpjofgztkl'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # 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. */ 1571s # 1571s # 1571s # /* Generated data ends here */ 1571s ok 25 __main__.TestRspMkenums.test_enum_name 1571s # tmpdir: /tmp/tmp8chjypu6 1571s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1571s # /tmp/tmp8chjypu6/tmpaqjaapjn.h: 1571s # typedef enum _SomeEnumIdentifier { 1571s # ENUM_VALUE 1571s # } SomeEnumIdentifier; 1571s # 1571s # /tmp/tmp8chjypu6/tmpq7g_10g6.template: 1571s # /*** BEGIN file-header ***/ 1571s # file-header 1571s # /*** END file-header ***/ 1571s # 1571s # /*** BEGIN file-production ***/ 1571s # file-production 1571s # filename: @filename@ 1571s # basename: @basename@ 1571s # /*** END file-production ***/ 1571s # 1571s # /*** BEGIN enumeration-production ***/ 1571s # enumeration-production 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END enumeration-production ***/ 1571s # 1571s # /*** BEGIN value-header ***/ 1571s # value-header 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-header ***/ 1571s # 1571s # /*** BEGIN value-production ***/ 1571s # value-production 1571s # VALUENAME: @VALUENAME@ 1571s # valuenick: @valuenick@ 1571s # valuenum: @valuenum@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-production ***/ 1571s # 1571s # /*** BEGIN value-tail ***/ 1571s # value-tail 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-tail ***/ 1571s # 1571s # /*** BEGIN comment ***/ 1571s # comment 1571s # comment: @comment@ 1571s # /*** END comment ***/ 1571s # 1571s # /*** BEGIN file-tail ***/ 1571s # file-tail 1571s # /*** END file-tail ***/ 1571s # 1571s # Response file contains: --template /tmp/tmp8chjypu6/tmpq7g_10g6.template /tmp/tmp8chjypu6/tmpaqjaapjn.h 1571s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8chjypu6/tmpoz1_ck2_'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: comment 1571s # 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. 1571s # 1571s # 1571s # file-header 1571s # file-production 1571s # filename: /tmp/tmp8chjypu6/tmpaqjaapjn.h 1571s # basename: tmpaqjaapjn.h 1571s # enumeration-production 1571s # EnumName: SomeEnumIdentifier 1571s # enum_name: some_enum_identifier 1571s # ENUMNAME: SOME_ENUM_IDENTIFIER 1571s # ENUMSHORT: ENUM_IDENTIFIER 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-header 1571s # EnumName: SomeEnumIdentifier 1571s # enum_name: some_enum_identifier 1571s # ENUMNAME: SOME_ENUM_IDENTIFIER 1571s # ENUMSHORT: ENUM_IDENTIFIER 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-production 1571s # VALUENAME: ENUM_VALUE 1571s # valuenick: value 1571s # valuenum: 0 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-tail 1571s # EnumName: SomeEnumIdentifier 1571s # enum_name: some_enum_identifier 1571s # ENUMNAME: SOME_ENUM_IDENTIFIER 1571s # ENUMSHORT: ENUM_IDENTIFIER 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # file-tail 1571s # 1571s # comment 1571s # comment: Generated data ends here 1571s ok 26 __main__.TestRspMkenums.test_enum_private_public 1571s # tmpdir: /tmp/tmp45pkz7ui 1571s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1571s # /tmp/tmp45pkz7ui/tmpnpi2mlwu.h: 1571s # typedef enum { 1571s # ENUM_VALUE_PUBLIC1, 1571s # /*< private >*/ 1571s # ENUM_VALUE_PRIVATE, 1571s # } SomeEnumA 1571s # 1571s # /tmp/tmp45pkz7ui/tmpukxwvhoo.template: 1571s # /*** BEGIN file-header ***/ 1571s # file-header 1571s # /*** END file-header ***/ 1571s # 1571s # /*** BEGIN file-production ***/ 1571s # file-production 1571s # filename: @filename@ 1571s # basename: @basename@ 1571s # /*** END file-production ***/ 1571s # 1571s # /*** BEGIN enumeration-production ***/ 1571s # enumeration-production 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END enumeration-production ***/ 1571s # 1571s # /*** BEGIN value-header ***/ 1571s # value-header 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-header ***/ 1571s # 1571s # /*** BEGIN value-production ***/ 1571s # value-production 1571s # VALUENAME: @VALUENAME@ 1571s # valuenick: @valuenick@ 1571s # valuenum: @valuenum@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-production ***/ 1571s # 1571s # /*** BEGIN value-tail ***/ 1571s # value-tail 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-tail ***/ 1571s # 1571s # /*** BEGIN comment ***/ 1571s # comment 1571s # comment: @comment@ 1571s # /*** END comment ***/ 1571s # 1571s # /*** BEGIN file-tail ***/ 1571s # file-tail 1571s # /*** END file-tail ***/ 1571s # 1571s # Response file contains: --template /tmp/tmp45pkz7ui/tmpukxwvhoo.template /tmp/tmp45pkz7ui/tmpnpi2mlwu.h 1571s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp45pkz7ui/tmpax9xoylg'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: comment 1571s # 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. 1571s # 1571s # 1571s # file-header 1571s # file-production 1571s # filename: /tmp/tmp45pkz7ui/tmpnpi2mlwu.h 1571s # basename: tmpnpi2mlwu.h 1571s # enumeration-production 1571s # EnumName: SomeEnumA 1571s # enum_name: some_enum_a 1571s # ENUMNAME: SOME_ENUM_A 1571s # ENUMSHORT: ENUM_A 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-header 1571s # EnumName: SomeEnumA 1571s # enum_name: some_enum_a 1571s # ENUMNAME: SOME_ENUM_A 1571s # ENUMSHORT: ENUM_A 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-production 1571s # VALUENAME: ENUM_VALUE_PUBLIC1 1571s # valuenick: public1 1571s # valuenum: 0 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-tail 1571s # EnumName: SomeEnumA 1571s # enum_name: some_enum_a 1571s # ENUMNAME: SOME_ENUM_A 1571s # ENUMSHORT: ENUM_A 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # file-tail 1571s # 1571s # comment 1571s # comment: Generated data ends here 1571s # /tmp/tmp45pkz7ui/tmpbcia3fgo.h: 1571s # typedef enum { 1571s # /*< private >*/ 1571s # ENUM_VALUE_PRIVATE, 1571s # /*< public >*/ 1571s # ENUM_VALUE_PUBLIC2, 1571s # } SomeEnumB; 1571s # 1571s # /tmp/tmp45pkz7ui/tmpwlm29tdy.template: 1571s # /*** BEGIN file-header ***/ 1571s # file-header 1571s # /*** END file-header ***/ 1571s # 1571s # /*** BEGIN file-production ***/ 1571s # file-production 1571s # filename: @filename@ 1571s # basename: @basename@ 1571s # /*** END file-production ***/ 1571s # 1571s # /*** BEGIN enumeration-production ***/ 1571s # enumeration-production 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END enumeration-production ***/ 1571s # 1571s # /*** BEGIN value-header ***/ 1571s # value-header 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-header ***/ 1571s # 1571s # /*** BEGIN value-production ***/ 1571s # value-production 1571s # VALUENAME: @VALUENAME@ 1571s # valuenick: @valuenick@ 1571s # valuenum: @valuenum@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-production ***/ 1571s # 1571s # /*** BEGIN value-tail ***/ 1571s # value-tail 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-tail ***/ 1571s # 1571s # /*** BEGIN comment ***/ 1571s # comment 1571s # comment: @comment@ 1571s # /*** END comment ***/ 1571s # 1571s # /*** BEGIN file-tail ***/ 1571s # file-tail 1571s # /*** END file-tail ***/ 1571s # 1571s # Response file contains: --template /tmp/tmp45pkz7ui/tmpwlm29tdy.template /tmp/tmp45pkz7ui/tmpbcia3fgo.h 1571s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp45pkz7ui/tmpda0u8wj4'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: comment 1571s # 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. 1571s # 1571s # 1571s # file-header 1571s # file-production 1571s # filename: /tmp/tmp45pkz7ui/tmpbcia3fgo.h 1571s # basename: tmpbcia3fgo.h 1571s # enumeration-production 1571s # EnumName: SomeEnumB 1571s # enum_name: some_enum_b 1571s # ENUMNAME: SOME_ENUM_B 1571s # ENUMSHORT: ENUM_B 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-header 1571s # EnumName: SomeEnumB 1571s # enum_name: some_enum_b 1571s # ENUMNAME: SOME_ENUM_B 1571s # ENUMSHORT: ENUM_B 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-production 1571s # VALUENAME: ENUM_VALUE_PUBLIC2 1571s # valuenick: public2 1571s # valuenum: 1 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-tail 1571s # EnumName: SomeEnumB 1571s # enum_name: some_enum_b 1571s # ENUMNAME: SOME_ENUM_B 1571s # ENUMSHORT: ENUM_B 1571s # ENUMPREFIX: SOME 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # file-tail 1571s # 1571s # comment 1571s # comment: Generated data ends here 1571s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1571s # tmpdir: /tmp/tmpei7vnify 1571s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1571s # /tmp/tmpei7vnify/tmpvi8mp6qu.h: 1571s # typedef enum { 1571s # /*< private >*/ 1571s # ENUM_VALUE_PRIVATE = 5, 1571s # /*< public >*/ 1571s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1571s # } TestSymbolicEnum; 1571s # 1571s # /tmp/tmpei7vnify/tmp947f8ucq.template: 1571s # /*** BEGIN file-header ***/ 1571s # file-header 1571s # /*** END file-header ***/ 1571s # 1571s # /*** BEGIN file-production ***/ 1571s # file-production 1571s # filename: @filename@ 1571s # basename: @basename@ 1571s # /*** END file-production ***/ 1571s # 1571s # /*** BEGIN enumeration-production ***/ 1571s # enumeration-production 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END enumeration-production ***/ 1571s # 1571s # /*** BEGIN value-header ***/ 1571s # value-header 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-header ***/ 1571s # 1571s # /*** BEGIN value-production ***/ 1571s # value-production 1571s # VALUENAME: @VALUENAME@ 1571s # valuenick: @valuenick@ 1571s # valuenum: @valuenum@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-production ***/ 1571s # 1571s # /*** BEGIN value-tail ***/ 1571s # value-tail 1571s # EnumName: @EnumName@ 1571s # enum_name: @enum_name@ 1571s # ENUMNAME: @ENUMNAME@ 1571s # ENUMSHORT: @ENUMSHORT@ 1571s # ENUMPREFIX: @ENUMPREFIX@ 1571s # enumsince: @enumsince@ 1571s # type: @type@ 1571s # Type: @Type@ 1571s # TYPE: @TYPE@ 1571s # /*** END value-tail ***/ 1571s # 1571s # /*** BEGIN comment ***/ 1571s # comment 1571s # comment: @comment@ 1571s # /*** END comment ***/ 1571s # 1571s # /*** BEGIN file-tail ***/ 1571s # file-tail 1571s # /*** END file-tail ***/ 1571s # 1571s # Response file contains: --template /tmp/tmpei7vnify/tmp947f8ucq.template /tmp/tmpei7vnify/tmpvi8mp6qu.h 1571s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpei7vnify/tmp7znzvg6t'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1571s # Output: comment 1571s # 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. 1571s # 1571s # 1571s # file-header 1571s # file-production 1571s # filename: /tmp/tmpei7vnify/tmpvi8mp6qu.h 1571s # basename: tmpvi8mp6qu.h 1571s # enumeration-production 1571s # EnumName: TestSymbolicEnum 1571s # enum_name: test_symbolic_enum 1571s # ENUMNAME: TEST_SYMBOLIC_ENUM 1571s # ENUMSHORT: SYMBOLIC_ENUM 1571s # ENUMPREFIX: TEST 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-header 1571s # EnumName: TestSymbolicEnum 1571s # enum_name: test_symbolic_enum 1571s # ENUMNAME: TEST_SYMBOLIC_ENUM 1571s # ENUMSHORT: SYMBOLIC_ENUM 1571s # ENUMPREFIX: TEST 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-production 1571s # VALUENAME: ENUM_VALUE_PUBLIC 1571s # valuenick: public 1571s # valuenum: 7 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # value-tail 1571s # EnumName: TestSymbolicEnum 1571s # enum_name: test_symbolic_enum 1571s # ENUMNAME: TEST_SYMBOLIC_ENUM 1571s # ENUMSHORT: SYMBOLIC_ENUM 1571s # ENUMPREFIX: TEST 1571s # enumsince: 1571s # type: enum 1571s # Type: Enum 1571s # TYPE: ENUM 1571s # file-tail 1571s # 1571s # comment 1571s # comment: Generated data ends here 1572s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1572s # tmpdir: /tmp/tmpbg4r6ueh 1572s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1572s # /tmp/tmpbg4r6ueh/tmpwwkoexoq.template: 1572s # /*** BEGIN file-header ***/ 1572s # file-header 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # /*** END file-header ***/ 1572s # 1572s # /*** BEGIN comment ***/ 1572s # comment 1572s # comment: @comment@ 1572s # /*** END comment ***/ 1572s # 1572s # /*** BEGIN file-tail ***/ 1572s # file-tail 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # /*** END file-tail ***/ 1572s # Response file contains: --template /tmp/tmpbg4r6ueh/tmpwwkoexoq.template 1572s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbg4r6ueh/tmp4x1699kc'] 1572s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1572s # Output: comment 1572s # 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. 1572s # 1572s # 1572s # file-header 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # file-tail 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # 1572s # comment 1572s # comment: Generated data ends here 1572s ok 29 __main__.TestRspMkenums.test_help 1572s # tmpdir: /tmp/tmp6s12skwb 1572s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1572s # Response file contains: --help 1572s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6s12skwb/tmp4tu86esx'] 1572s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1572s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1572s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1572s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1572s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1572s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1572s # [--output OUTPUT] [--version] 1572s # [args ...] 1572s # 1572s # positional arguments: 1572s # args One or more input files, or a single argument 1572s # @rspfile_path pointing to a file that contains the 1572s # actual arguments 1572s # 1572s # options: 1572s # -h, --help show this help message and exit 1572s # --identifier-prefix IDPREFIX 1572s # Identifier prefix 1572s # --symbol-prefix SYMPREFIX 1572s # Symbol prefix 1572s # --fhead FHEAD Output file header 1572s # --ftail FTAIL Output file footer 1572s # --fprod FPROD Put out TEXT every time a new input file is being 1572s # processed. 1572s # --eprod EPROD Per enum text, produced prior to value iterations 1572s # --vhead VHEAD Value header, produced before iterating over enum 1572s # values 1572s # --vprod VPROD Value text, produced for each enum value. 1572s # --vtail VTAIL Value tail, produced after iterating over enum values 1572s # --comments COMMENT_TMPL 1572s # Comment structure 1572s # --template TEMPLATE Template file 1572s # --output OUTPUT 1572s # --version, -v Print version information 1572s # 1572s # Production text substitutions: 1572s # @EnumName@ PrefixTheXEnum 1572s # @enum_name@ prefix_the_xenum 1572s # @ENUMNAME@ PREFIX_THE_XENUM 1572s # @ENUMSHORT@ THE_XENUM 1572s # @ENUMPREFIX@ PREFIX 1572s # @enumsince@ the user-provided since value given 1572s # @VALUENAME@ PREFIX_THE_XVALUE 1572s # @valuenick@ the-xvalue 1572s # @valuenum@ the integer value (limited support, Since: 2.26) 1572s # @type@ either enum or flags 1572s # @Type@ either Enum or Flags 1572s # @TYPE@ either ENUM or FLAGS 1572s # @filename@ name of current input file 1572s # @basename@ base name of the current input file (Since: 2.22) 1572s ok 30 __main__.TestRspMkenums.test_no_args 1572s # tmpdir: /tmp/tmprfkiz6b1 1572s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1572s # Response file contains: 1572s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprfkiz6b1/tmpntviw702'] 1572s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1572s # 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. */ 1572s # 1572s # 1572s # /* Generated data ends here */ 1572s ok 31 __main__.TestRspMkenums.test_no_headers 1572s # tmpdir: /tmp/tmpaiuj42yg 1572s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1572s # /tmp/tmpaiuj42yg/tmpsv7g77k6.template: 1572s # /*** BEGIN file-header ***/ 1572s # file-header 1572s # /*** END file-header ***/ 1572s # 1572s # /*** BEGIN file-production ***/ 1572s # file-production 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # /*** END file-production ***/ 1572s # 1572s # /*** BEGIN enumeration-production ***/ 1572s # enumeration-production 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END enumeration-production ***/ 1572s # 1572s # /*** BEGIN value-header ***/ 1572s # value-header 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-header ***/ 1572s # 1572s # /*** BEGIN value-production ***/ 1572s # value-production 1572s # VALUENAME: @VALUENAME@ 1572s # valuenick: @valuenick@ 1572s # valuenum: @valuenum@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-production ***/ 1572s # 1572s # /*** BEGIN value-tail ***/ 1572s # value-tail 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-tail ***/ 1572s # 1572s # /*** BEGIN comment ***/ 1572s # comment 1572s # comment: @comment@ 1572s # /*** END comment ***/ 1572s # 1572s # /*** BEGIN file-tail ***/ 1572s # file-tail 1572s # /*** END file-tail ***/ 1572s # 1572s # Response file contains: --template /tmp/tmpaiuj42yg/tmpsv7g77k6.template 1572s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpaiuj42yg/tmpmjh0qupb'] 1572s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1572s # Output: comment 1572s # 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. 1572s # 1572s # 1572s # file-header 1572s # file-tail 1572s # 1572s # comment 1572s # comment: Generated data ends here 1572s ok 32 __main__.TestRspMkenums.test_no_nick 1572s # tmpdir: /tmp/tmpe9p7tm4k 1572s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1572s # /tmp/tmpe9p7tm4k/tmpnqfzd4f9.h: 1572s # typedef enum { 1572s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1572s # } GeglSamplerType; 1572s # 1572s # /tmp/tmpe9p7tm4k/tmpymqfznym.template: 1572s # /*** BEGIN file-header ***/ 1572s # file-header 1572s # /*** END file-header ***/ 1572s # 1572s # /*** BEGIN file-production ***/ 1572s # file-production 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # /*** END file-production ***/ 1572s # 1572s # /*** BEGIN enumeration-production ***/ 1572s # enumeration-production 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END enumeration-production ***/ 1572s # 1572s # /*** BEGIN value-header ***/ 1572s # value-header 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-header ***/ 1572s # 1572s # /*** BEGIN value-production ***/ 1572s # value-production 1572s # VALUENAME: @VALUENAME@ 1572s # valuenick: @valuenick@ 1572s # valuenum: @valuenum@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-production ***/ 1572s # 1572s # /*** BEGIN value-tail ***/ 1572s # value-tail 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-tail ***/ 1572s # 1572s # /*** BEGIN comment ***/ 1572s # comment 1572s # comment: @comment@ 1572s # /*** END comment ***/ 1572s # 1572s # /*** BEGIN file-tail ***/ 1572s # file-tail 1572s # /*** END file-tail ***/ 1572s # 1572s # Response file contains: --template /tmp/tmpe9p7tm4k/tmpymqfznym.template /tmp/tmpe9p7tm4k/tmpnqfzd4f9.h 1572s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe9p7tm4k/tmpqbbex3nv'] 1572s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1572s # Output: comment 1572s # 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. 1572s # 1572s # 1572s # file-header 1572s # file-production 1572s # filename: /tmp/tmpe9p7tm4k/tmpnqfzd4f9.h 1572s # basename: tmpnqfzd4f9.h 1572s # enumeration-production 1572s # EnumName: GeglSamplerType 1572s # enum_name: gegl_sampler_type 1572s # ENUMNAME: GEGL_SAMPLER_TYPE 1572s # ENUMSHORT: SAMPLER_TYPE 1572s # ENUMPREFIX: GEGL 1572s # enumsince: 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # value-header 1572s # EnumName: GeglSamplerType 1572s # enum_name: gegl_sampler_type 1572s # ENUMNAME: GEGL_SAMPLER_TYPE 1572s # ENUMSHORT: SAMPLER_TYPE 1572s # ENUMPREFIX: GEGL 1572s # enumsince: 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # value-production 1572s # VALUENAME: GEGL_SAMPLER_NEAREST 1572s # valuenick: nearest 1572s # valuenum: 0 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # value-tail 1572s # EnumName: GeglSamplerType 1572s # enum_name: gegl_sampler_type 1572s # ENUMNAME: GEGL_SAMPLER_TYPE 1572s # ENUMSHORT: SAMPLER_TYPE 1572s # ENUMPREFIX: GEGL 1572s # enumsince: 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # file-tail 1572s # 1572s # comment 1572s # comment: Generated data ends here 1572s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1572s # tmpdir: /tmp/tmpi3f4rhrf 1572s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1572s # /tmp/tmpi3f4rhrf/tmpempl1ypl.h: 1572s # /* Copyright © La Peña */ 1572s # typedef enum { 1572s # ENUM_VALUE 1572s # } SomeEnumIdentifier; 1572s # 1572s # /tmp/tmpi3f4rhrf/tmphpbdq5er.template: 1572s # /*** BEGIN file-header ***/ 1572s # file-header 1572s # /*** END file-header ***/ 1572s # 1572s # /*** BEGIN file-production ***/ 1572s # file-production 1572s # filename: @filename@ 1572s # basename: @basename@ 1572s # /*** END file-production ***/ 1572s # 1572s # /*** BEGIN enumeration-production ***/ 1572s # enumeration-production 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END enumeration-production ***/ 1572s # 1572s # /*** BEGIN value-header ***/ 1572s # value-header 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-header ***/ 1572s # 1572s # /*** BEGIN value-production ***/ 1572s # value-production 1572s # VALUENAME: @VALUENAME@ 1572s # valuenick: @valuenick@ 1572s # valuenum: @valuenum@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-production ***/ 1572s # 1572s # /*** BEGIN value-tail ***/ 1572s # value-tail 1572s # EnumName: @EnumName@ 1572s # enum_name: @enum_name@ 1572s # ENUMNAME: @ENUMNAME@ 1572s # ENUMSHORT: @ENUMSHORT@ 1572s # ENUMPREFIX: @ENUMPREFIX@ 1572s # enumsince: @enumsince@ 1572s # type: @type@ 1572s # Type: @Type@ 1572s # TYPE: @TYPE@ 1572s # /*** END value-tail ***/ 1572s # 1572s # /*** BEGIN comment ***/ 1572s # comment 1572s # comment: @comment@ 1572s # /*** END comment ***/ 1572s # 1572s # /*** BEGIN file-tail ***/ 1572s # file-tail 1572s # /*** END file-tail ***/ 1572s # 1572s # Response file contains: --template /tmp/tmpi3f4rhrf/tmphpbdq5er.template /tmp/tmpi3f4rhrf/tmpempl1ypl.h 1572s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi3f4rhrf/tmpqnyr4i6o'] 1572s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1572s # Output: comment 1572s # 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. 1572s # 1572s # 1572s # file-header 1572s # file-production 1572s # filename: /tmp/tmpi3f4rhrf/tmpempl1ypl.h 1572s # basename: tmpempl1ypl.h 1572s # enumeration-production 1572s # EnumName: SomeEnumIdentifier 1572s # enum_name: some_enum_identifier 1572s # ENUMNAME: SOME_ENUM_IDENTIFIER 1572s # ENUMSHORT: ENUM_IDENTIFIER 1572s # ENUMPREFIX: SOME 1572s # enumsince: 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # value-header 1572s # EnumName: SomeEnumIdentifier 1572s # enum_name: some_enum_identifier 1572s # ENUMNAME: SOME_ENUM_IDENTIFIER 1572s # ENUMSHORT: ENUM_IDENTIFIER 1572s # ENUMPREFIX: SOME 1572s # enumsince: 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # value-production 1572s # VALUENAME: ENUM_VALUE 1572s # valuenick: value 1572s # valuenum: 0 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # value-tail 1572s # EnumName: SomeEnumIdentifier 1572s # enum_name: some_enum_identifier 1572s # ENUMNAME: SOME_ENUM_IDENTIFIER 1572s # ENUMSHORT: ENUM_IDENTIFIER 1572s # ENUMPREFIX: SOME 1572s # enumsince: 1572s # type: enum 1572s # Type: Enum 1572s # TYPE: ENUM 1572s # file-tail 1572s # 1572s # comment 1572s # comment: Generated data ends here 1573s # Executing: glib/mkenums.py.test 1573s ok 34 __main__.TestRspMkenums.test_reproducible 1573s # tmpdir: /tmp/tmpgjottxwe 1573s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1573s # /tmp/tmpgjottxwe/tmprc4hrntk.template: template 1573s # Response file contains: --template /tmp/tmpgjottxwe/tmprc4hrntk.template /tmp/tmpgjottxwe/tmpesohdg3h1.h /tmp/tmpgjottxwe/tmpay0vgpm82.h 1573s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgjottxwe/tmpc4kp5spi'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1573s # 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. */ 1573s # 1573s # 1573s # /* Generated data ends here */ 1573s # /tmp/tmpgjottxwe/tmp1dr6_n3k.template: template 1573s # Response file contains: --template /tmp/tmpgjottxwe/tmp1dr6_n3k.template /tmp/tmpgjottxwe/tmpay0vgpm82.h /tmp/tmpgjottxwe/tmpesohdg3h1.h 1573s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgjottxwe/tmp40kl2w8e'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1573s # 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. */ 1573s # 1573s # 1573s # /* Generated data ends here */ 1573s ok 35 __main__.TestRspMkenums.test_since 1573s # tmpdir: /tmp/tmp7dtuadyg 1573s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1573s # /tmp/tmp7dtuadyg/tmp0kbsjvs3.h: 1573s # typedef enum { /*< since=1.0 >*/ 1573s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1573s # } QmiWmsMessageProtocol; 1573s # 1573s # /tmp/tmp7dtuadyg/tmpt8mbwkql.template: 1573s # /*** BEGIN file-header ***/ 1573s # file-header 1573s # /*** END file-header ***/ 1573s # 1573s # /*** BEGIN file-production ***/ 1573s # file-production 1573s # filename: @filename@ 1573s # basename: @basename@ 1573s # /*** END file-production ***/ 1573s # 1573s # /*** BEGIN enumeration-production ***/ 1573s # enumeration-production 1573s # EnumName: @EnumName@ 1573s # enum_name: @enum_name@ 1573s # ENUMNAME: @ENUMNAME@ 1573s # ENUMSHORT: @ENUMSHORT@ 1573s # ENUMPREFIX: @ENUMPREFIX@ 1573s # enumsince: @enumsince@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END enumeration-production ***/ 1573s # 1573s # /*** BEGIN value-header ***/ 1573s # value-header 1573s # EnumName: @EnumName@ 1573s # enum_name: @enum_name@ 1573s # ENUMNAME: @ENUMNAME@ 1573s # ENUMSHORT: @ENUMSHORT@ 1573s # ENUMPREFIX: @ENUMPREFIX@ 1573s # enumsince: @enumsince@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END value-header ***/ 1573s # 1573s # /*** BEGIN value-production ***/ 1573s # value-production 1573s # VALUENAME: @VALUENAME@ 1573s # valuenick: @valuenick@ 1573s # valuenum: @valuenum@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END value-production ***/ 1573s # 1573s # /*** BEGIN value-tail ***/ 1573s # value-tail 1573s # EnumName: @EnumName@ 1573s # enum_name: @enum_name@ 1573s # ENUMNAME: @ENUMNAME@ 1573s # ENUMSHORT: @ENUMSHORT@ 1573s # ENUMPREFIX: @ENUMPREFIX@ 1573s # enumsince: @enumsince@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END value-tail ***/ 1573s # 1573s # /*** BEGIN comment ***/ 1573s # comment 1573s # comment: @comment@ 1573s # /*** END comment ***/ 1573s # 1573s # /*** BEGIN file-tail ***/ 1573s # file-tail 1573s # /*** END file-tail ***/ 1573s # 1573s # Response file contains: --template /tmp/tmp7dtuadyg/tmpt8mbwkql.template /tmp/tmp7dtuadyg/tmp0kbsjvs3.h 1573s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7dtuadyg/tmpkzpahi30'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1573s # Output: comment 1573s # 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. 1573s # 1573s # 1573s # file-header 1573s # file-production 1573s # filename: /tmp/tmp7dtuadyg/tmp0kbsjvs3.h 1573s # basename: tmp0kbsjvs3.h 1573s # enumeration-production 1573s # EnumName: QmiWmsMessageProtocol 1573s # enum_name: qmi_wms_message_protocol 1573s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1573s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1573s # ENUMPREFIX: QMI 1573s # enumsince: 1.0 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # value-header 1573s # EnumName: QmiWmsMessageProtocol 1573s # enum_name: qmi_wms_message_protocol 1573s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1573s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1573s # ENUMPREFIX: QMI 1573s # enumsince: 1.0 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # value-production 1573s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1573s # valuenick: cdma 1573s # valuenum: 0 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # value-tail 1573s # EnumName: QmiWmsMessageProtocol 1573s # enum_name: qmi_wms_message_protocol 1573s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1573s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1573s # ENUMPREFIX: QMI 1573s # enumsince: 1.0 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # file-tail 1573s # 1573s # comment 1573s # comment: Generated data ends here 1573s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1573s # tmpdir: /tmp/tmp1oubnkbk 1573s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1573s # /tmp/tmp1oubnkbk/tmpaw30195k.h: 1573s # typedef enum { 1573s # FOO_VALUE /*< nick="eek, a comma" >*/ 1573s # } Foo; 1573s # 1573s # /tmp/tmp1oubnkbk/tmpvcob_67l.template: 1573s # /*** BEGIN file-header ***/ 1573s # file-header 1573s # /*** END file-header ***/ 1573s # 1573s # /*** BEGIN file-production ***/ 1573s # file-production 1573s # filename: @filename@ 1573s # basename: @basename@ 1573s # /*** END file-production ***/ 1573s # 1573s # /*** BEGIN enumeration-production ***/ 1573s # enumeration-production 1573s # EnumName: @EnumName@ 1573s # enum_name: @enum_name@ 1573s # ENUMNAME: @ENUMNAME@ 1573s # ENUMSHORT: @ENUMSHORT@ 1573s # ENUMPREFIX: @ENUMPREFIX@ 1573s # enumsince: @enumsince@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END enumeration-production ***/ 1573s # 1573s # /*** BEGIN value-header ***/ 1573s # value-header 1573s # EnumName: @EnumName@ 1573s # enum_name: @enum_name@ 1573s # ENUMNAME: @ENUMNAME@ 1573s # ENUMSHORT: @ENUMSHORT@ 1573s # ENUMPREFIX: @ENUMPREFIX@ 1573s # enumsince: @enumsince@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END value-header ***/ 1573s # 1573s # /*** BEGIN value-production ***/ 1573s # value-production 1573s # VALUENAME: @VALUENAME@ 1573s # valuenick: @valuenick@ 1573s # valuenum: @valuenum@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END value-production ***/ 1573s # 1573s # /*** BEGIN value-tail ***/ 1573s # value-tail 1573s # EnumName: @EnumName@ 1573s # enum_name: @enum_name@ 1573s # ENUMNAME: @ENUMNAME@ 1573s # ENUMSHORT: @ENUMSHORT@ 1573s # ENUMPREFIX: @ENUMPREFIX@ 1573s # enumsince: @enumsince@ 1573s # type: @type@ 1573s # Type: @Type@ 1573s # TYPE: @TYPE@ 1573s # /*** END value-tail ***/ 1573s # 1573s # /*** BEGIN comment ***/ 1573s # comment 1573s # comment: @comment@ 1573s # /*** END comment ***/ 1573s # 1573s # /*** BEGIN file-tail ***/ 1573s # file-tail 1573s # /*** END file-tail ***/ 1573s # 1573s # Response file contains: --template /tmp/tmp1oubnkbk/tmpvcob_67l.template /tmp/tmp1oubnkbk/tmpaw30195k.h 1573s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1oubnkbk/tmpztypsay1'] 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': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1573s # Output: comment 1573s # 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. 1573s # 1573s # 1573s # file-header 1573s # file-production 1573s # filename: /tmp/tmp1oubnkbk/tmpaw30195k.h 1573s # basename: tmpaw30195k.h 1573s # enumeration-production 1573s # EnumName: Foo 1573s # enum_name: foo_ 1573s # ENUMNAME: FOO_ 1573s # ENUMSHORT: 1573s # ENUMPREFIX: FOO 1573s # enumsince: 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # value-header 1573s # EnumName: Foo 1573s # enum_name: foo_ 1573s # ENUMNAME: FOO_ 1573s # ENUMSHORT: 1573s # ENUMPREFIX: FOO 1573s # enumsince: 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # value-production 1573s # VALUENAME: FOO_VALUE 1573s # valuenick: eek, a comma 1573s # valuenum: 0 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # value-tail 1573s # EnumName: Foo 1573s # enum_name: foo_ 1573s # ENUMNAME: FOO_ 1573s # ENUMSHORT: 1573s # ENUMPREFIX: FOO 1573s # enumsince: 1573s # type: enum 1573s # Type: Enum 1573s # TYPE: ENUM 1573s # file-tail 1573s # 1573s # comment 1573s # comment: Generated data ends here 1573s 1..36 1573s ok - glib/mkenums.py.test 1573s # Running test: glib/proxy-test.test 1573s TAP version 13 1573s # random seed: R02S336190160e926d3493f1d7ad10fb95f2 1573s 1..11 1573s # Start of proxy tests 1573s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1573s ok 1 /proxy/direct_sync 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f1ac0 and GSocketClientAsyncConnectData 0xb037b80e7390 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f24d0 for GSocketClientAsyncConnectData 0xb037b80e7390 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s ok 2 /proxy/direct_async 1573s ok 3 /proxy/single_sync 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f3dd0 and GSocketClientAsyncConnectData 0xb037b80f2f20 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f4930 for GSocketClientAsyncConnectData 0xb037b80f2f20 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s ok 4 /proxy/single_async 1573s ok 5 /proxy/multiple_sync 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f4660 and GSocketClientAsyncConnectData 0xb037b80f4430 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f4fb0 for GSocketClientAsyncConnectData 0xb037b80f4430 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f49c0 for GSocketClientAsyncConnectData 0xb037b80f4430 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s ok 6 /proxy/multiple_async 1573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1573s ok 7 /proxy/invalid-uris-sync 1573s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f4930 and GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1573s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1573s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80eeb00 for GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f4660 and GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f21e0 for GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s ok 8 /proxy/invalid-uris-async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1573s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1573s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f5070 for GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1573s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f57f0 for GSocketClientAsyncConnectData 0xb037b80f4240 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s ok 9 /proxy/dns 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f5820 for GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1573s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f3d10 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f5d60 for GSocketClientAsyncConnectData 0xb037b80f3d10 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1573s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb037b80f43b0 and GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb037b80f4ce0 for GSocketClientAsyncConnectData 0xb037b80f4720 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1573s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1573s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1573s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1573s ok 10 /proxy/override 1573s ok 11 /proxy/enumerator-ports 1573s # End of proxy tests 1573s ok - glib/proxy-test.test 1573s # Running test: glib/gsocketclient-slow.test 1573s TAP version 13 1573s # random seed: R02S079582f1d867d449d8345b1ecc3cafea 1573s 1..3 1573s # Start of socket-client tests 1573s # Start of happy-eyeballs tests 1573s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1573s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbec75e20eaf0 and GSocketClientAsyncConnectData 0xbec75e2082b0 1573s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1573s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1573s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbec75e210200 for GSocketClientAsyncConnectData 0xbec75e2082b0 1573s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1574s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1574s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1574s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1574s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1574s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1574s ok 1 /socket-client/happy-eyeballs/slow 1574s # slow test /socket-client/happy-eyeballs/slow executed in 0.61 secs 1574s # Start of cancellation tests 1574s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbec75e213950 and GSocketClientAsyncConnectData 0xbec75e20fa10 1574s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1574s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1574s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1574s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbec75e212710 and GSocketClientAsyncConnectData 0xbec75e2082b0 1574s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1574s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1574s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbec75e214540 for GSocketClientAsyncConnectData 0xbec75e2082b0 1574s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1575s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1575s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1575s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1575s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1575s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1575s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1575s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1575s # End of cancellation tests 1575s # End of happy-eyeballs tests 1575s # End of socket-client tests 1575s ok - glib/gsocketclient-slow.test 1575s # Running test: glib/repository.test 1575s TAP version 13 1575s # random seed: R02S34db38f210d89464bf397dc26b2eb573 1575s 1..21 1575s # Start of repository tests 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/basic/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/basic/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/basic/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/basic/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/basic/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/basic/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/basic/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/basic/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/basic/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/basic/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1575s ok 1 /repository/basic 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/info/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/info/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/info/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/info/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/info/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/info/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/info/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/info/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/info/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/info/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1575s ok 2 /repository/info 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/dependencies/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/dependencies/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/dependencies/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1575s ok 3 /repository/dependencies 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/arg-info/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/arg-info/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/arg-info/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1575s ok 4 /repository/arg-info 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/callable-info/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/callable-info/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/callable-info/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1575s ok 5 /repository/callable-info 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/callback-info/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/callback-info/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/callback-info/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1575s ok 6 /repository/callback-info 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/char-types/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/char-types/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/char-types/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1575s ok 7 /repository/char-types 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/constructor-return-type/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1575s ok 8 /repository/constructor-return-type 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/enum-info-c-identifier/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1575s ok 9 /repository/enum-info-c-identifier 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/enum-info-static-methods/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/enum-info-static-methods summary: Test an enum with methods 1575s ok 10 /repository/enum-info-static-methods 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/error-quark/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/error-quark/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/error-quark/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/error-quark summary: Test finding an error quark by error domain 1575s ok 11 /repository/error-quark 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/flags-info-c-identifier/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1575s ok 12 /repository/flags-info-c-identifier 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/fundamental-ref-func/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1575s ok 13 /repository/fundamental-ref-func 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/instance-method-ownership-transfer/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1575s ok 14 /repository/instance-method-ownership-transfer 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/object-gtype-interfaces/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1575s ok 15 /repository/object-gtype-interfaces 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/signal-info-with-array-length-arg/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1575s ok 16 /repository/signal-info-with-array-length-arg 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/type-info-name/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1575s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1575s ok 17 /repository/type-info-name 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1575s ok 18 /repository/vfunc-info-with-no-invoker 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1575s ok 19 /repository/vfunc-info-with-invoker-on-interface 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1575s ok 20 /repository/vfunc-info-with-invoker-on-object 1575s # Start of base-info tests 1575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/home 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/cache 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/system-config2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/config 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/system-data2 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/data 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/state 1575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_CEXCK2/repository/base-info/clear/.dirs/runtime 1575s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1575s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1575s ok 21 /repository/base-info/clear 1575s # End of base-info tests 1575s # End of repository tests 1575s ok - glib/repository.test 1575s # Running test: glib/properties-refcount3.test 1575s TAP version 13 1575s # random seed: R02Sf21f013a618418564f5015297ab916a5 1575s 1..1 1575s # Start of gobject tests 1575s # Start of refcount tests 1578s # Executing: glib/properties-refcount3.test 1583s # Executing: glib/properties-refcount3.test 1588s # Executing: glib/properties-refcount3.test 1593s # Executing: glib/properties-refcount3.test 1598s # Executing: glib/properties-refcount3.test 1603s # Executing: glib/properties-refcount3.test 1605s # 1605s # stopping 1605s # 1605s # stopped 1605s # 1605s # 16317123 1195102 1605s # 1605s ok 1 /gobject/refcount/properties-3 1605s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1605s # End of refcount tests 1605s # End of gobject tests 1605s ok - glib/properties-refcount3.test 1605s # Running test: glib/gdbus-address-get-session.test 1605s TAP version 13 1605s # random seed: R02S839963cc6eb480cb46b300463998f9ea 1605s 1..2 1605s # Start of gdbus tests 1605s ok 1 /gdbus/x11-autolaunch 1605s ok 2 /gdbus/xdg-runtime 1605s # End of gdbus tests 1605s ok - glib/gdbus-address-get-session.test 1605s # Running test: glib/rcbox.test 1605s TAP version 13 1605s # random seed: R02S40de1d59d0c78b55e24432eb5d3ddb66 1605s 1..8 1605s # Start of rcbox tests 1605s ok 1 /rcbox/new 1605s # global_point = 0xbc7bc0d5a870 1605s ok 2 /rcbox/release-full 1605s # global_point_a = 0xbc7bc0d5a870 1605s # global_point_b = 0xbc7bc0d5a830 1605s ok 3 /rcbox/dup 1605s ok 4 /rcbox/alignment 1605s # End of rcbox tests 1605s # Start of atomic-rcbox tests 1605s ok 5 /atomic-rcbox/new 1605s # global_point = 0xbc7bc0d5aa40 1605s ok 6 /atomic-rcbox/release-full 1605s # global_point_a = 0xbc7bc0d5aa40 1605s # global_point_b = 0xbc7bc0d5aa00 1605s ok 7 /atomic-rcbox/dup 1605s ok 8 /atomic-rcbox/alignment 1605s # End of atomic-rcbox tests 1605s ok - glib/rcbox.test 1605s # Running test: glib/gdbus-sasl.test 1605s TAP version 13 1605s # random seed: R02Sa1407b5c5a999cc09520e7c18df9fe31 1605s 1..1 1605s # Start of gdbus tests 1605s # Start of sasl tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_I79HK2/gdbus/sasl/server/.dirs/runtime 1605s # New handshake: EXTERNAL with incorrect initial response 1605s # C:“AUTH EXTERNAL 30” 1605s # Expect: /^REJECTED.*$/ 1605s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1605s # New handshake: EXTERNAL without initial response, failing to authenticate 1605s # C:“AUTH EXTERNAL” 1605s # Expect: /^DATA$/ 1605s # S:“DATA” 1605s # C:“DATA 30” 1605s # Expect: /^REJECTED.*$/ 1605s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1605s # New handshake: EXTERNAL with initial response 1605s # C:“AUTH EXTERNAL 31303030” 1605s # Expect: /^OK [0-9a-f]+$/ 1605s # S:“OK 69d2a2b48a0366d34483a19765ec7e26” 1605s # New handshake: EXTERNAL without initial response 1605s # C:“AUTH EXTERNAL” 1605s # Expect: /^DATA$/ 1605s # S:“DATA” 1605s # C:“DATA 31303030” 1605s # Expect: /^OK [0-9a-f]+$/ 1605s # S:“OK 69d2a2b48a0366d34483a19765ec7e26” 1605s # New handshake: EXTERNAL with empty authorization identity 1605s # C:“AUTH EXTERNAL” 1605s # Expect: /^DATA$/ 1605s # S:“DATA” 1605s # C:“DATA” 1605s # Expect: /^OK [0-9a-f]+$/ 1605s # S:“OK 69d2a2b48a0366d34483a19765ec7e26” 1605s # New handshake: EXTERNAL with empty authorization identity and whitespace 1605s # C:“AUTH EXTERNAL” 1605s # Expect: /^DATA$/ 1605s # S:“DATA” 1605s # C:“DATA ” 1605s # Expect: /^OK [0-9a-f]+$/ 1605s # S:“OK 69d2a2b48a0366d34483a19765ec7e26” 1605s ok 1 /gdbus/sasl/server 1605s # End of sasl tests 1605s # End of gdbus tests 1605s ok - glib/gdbus-sasl.test 1605s # Running test: glib/node.test 1605s TAP version 13 1605s # random seed: R02Seeb079e9bac8640084969be75f2816e2 1605s 1..6 1605s # Start of node tests 1605s ok 1 /node/allocation 1605s ok 2 /node/construction 1605s ok 3 /node/traversal 1605s ok 4 /node/misc 1605s ok 5 /node/unlink 1605s ok 6 /node/copy 1605s # End of node tests 1605s ok - glib/node.test 1605s # Running test: glib/portal-support-snap.test 1605s TAP version 13 1605s # random seed: R02S8143e15c804196c8a8a09b285167a2b5 1605s 1..7 1605s # Start of portal-support tests 1605s # Start of snap tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/no-snapctl/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s ok 1 /portal-support/snap/no-snapctl 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/none/.dirs/runtime/snapctl 1605s ok 2 /portal-support/snap/none 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/all/.dirs/runtime/snapctl 1605s ok 3 /portal-support/snap/all 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1605s ok 4 /portal-support/snap/desktop-only 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/network-only/.dirs/runtime/snapctl 1605s ok 5 /portal-support/snap/network-only 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1605s ok 6 /portal-support/snap/gsettings-only 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime 1605s # Created snap.yaml in /tmp/test_portal-support-snap_76E8J2/meta/snap.yaml 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s # Created snapctl in /tmp/test_portal-support-snap_76E8J2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1605s ok 7 /portal-support/snap/updates-dynamically 1605s # End of snap tests 1605s # End of portal-support tests 1605s ok - glib/portal-support-snap.test 1605s # Running test: glib/fileutils.test 1605s TAP version 13 1605s # random seed: R02S5083939d681e7e335470175c89e4786f 1605s 1..27 1605s # Start of fileutils tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/paths/.dirs/runtime 1605s ok 1 /fileutils/paths 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/build-path/.dirs/runtime 1605s ok 2 /fileutils/build-path 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/build-pathv/.dirs/runtime 1605s ok 3 /fileutils/build-pathv 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/build-filename/.dirs/runtime 1605s ok 4 /fileutils/build-filename 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/build-filenamev/.dirs/runtime 1605s ok 5 /fileutils/build-filenamev 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents/.dirs/runtime 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s ok 6 /fileutils/mkdir-with-parents 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s ok 7 /fileutils/mkdir-with-parents-permission 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/format-size-for-display/.dirs/runtime 1605s ok 8 /fileutils/format-size-for-display 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/errors/.dirs/runtime 1605s ok 9 /fileutils/errors 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/basename/.dirs/runtime 1605s ok 10 /fileutils/basename 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/get-basename/.dirs/runtime 1605s ok 11 /fileutils/get-basename 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/dirname/.dirs/runtime 1605s ok 12 /fileutils/dirname 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/dir-make-tmp/.dirs/runtime 1605s ok 13 /fileutils/dir-make-tmp 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/file-open-tmp/.dirs/runtime 1605s ok 14 /fileutils/file-open-tmp 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/file-test/.dirs/runtime 1605s ok 15 /fileutils/file-test 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/mkstemp/.dirs/runtime 1605s ok 16 /fileutils/mkstemp 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/mkdtemp/.dirs/runtime 1605s ok 17 /fileutils/mkdtemp 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/get-contents/.dirs/runtime 1605s ok 18 /fileutils/get-contents 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/get-contents-large-file/.dirs/runtime 1605s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/set-contents/.dirs/runtime 1605s ok 20 /fileutils/set-contents 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/.dirs/runtime 1605s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1605s # Flags 0 and test 0 1605s # Flags 0 and test 1 1605s # Flags 0 and test 2 1605s # Flags 0 and test 3 1605s # Flags 0 and test 4 1605s # Flags 0 and test 5 1605s # Flags 1 and test 0 1605s # Flags 1 and test 1 1605s # Flags 1 and test 2 1605s # Flags 1 and test 3 1605s # Flags 1 and test 4 1605s # Flags 1 and test 5 1605s # Flags 2 and test 0 1605s # Flags 2 and test 1 1605s # Flags 2 and test 2 1605s # Flags 2 and test 3 1605s # Flags 2 and test 4 1605s # Flags 2 and test 5 1605s # Flags 3 and test 0 1605s # Flags 3 and test 1 1605s # Flags 3 and test 2 1605s # Flags 3 and test 3 1605s # Flags 3 and test 4 1605s # Flags 3 and test 5 1605s # Flags 4 and test 0 1605s # Flags 4 and test 1 1605s # Flags 4 and test 2 1605s # Flags 4 and test 3 1605s # Flags 4 and test 4 1605s # Flags 4 and test 5 1605s # Flags 5 and test 0 1605s # Flags 5 and test 1 1605s # Flags 5 and test 2 1605s # Flags 5 and test 3 1605s # Flags 5 and test 4 1605s # Flags 5 and test 5 1605s # Flags 6 and test 0 1605s # Flags 6 and test 1 1605s # Flags 6 and test 2 1605s # Flags 6 and test 3 1605s # Flags 6 and test 4 1605s # Flags 6 and test 5 1605s ok 21 /fileutils/set-contents-full 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/read-link/.dirs/runtime 1605s ok 22 /fileutils/read-link 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/stdio-wrappers/.dirs/runtime 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s ok 23 /fileutils/stdio-wrappers 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/fopen-modes/.dirs/runtime 1605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1605s # Testing fopen() mode 'w' 1605s # Testing fopen() mode 'r' 1605s # Testing fopen() mode 'a' 1605s # Testing fopen() mode 'w+' 1605s # Testing fopen() mode 'r+' 1605s # Testing fopen() mode 'a+' 1605s # Testing fopen() mode 'wb' 1605s # Testing fopen() mode 'rb' 1605s # Testing fopen() mode 'ab' 1605s # Testing fopen() mode 'w+b' 1605s # Testing fopen() mode 'r+b' 1605s # Testing fopen() mode 'a+b' 1605s # Testing fopen() mode 'wb+' 1605s # Testing fopen() mode 'rb+' 1605s # Testing fopen() mode 'ab+' 1605s ok 24 /fileutils/fopen-modes 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/clear-fd/.dirs/runtime 1605s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1605s # Will be closed by autocleanup: 3, -42 1605s # Testing error handling 1605s ok 25 /fileutils/clear-fd 1605s # Start of set-contents-full tests 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1605s ok 26 /fileutils/set-contents-full/read-only-file 1605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/home 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/config 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/data 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/state 1605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_KGA2J2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1605s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1605s # Flags 0 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # Flags 1 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # Flags 2 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # Flags 3 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # Flags 4 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # Flags 5 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s # Flags 6 1605s # We do not have CAP_DAC_OVERRIDE or equivalent 1605s ok 27 /fileutils/set-contents-full/read-only-directory 1605s # End of set-contents-full tests 1605s # Start of clear-fd tests 1605s # Start of subprocess tests 1605s # End of subprocess tests 1605s # End of clear-fd tests 1605s # End of fileutils tests 1605s ok - glib/fileutils.test 1605s # Running test: glib/unicode.test 1605s TAP version 13 1605s # random seed: R02Sf467de9d876f28e127e7c7660cecc649 1605s 1..39 1605s # Start of unicode tests 1605s ok 1 /unicode/alnum 1605s ok 2 /unicode/alpha 1605s ok 3 /unicode/break-type 1605s ok 4 /unicode/canonical-decomposition 1605s ok 5 /unicode/casefold 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s # Cannot set locale to lt_LT, skipping 1605s ok 6 /unicode/casemap_and_casefold 1605s ok 7 /unicode/cases 1605s ok 8 /unicode/character-type 1605s ok 9 /unicode/cntrl 1605s ok 10 /unicode/combining-class 1605s ok 11 /unicode/compose 1605s ok 12 /unicode/decompose 1605s ok 13 /unicode/decompose-tail 1605s ok 14 /unicode/defined 1605s ok 15 /unicode/digit 1605s ok 16 /unicode/digit-value 1605s ok 17 /unicode/fully-decompose-canonical 1605s ok 18 /unicode/fully-decompose-len 1606s ok 19 /unicode/normalization 1606s ok 20 /unicode/graph 1606s # Testing script Zyyy (code 1517910393) 1606s # Testing script Zinh (code 1516858984) 1606s # Testing script Zmth (code 1517122664) 1606s # Testing script Arab (code 1098015074) 1606s # Testing script Armn (code 1098018158) 1606s # Testing script Beng (code 1113943655) 1606s # Testing script Bopo (code 1114599535) 1606s # Testing script Cher (code 1130915186) 1606s # Testing script Copt (code 1131376756) 1606s # Testing script Cyrl (code 1132032620) 1606s # Testing script Dsrt (code 1148416628) 1606s # Testing script Deva (code 1147500129) 1606s # Testing script Ethi (code 1165256809) 1606s # Testing script Geor (code 1197830002) 1606s # Testing script Goth (code 1198486632) 1606s # Testing script Grek (code 1198679403) 1606s # Testing script Gujr (code 1198877298) 1606s # Testing script Guru (code 1198879349) 1606s # Testing script Hani (code 1214344809) 1606s # Testing script Hang (code 1214344807) 1606s # Testing script Hebr (code 1214603890) 1606s # Testing script Hira (code 1214870113) 1606s # Testing script Knda (code 1265525857) 1606s # Testing script Kana (code 1264676449) 1606s # Testing script Khmr (code 1265134962) 1606s # Testing script Laoo (code 1281453935) 1606s # Testing script Latn (code 1281455214) 1606s # Testing script Mlym (code 1298954605) 1606s # Testing script Mong (code 1299148391) 1606s # Testing script Mymr (code 1299803506) 1606s # Testing script Ogam (code 1332175213) 1606s # Testing script Ital (code 1232363884) 1606s # Testing script Orya (code 1332902241) 1606s # Testing script Runr (code 1383427698) 1606s # Testing script Sinh (code 1399418472) 1606s # Testing script Syrc (code 1400468067) 1606s # Testing script Taml (code 1415671148) 1606s # Testing script Telu (code 1415933045) 1606s # Testing script Thaa (code 1416126817) 1606s # Testing script Thai (code 1416126825) 1606s # Testing script Tibt (code 1416192628) 1606s # Testing script Cans (code 1130458739) 1606s # Testing script Yiii (code 1500080489) 1606s # Testing script Tglg (code 1416064103) 1606s # Testing script Hano (code 1214344815) 1606s # Testing script Buhd (code 1114990692) 1606s # Testing script Tagb (code 1415669602) 1606s # Testing script Brai (code 1114792297) 1606s # Testing script Cprt (code 1131442804) 1606s # Testing script Limb (code 1281977698) 1606s # Testing script Osma (code 1332964705) 1606s # Testing script Shaw (code 1399349623) 1606s # Testing script Linb (code 1281977954) 1606s # Testing script Tale (code 1415670885) 1606s # Testing script Ugar (code 1432838514) 1606s # Testing script Talu (code 1415670901) 1606s # Testing script Bugi (code 1114990441) 1606s # Testing script Glag (code 1198285159) 1606s # Testing script Tfng (code 1415999079) 1606s # Testing script Sylo (code 1400466543) 1606s # Testing script Xpeo (code 1483761007) 1606s # Testing script Khar (code 1265131890) 1606s # Testing script Zzzz (code 1517976186) 1606s # Testing script Bali (code 1113681001) 1606s # Testing script Xsux (code 1483961720) 1606s # Testing script Phnx (code 1349021304) 1606s # Testing script Phag (code 1349017959) 1606s # Testing script Nkoo (code 1315663727) 1606s # Testing script Kali (code 1264675945) 1606s # Testing script Lepc (code 1281716323) 1606s # Testing script Rjng (code 1382706791) 1606s # Testing script Sund (code 1400204900) 1606s # Testing script Saur (code 1398895986) 1606s # Testing script Cham (code 1130914157) 1606s # Testing script Olck (code 1332503403) 1606s # Testing script Vaii (code 1449224553) 1606s # Testing script Cari (code 1130459753) 1606s # Testing script Lyci (code 1283023721) 1606s # Testing script Lydi (code 1283023977) 1606s # Testing script Avst (code 1098281844) 1606s # Testing script Bamu (code 1113681269) 1606s # Testing script Egyp (code 1164409200) 1606s # Testing script Armi (code 1098018153) 1606s # Testing script Phli (code 1349020777) 1606s # Testing script Prti (code 1349678185) 1606s # Testing script Java (code 1247901281) 1606s # Testing script Kthi (code 1265920105) 1606s # Testing script Lisu (code 1281979253) 1606s # Testing script Mtei (code 1299473769) 1606s # Testing script Sarb (code 1398895202) 1606s # Testing script Orkh (code 1332898664) 1606s # Testing script Samr (code 1398893938) 1606s # Testing script Lana (code 1281453665) 1606s # Testing script Tavt (code 1415673460) 1606s # Testing script Batk (code 1113683051) 1606s # Testing script Brah (code 1114792296) 1606s # Testing script Mand (code 1298230884) 1606s # Testing script Cakm (code 1130457965) 1606s # Testing script Merc (code 1298494051) 1606s # Testing script Mero (code 1298494063) 1606s # Testing script Plrd (code 1349284452) 1606s # Testing script Shrd (code 1399353956) 1606s # Testing script Sora (code 1399812705) 1606s # Testing script Takr (code 1415670642) 1606s # Testing script Bass (code 1113682803) 1606s # Testing script Aghb (code 1097295970) 1606s # Testing script Dupl (code 1148547180) 1606s # Testing script Elba (code 1164730977) 1606s # Testing script Gran (code 1198678382) 1606s # Testing script Khoj (code 1265135466) 1606s # Testing script Sind (code 1399418468) 1606s # Testing script Lina (code 1281977953) 1606s # Testing script Mahj (code 1298229354) 1606s # Testing script Mani (code 1298230889) 1606s # Testing script Mend (code 1298493028) 1606s # Testing script Modi (code 1299145833) 1606s # Testing script Mroo (code 1299345263) 1606s # Testing script Nbat (code 1315070324) 1606s # Testing script Narb (code 1315009122) 1606s # Testing script Perm (code 1348825709) 1606s # Testing script Hmng (code 1215131239) 1606s # Testing script Palm (code 1348562029) 1606s # Testing script Pauc (code 1348564323) 1606s # Testing script Phlp (code 1349020784) 1606s # Testing script Sidd (code 1399415908) 1606s # Testing script Tirh (code 1416196712) 1606s # Testing script Wara (code 1466004065) 1606s # Testing script Ahom (code 1097363309) 1606s # Testing script Hluw (code 1215067511) 1606s # Testing script Hatr (code 1214346354) 1606s # Testing script Mult (code 1299541108) 1606s # Testing script Hung (code 1215655527) 1606s # Testing script Sgnw (code 1399287415) 1606s # Testing script Adlm (code 1097100397) 1606s # Testing script Bhks (code 1114139507) 1606s # Testing script Marc (code 1298231907) 1606s # Testing script Newa (code 1315272545) 1606s # Testing script Osge (code 1332963173) 1606s # Testing script Tang (code 1415671399) 1606s # Testing script Gonm (code 1198485101) 1606s # Testing script Nshu (code 1316186229) 1606s # Testing script Soyo (code 1399814511) 1606s # Testing script Zanb (code 1516334690) 1606s # Testing script Dogr (code 1148151666) 1606s # Testing script Gong (code 1198485095) 1606s # Testing script Rohg (code 1383032935) 1606s # Testing script Maka (code 1298230113) 1606s # Testing script Medf (code 1298490470) 1606s # Testing script Sogo (code 1399809903) 1606s # Testing script Sogd (code 1399809892) 1606s # Testing script Elym (code 1164736877) 1606s # Testing script Nand (code 1315008100) 1606s # Testing script Hmnp (code 1215131248) 1606s # Testing script Wcho (code 1466132591) 1606s # Testing script Chrs (code 1130918515) 1606s # Testing script Diak (code 1147756907) 1606s # Testing script Kits (code 1265202291) 1606s # Testing script Yezi (code 1499822697) 1606s # Testing script Cpmn (code 1131441518) 1606s # Testing script Ougr (code 1333094258) 1606s # Testing script Tnsa (code 1416524641) 1606s # Testing script Toto (code 1416590447) 1606s # Testing script Vith (code 1449751656) 1606s # Testing script Kawi (code 1264678761) 1606s # Testing script Nagm (code 1315006317) 1606s ok 21 /unicode/iso15924 1606s ok 22 /unicode/lower 1606s ok 23 /unicode/mark 1606s ok 24 /unicode/mirror 1606s ok 25 /unicode/print 1606s ok 26 /unicode/punctuation 1606s ok 27 /unicode/script 1606s ok 28 /unicode/space 1606s ok 29 /unicode/strdown 1606s ok 30 /unicode/strup 1606s ok 31 /unicode/turkish-strupdown 1606s ok 32 /unicode/title 1606s ok 33 /unicode/upper 1606s ok 34 /unicode/validate 1606s ok 35 /unicode/wide 1606s ok 36 /unicode/xdigit 1606s ok 37 /unicode/xdigit-value 1606s ok 38 /unicode/zero-width 1606s ok 39 /unicode/normalize 1606s # End of unicode tests 1606s ok - glib/unicode.test 1606s # Running test: glib/gdbus-names.test 1606s TAP version 13 1606s # random seed: R02S69f25e9da2a3a771b504f08bf56513e6 1606s 1..10 1606s # Start of gdbus tests 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/validate-names/.dirs/runtime 1606s ok 1 /gdbus/validate-names 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-own-name/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 2 /gdbus/bus-own-name 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 3 /gdbus/bus-watch-name 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 4 /gdbus/bus-watch-name-auto-start 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s dbus-daemon[6994]: [session uid=1000 pid=6994] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=6985 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1606s # Acquired a message bus connection 1606s dbus-daemon[6994]: [session uid=1000 pid=6994] Successfully activated service 'org.gtk.GDBus.FakeService' 1606s # Acquired the name org.gtk.GDBus.FakeService 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 6 /gdbus/bus-watch-name-closures 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 7 /gdbus/bus-watch-name-closures-auto-start 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-watch-different-context/.dirs/runtime 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 8 /gdbus/bus-watch-different-context 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/bus-unwatch-early/.dirs/runtime 1606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1606s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1606s ok 9 /gdbus/bus-unwatch-early 1606s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/home 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/cache 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/system-config2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/config 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/system-data2 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/data 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/state 1606s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_659CK2/gdbus/escape-object-path/.dirs/runtime 1606s ok 10 /gdbus/escape-object-path 1606s # End of gdbus tests 1606s ok - glib/gdbus-names.test 1606s # Running test: glib/timeout.test 1606s TAP version 13 1606s # random seed: R02Sb40ea65e3d767548246acf7648c5f869 1606s 1..5 1606s # Start of timeout tests 1606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1608s # Executing: glib/timeout.test 1608s ok 1 /timeout/seconds 1608s # slow test /timeout/seconds executed in 2.10 secs 1610s ok 2 /timeout/seconds-once 1610s # slow test /timeout/seconds-once executed in 2.10 secs 1610s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1612s ok 3 /timeout/weeks-overflow 1612s # slow test /timeout/weeks-overflow executed in 2.10 secs 1612s ok 4 /timeout/far-future-ready-time 1613s # Executing: glib/timeout.test 1618s # Executing: glib/timeout.test 1623s # Executing: glib/timeout.test 1623s ok 5 /timeout/rounding 1623s # slow test /timeout/rounding executed in 10.55 secs 1623s # End of timeout tests 1623s ok - glib/timeout.test 1623s # Running test: glib/cxx-98.test 1623s TAP version 13 1623s # random seed: R02Sf6c7cf4b7f4b57def05c5d06801ee3e6 1623s 1..2 1623s # Start of gtask tests 1623s # 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. 1623s ok 1 /gtask/name 1623s # Start of name tests 1623s # 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. 1623s ok 2 /gtask/name/macro-wrapper 1623s # End of name tests 1623s # End of gtask tests 1623s ok - glib/cxx-98.test 1623s # Running test: glib/g-icon.test 1623s TAP version 13 1623s # random seed: R02S08375ea9dde8e1f5fbf9e0f4513eefc4 1623s 1..6 1623s # Start of icons tests 1623s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1623s ok 1 /icons/to-string 1623s ok 2 /icons/serialize 1623s ok 3 /icons/themed 1623s ok 4 /icons/emblemed 1623s ok 5 /icons/file 1623s ok 6 /icons/bytes 1623s # End of icons tests 1623s ok - glib/g-icon.test 1623s # Running test: glib/gdbus-connection-flush.test 1623s TAP version 13 1623s # random seed: R02S8ef0ca713cfc3da36b3eae6ad9ae92d5 1623s 1..2 1623s # Start of gdbus tests 1623s # Start of connection tests 1623s # Start of flush tests 1623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/home 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/cache 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/system-config2 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/config 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/system-data2 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/data 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/state 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/busy/.dirs/runtime 1623s ok 1 /gdbus/connection/flush/busy 1623s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/home 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/cache 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/system-config2 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/config 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/system-data2 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/data 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/state 1623s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_38N7J2/gdbus/connection/flush/idle/.dirs/runtime 1623s ok 2 /gdbus/connection/flush/idle 1623s # End of flush tests 1623s # End of connection tests 1623s # End of gdbus tests 1623s ok - glib/gdbus-connection-flush.test 1623s # Running test: glib/utils-c-99.test 1623s TAP version 13 1623s # random seed: R02Sef94cd4d5b588a72c437ed69ef3f4d3b 1623s 1..40 1623s # Start of utils tests 1623s ok 1 /utils/language-names 1623s ok 2 /utils/locale-variants 1623s ok 3 /utils/version 1623s ok 4 /utils/appname 1623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1623s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1623s ok 5 /utils/prgname-thread-safety 1623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1623s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1623s ok 6 /utils/tmpdir 1623s ok 7 /utils/basic_bits 1623s ok 8 /utils/bits 1623s ok 9 /utils/swap 1623s ok 10 /utils/find-program 1623s ok 11 /utils/find-program-for-path 1623s ok 12 /utils/debug 1623s ok 13 /utils/codeset 1623s ok 14 /utils/codeset2 1623s ok 15 /utils/console-charset 1623s ok 16 /utils/gettext 1623s ok 17 /utils/username 1623s ok 18 /utils/realname 1623s ok 19 /utils/hostname 1623s ok 20 /utils/xdgdirs 1623s ok 21 /utils/specialdir 1623s # NAME: Ubuntu 1623s ok 22 /utils/os-info 1623s ok 23 /utils/clear-pointer 1623s ok 24 /utils/clear-pointer-cast 1623s ok 25 /utils/take-pointer 1623s ok 26 /utils/clear-source 1623s ok 27 /utils/misc-mem 1623s # /utils/aligned-mem summary: Aligned memory allocator 1623s # Alignment must not be zero 1623s # Alignment must be a power of two 1623s # Alignment must be a multiple of sizeof(void*) 1623s ok 28 /utils/aligned-mem 1623s # /utils/free-sized summary: Check that g_free_sized() works 1623s ok 29 /utils/free-sized 1623s ok 30 /utils/nullify 1623s ok 31 /utils/atexit 1623s ok 32 /utils/check-setuid 1623s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1623s ok 33 /utils/int-limits 1623s ok 34 /utils/clear-list 1623s ok 35 /utils/clear-slist 1623s # Start of specialdir tests 1623s ok 36 /utils/specialdir/desktop 1623s # End of specialdir tests 1623s # Start of clear-pointer tests 1623s ok 37 /utils/clear-pointer/side-effects 1623s # End of clear-pointer tests 1623s # Start of aligned-mem tests 1623s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1623s ok 38 /utils/aligned-mem/alignment 1623s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1623s ok 39 /utils/aligned-mem/zeroed 1623s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1623s ok 40 /utils/aligned-mem/free-sized 1623s # Start of subprocess tests 1623s # End of subprocess tests 1623s # End of aligned-mem tests 1623s # End of utils tests 1623s ok - glib/utils-c-99.test 1623s # Running test: glib/async-close-output-stream.test 1623s TAP version 13 1623s # random seed: R02Sc9f4d877b8c03dccf213ae2c8ba07d4b 1623s 1..3 1623s # Start of close-async tests 1623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1623s ok 1 /close-async/without-flush 1623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1623s ok 2 /close-async/with-flush 1623s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1623s ok 3 /close-async/with-async-flush 1623s # End of close-async tests 1623s ok - glib/async-close-output-stream.test 1623s # Running test: glib/tls-certificate.test 1623s TAP version 13 1623s # random seed: R02Sa925cacf77067ba8f7aea488dfd36840 1623s 1..19 1623s # Start of tls-certificate tests 1623s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1623s ok 1 /tls-certificate/pem-parser 1623s ok 2 /tls-certificate/pem-parser-handles-chain 1623s ok 3 /tls-certificate/from_file 1623s ok 4 /tls-certificate/from_files 1623s ok 5 /tls-certificate/from_files_crlf 1623s ok 6 /tls-certificate/from_files_pkcs8 1623s ok 7 /tls-certificate/from_files_pkcs8enc 1623s ok 8 /tls-certificate/list_from_file 1623s ok 9 /tls-certificate/pkcs11-uri 1623s ok 10 /tls-certificate/pkcs11-uri-unsupported 1623s ok 11 /tls-certificate/from_pkcs12 1623s ok 12 /tls-certificate/from_pkcs12_file 1623s ok 13 /tls-certificate/not-valid-before 1623s ok 14 /tls-certificate/not-valid-after 1623s ok 15 /tls-certificate/subject-name 1623s ok 16 /tls-certificate/issuer-name 1623s ok 17 /tls-certificate/dns-names 1623s ok 18 /tls-certificate/ip-addresses 1623s ok 19 /tls-certificate/pem-parser-no-sentinel 1623s # End of tls-certificate tests 1623s ok - glib/tls-certificate.test 1623s # Running test: glib/signals-refcount4.test 1623s TAP version 13 1623s # random seed: R02Sde50ff14bde7b65bee1932c94ff054fe 1623s 1..1 1623s # Start of gobject tests 1623s # Start of refcount tests 1623s # init 0xc722c27c4420 1623s # 1623s # init 0xc722c27c45c0 1623s # 1628s # Executing: glib/signals-refcount4.test 1628s # dispose 0xc722c27c4420! 1628s # 1628s # dispose 0xc722c27c45c0! 1628s # 1628s ok 1 /gobject/refcount/signals 1628s # slow test /gobject/refcount/signals executed in 5.01 secs 1628s # End of refcount tests 1628s # End of gobject tests 1628s ok - glib/signals-refcount4.test 1628s # Running test: glib/static-link.test 1628s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1628s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1628s and make sure you have glib build dependencies installed, including 1628s meson. 1628s ok # SKIP - glib/static-link.test 1628s # Running test: glib/search-utils.test 1628s TAP version 13 1628s # random seed: R02S1071013308d85cfd0ba59b3998eb9a88 1628s # GLib-DEBUG: Current user locale: C.UTF-8 1628s 1..6 1628s # Start of search tests 1628s # GLib-DEBUG: Started 1628s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1628s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1628s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1628s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1628s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1628s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1628s ok 1 /search/basic 1628s # GLib-DEBUG: Started 1628s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1628s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1628s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1628s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1628s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1628s ok 2 /search/composed 1628s # GLib-DEBUG: Started 1628s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1628s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1628s ok 3 /search/decomposed 1628s # GLib-DEBUG: Started 1628s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1628s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1628s ok 4 /search/turkish 1628s # GLib-DEBUG: Started 1628s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1628s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1628s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1628s ok 5 /search/c_locale_unicode 1628s # GLib-DEBUG: Started 1628s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1628s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1628s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1628s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1628s ok 6 /search/multi_words 1628s # End of search tests 1628s ok - glib/search-utils.test 1628s # Running test: glib/signals-refcount2.test 1628s TAP version 13 1628s # random seed: R02S0cd62da0407afe7405c9e3cb66a96719 1628s 1..1 1628s # Start of gobject tests 1628s # Start of refcount tests 1628s # init 0xb4f4ea566420 1628s # 1628s # init 0xb4f4ea5665c0 1628s # 1633s # Executing: glib/signals-refcount2.test 1633s # dispose 0xb4f4ea566420! 1633s # 1633s # dispose 0xb4f4ea5665c0! 1633s # 1633s ok 1 /gobject/refcount/signals 1633s # slow test /gobject/refcount/signals executed in 5.00 secs 1633s # End of refcount tests 1633s # End of gobject tests 1633s ok - glib/signals-refcount2.test 1633s # Running test: glib/option-argv0.test 1633s TAP version 13 1633s # random seed: R02Sc7a737e176d72707786f94fcb379e82c 1633s 1..1 1633s # Start of option tests 1633s ok 1 /option/argv0 1633s # End of option tests 1633s ok - glib/option-argv0.test 1633s # Running test: glib/dir.test 1633s TAP version 13 1633s # random seed: R02S319c254b2a27be575ab46b1013d4e37d 1633s 1..3 1633s # Start of dir tests 1633s ok 1 /dir/read 1633s ok 2 /dir/nonexisting 1633s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1633s ok 3 /dir/refcounting 1633s # End of dir tests 1633s ok - glib/dir.test 1633s # Running test: glib/throws.test 1633s TAP version 13 1633s # random seed: R02S58da988b5f4488cf7de270ec550c92ee 1633s 1..3 1633s # Start of throws tests 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NM75J2/throws/invoke-gerror/.dirs/runtime 1633s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1633s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1633s ok 1 /throws/invoke-gerror 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NM75J2/throws/vfunc-can-throw-gerror/.dirs/runtime 1633s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1633s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1633s ok 2 /throws/vfunc-can-throw-gerror 1633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/home 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/cache 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/system-config2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/config 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/system-data2 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/data 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/state 1633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NM75J2/throws/callback-can-throw-gerror/.dirs/runtime 1633s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1633s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1633s ok 3 /throws/callback-can-throw-gerror 1633s # End of throws tests 1633s ok - glib/throws.test 1633s # Running test: glib/mapping.test 1633s TAP version 13 1633s # random seed: R02S558baea5e87906fe2bd1dac92582edbd 1633s 1..3 1633s # Start of mapping tests 1633s # test_mapping: ok 1633s ok 1 /mapping/flags 1633s ok 2 /mapping/private 1633s # test_child_private: child spawned 1633s # Subtest: /usr/libexec/installed-tests/glib/mapping 1633s # # random seed: R02S0f2f10bc1388b88adeba13a8bf88807a 1633s # test_child_private: received first child signal 1633s # # test_child_private: received parent signal 1633s # test_child_private: received second child signal 1633s ok 3 /mapping/private-child 1633s # End of mapping tests 1633s ok - glib/mapping.test 1633s # Running test: glib/gobject-private.test 1633s TAP version 13 1633s # random seed: R02S4e41dc333daf5e9ae183a55d343b08d7 1633s 1..3 1633s # Start of private tests 1633s ok 1 /private/instance 1633s ok 2 /private/derived-instance 1633s ok 3 /private/mixed-derived-instance 1633s # End of private tests 1633s ok - glib/gobject-private.test 1633s # Running test: glib/queue.test 1633s TAP version 13 1633s # random seed: R02Sc232c885e2356d538a2cf59806c7e9fc 1633s 1..12 1633s # Start of queue tests 1633s ok 1 /queue/basic 1633s ok 2 /queue/copy 1633s ok 3 /queue/off-by-one 1633s ok 4 /queue/find-custom 1633s ok 5 /queue/static 1633s ok 6 /queue/clear 1633s ok 7 /queue/free-full 1633s ok 8 /queue/clear-full 1633s ok 9 /queue/insert-sibling-link 1633s ok 10 /queue/push-nth-link 1633s # Start of clear-full tests 1633s ok 11 /queue/clear-full/noop 1633s # End of clear-full tests 1633s # Start of random tests 1634s ok 12 /queue/random/seed:1268907359 1634s # End of random tests 1634s # End of queue tests 1634s ok - glib/queue.test 1634s # Running test: glib/tls-bindings.test 1634s TAP version 13 1634s # random seed: R02S83685e10b6ad95848d64e22c8a9e115b 1634s 1..2 1634s # Start of tls-connection tests 1634s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1634s ok 1 /tls-connection/get-tls-channel-binding 1634s ok 2 /tls-connection/get-dtls-channel-binding 1634s # End of tls-connection tests 1634s ok - glib/tls-bindings.test 1634s # Running test: glib/dataset.test 1634s TAP version 13 1634s # random seed: R02S521083aa206f1796116df22e4b7f5e46 1634s 1..14 1634s # Start of quark tests 1634s ok 1 /quark/basic 1634s ok 2 /quark/string 1634s # End of quark tests 1634s # Start of dataset tests 1634s ok 3 /dataset/basic 1634s ok 4 /dataset/id 1634s ok 5 /dataset/full 1634s ok 6 /dataset/foreach 1634s ok 7 /dataset/destroy 1634s # End of dataset tests 1634s # Start of datalist tests 1634s ok 8 /datalist/basic 1634s ok 9 /datalist/id 1634s ok 10 /datalist/recursive-clear 1634s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1634s ok 11 /datalist/id-remove-multiple 1634s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1634s ok 12 /datalist/id-remove-multiple-destroy-order 1634s ok 13 /datalist/update-atomic 1634s # Start of id-remove-multiple tests 1634s ok 14 /datalist/id-remove-multiple/resize 1634s # End of id-remove-multiple tests 1634s # End of datalist tests 1634s ok - glib/dataset.test 1634s # Running test: glib/threadtests.test 1634s TAP version 13 1634s # random seed: R02S55b0174d0b9c9443e0ad38340e00fe23 1634s 1..5 1634s # Start of GObject tests 1634s ok 1 /GObject/threaded-object-init 1637s ok 2 /GObject/threaded-weak-ref 1637s # slow test /GObject/threaded-weak-ref executed in 2.62 secs 1637s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1637s # /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 1637s ok 3 /GObject/threaded-toggle-notify 1637s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1637s # Start of threaded-weak-ref tests 1637s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1637s # /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. 1637s ok 5 /GObject/threaded-weak-ref/on-finalization 1637s # End of threaded-weak-ref tests 1637s # End of GObject tests 1637s ok - glib/threadtests.test 1637s # Running test: glib/sleepy-stream.test 1637s TAP version 13 1637s # random seed: R02Sa3fa5b9ae7b3271cd2067b43b4aa015e 1637s 1..2 1637s # Start of filter-stream tests 1637s ok 1 /filter-stream/input 1637s ok 2 /filter-stream/async 1637s # End of filter-stream tests 1637s ok - glib/sleepy-stream.test 1637s # Running test: glib/power-profile-monitor-dbus.test 1638s # Executing: glib/power-profile-monitor-dbus.test 1638s TAP version 13 1638s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1638s 1..1 1638s ok - glib/power-profile-monitor-dbus.test 1638s # Running test: glib/checksum.test 1638s TAP version 13 1638s # random seed: R02Sbf75296a46e10d9ad8113b598a0fb4a3 1638s 1..1851 1638s # Start of checksum tests 1638s ok 1 /checksum/unsupported 1638s # Start of MD5 tests 1638s ok 2 /checksum/MD5/0 1638s ok 3 /checksum/MD5/1 1638s ok 4 /checksum/MD5/2 1638s ok 5 /checksum/MD5/3 1638s ok 6 /checksum/MD5/4 1638s ok 7 /checksum/MD5/5 1638s ok 8 /checksum/MD5/6 1638s ok 9 /checksum/MD5/7 1638s ok 10 /checksum/MD5/8 1638s ok 11 /checksum/MD5/9 1638s ok 12 /checksum/MD5/10 1638s ok 13 /checksum/MD5/11 1638s ok 14 /checksum/MD5/12 1638s ok 15 /checksum/MD5/13 1638s ok 16 /checksum/MD5/14 1638s ok 17 /checksum/MD5/15 1638s ok 18 /checksum/MD5/16 1638s ok 19 /checksum/MD5/17 1638s ok 20 /checksum/MD5/18 1638s ok 21 /checksum/MD5/19 1638s ok 22 /checksum/MD5/20 1638s ok 23 /checksum/MD5/21 1638s ok 24 /checksum/MD5/22 1638s ok 25 /checksum/MD5/23 1638s ok 26 /checksum/MD5/24 1638s ok 27 /checksum/MD5/25 1638s ok 28 /checksum/MD5/26 1638s ok 29 /checksum/MD5/27 1638s ok 30 /checksum/MD5/28 1638s ok 31 /checksum/MD5/29 1638s ok 32 /checksum/MD5/30 1638s ok 33 /checksum/MD5/31 1638s ok 34 /checksum/MD5/32 1638s ok 35 /checksum/MD5/33 1638s ok 36 /checksum/MD5/34 1638s ok 37 /checksum/MD5/35 1638s ok 38 /checksum/MD5/36 1638s ok 39 /checksum/MD5/37 1638s ok 40 /checksum/MD5/38 1638s ok 41 /checksum/MD5/39 1638s ok 42 /checksum/MD5/40 1638s ok 43 /checksum/MD5/41 1638s ok 44 /checksum/MD5/42 1638s ok 45 /checksum/MD5/43 1638s ok 46 /checksum/MD5/44 1638s ok 47 /checksum/MD5/45 1638s ok 48 /checksum/MD5/46 1638s ok 49 /checksum/MD5/47 1638s ok 50 /checksum/MD5/48 1638s ok 51 /checksum/MD5/49 1638s ok 52 /checksum/MD5/50 1638s ok 53 /checksum/MD5/51 1638s ok 54 /checksum/MD5/52 1638s ok 55 /checksum/MD5/53 1638s ok 56 /checksum/MD5/54 1638s ok 57 /checksum/MD5/55 1638s ok 58 /checksum/MD5/56 1638s ok 59 /checksum/MD5/57 1638s ok 60 /checksum/MD5/58 1638s ok 61 /checksum/MD5/59 1638s ok 62 /checksum/MD5/60 1638s ok 63 /checksum/MD5/61 1638s ok 64 /checksum/MD5/62 1638s ok 65 /checksum/MD5/63 1638s ok 66 /checksum/MD5/64 1638s ok 67 /checksum/MD5/65 1638s ok 68 /checksum/MD5/66 1638s ok 69 /checksum/MD5/67 1638s ok 70 /checksum/MD5/68 1638s ok 71 /checksum/MD5/69 1638s ok 72 /checksum/MD5/70 1638s ok 73 /checksum/MD5/71 1638s ok 74 /checksum/MD5/72 1638s ok 75 /checksum/MD5/73 1638s ok 76 /checksum/MD5/74 1638s ok 77 /checksum/MD5/75 1638s ok 78 /checksum/MD5/76 1638s ok 79 /checksum/MD5/77 1638s ok 80 /checksum/MD5/78 1638s ok 81 /checksum/MD5/79 1638s ok 82 /checksum/MD5/80 1638s ok 83 /checksum/MD5/81 1638s ok 84 /checksum/MD5/82 1638s ok 85 /checksum/MD5/83 1638s ok 86 /checksum/MD5/84 1638s ok 87 /checksum/MD5/85 1638s ok 88 /checksum/MD5/86 1638s ok 89 /checksum/MD5/87 1638s ok 90 /checksum/MD5/88 1638s ok 91 /checksum/MD5/89 1638s ok 92 /checksum/MD5/90 1638s ok 93 /checksum/MD5/91 1638s ok 94 /checksum/MD5/92 1638s ok 95 /checksum/MD5/93 1638s ok 96 /checksum/MD5/94 1638s ok 97 /checksum/MD5/95 1638s ok 98 /checksum/MD5/96 1638s ok 99 /checksum/MD5/97 1638s ok 100 /checksum/MD5/98 1638s ok 101 /checksum/MD5/99 1638s ok 102 /checksum/MD5/100 1638s ok 103 /checksum/MD5/101 1638s ok 104 /checksum/MD5/102 1638s ok 105 /checksum/MD5/103 1638s ok 106 /checksum/MD5/104 1638s ok 107 /checksum/MD5/105 1638s ok 108 /checksum/MD5/106 1638s ok 109 /checksum/MD5/107 1638s ok 110 /checksum/MD5/108 1638s ok 111 /checksum/MD5/109 1638s ok 112 /checksum/MD5/110 1638s ok 113 /checksum/MD5/111 1638s ok 114 /checksum/MD5/112 1638s ok 115 /checksum/MD5/113 1638s ok 116 /checksum/MD5/114 1638s ok 117 /checksum/MD5/115 1638s ok 118 /checksum/MD5/116 1638s ok 119 /checksum/MD5/117 1638s ok 120 /checksum/MD5/118 1638s ok 121 /checksum/MD5/119 1638s ok 122 /checksum/MD5/120 1638s ok 123 /checksum/MD5/121 1638s ok 124 /checksum/MD5/122 1638s ok 125 /checksum/MD5/123 1638s ok 126 /checksum/MD5/124 1638s ok 127 /checksum/MD5/125 1638s ok 128 /checksum/MD5/126 1638s ok 129 /checksum/MD5/127 1638s ok 130 /checksum/MD5/128 1638s ok 131 /checksum/MD5/129 1638s ok 132 /checksum/MD5/130 1638s ok 133 /checksum/MD5/131 1638s ok 134 /checksum/MD5/132 1638s ok 135 /checksum/MD5/133 1638s ok 136 /checksum/MD5/134 1638s ok 137 /checksum/MD5/135 1638s ok 138 /checksum/MD5/136 1638s ok 139 /checksum/MD5/137 1638s ok 140 /checksum/MD5/138 1638s ok 141 /checksum/MD5/139 1638s ok 142 /checksum/MD5/140 1638s ok 143 /checksum/MD5/141 1638s ok 144 /checksum/MD5/142 1638s ok 145 /checksum/MD5/143 1638s ok 146 /checksum/MD5/144 1638s ok 147 /checksum/MD5/145 1638s ok 148 /checksum/MD5/146 1638s ok 149 /checksum/MD5/147 1638s ok 150 /checksum/MD5/148 1638s ok 151 /checksum/MD5/149 1638s ok 152 /checksum/MD5/150 1638s ok 153 /checksum/MD5/151 1638s ok 154 /checksum/MD5/152 1638s ok 155 /checksum/MD5/153 1638s ok 156 /checksum/MD5/154 1638s ok 157 /checksum/MD5/155 1638s ok 158 /checksum/MD5/156 1638s ok 159 /checksum/MD5/157 1638s ok 160 /checksum/MD5/158 1638s ok 161 /checksum/MD5/159 1638s ok 162 /checksum/MD5/160 1638s ok 163 /checksum/MD5/161 1638s ok 164 /checksum/MD5/162 1638s ok 165 /checksum/MD5/163 1638s ok 166 /checksum/MD5/164 1638s ok 167 /checksum/MD5/165 1638s ok 168 /checksum/MD5/166 1638s ok 169 /checksum/MD5/167 1638s ok 170 /checksum/MD5/168 1638s ok 171 /checksum/MD5/169 1638s ok 172 /checksum/MD5/170 1638s ok 173 /checksum/MD5/171 1638s ok 174 /checksum/MD5/172 1638s ok 175 /checksum/MD5/173 1638s ok 176 /checksum/MD5/174 1638s ok 177 /checksum/MD5/175 1638s ok 178 /checksum/MD5/176 1638s ok 179 /checksum/MD5/177 1638s ok 180 /checksum/MD5/178 1638s ok 181 /checksum/MD5/179 1638s ok 182 /checksum/MD5/180 1638s ok 183 /checksum/MD5/181 1638s ok 184 /checksum/MD5/182 1638s ok 185 /checksum/MD5/183 1638s ok 186 /checksum/MD5/string 1638s ok 187 /checksum/MD5/bytes 1638s # Start of reset tests 1638s ok 188 /checksum/MD5/reset/0 1638s ok 189 /checksum/MD5/reset/1 1638s ok 190 /checksum/MD5/reset/2 1638s ok 191 /checksum/MD5/reset/3 1638s ok 192 /checksum/MD5/reset/4 1638s ok 193 /checksum/MD5/reset/5 1638s ok 194 /checksum/MD5/reset/6 1638s ok 195 /checksum/MD5/reset/7 1638s ok 196 /checksum/MD5/reset/8 1638s ok 197 /checksum/MD5/reset/9 1638s ok 198 /checksum/MD5/reset/10 1638s ok 199 /checksum/MD5/reset/11 1638s ok 200 /checksum/MD5/reset/12 1638s ok 201 /checksum/MD5/reset/13 1638s ok 202 /checksum/MD5/reset/14 1638s ok 203 /checksum/MD5/reset/15 1638s ok 204 /checksum/MD5/reset/16 1638s ok 205 /checksum/MD5/reset/17 1638s ok 206 /checksum/MD5/reset/18 1638s ok 207 /checksum/MD5/reset/19 1638s ok 208 /checksum/MD5/reset/20 1638s ok 209 /checksum/MD5/reset/21 1638s ok 210 /checksum/MD5/reset/22 1638s ok 211 /checksum/MD5/reset/23 1638s ok 212 /checksum/MD5/reset/24 1638s ok 213 /checksum/MD5/reset/25 1638s ok 214 /checksum/MD5/reset/26 1638s ok 215 /checksum/MD5/reset/27 1638s ok 216 /checksum/MD5/reset/28 1638s ok 217 /checksum/MD5/reset/29 1638s ok 218 /checksum/MD5/reset/30 1638s ok 219 /checksum/MD5/reset/31 1638s ok 220 /checksum/MD5/reset/32 1638s ok 221 /checksum/MD5/reset/33 1638s ok 222 /checksum/MD5/reset/34 1638s ok 223 /checksum/MD5/reset/35 1638s ok 224 /checksum/MD5/reset/36 1638s ok 225 /checksum/MD5/reset/37 1638s ok 226 /checksum/MD5/reset/38 1638s ok 227 /checksum/MD5/reset/39 1638s ok 228 /checksum/MD5/reset/40 1638s ok 229 /checksum/MD5/reset/41 1638s ok 230 /checksum/MD5/reset/42 1638s ok 231 /checksum/MD5/reset/43 1638s ok 232 /checksum/MD5/reset/44 1638s ok 233 /checksum/MD5/reset/45 1638s ok 234 /checksum/MD5/reset/46 1638s ok 235 /checksum/MD5/reset/47 1638s ok 236 /checksum/MD5/reset/48 1638s ok 237 /checksum/MD5/reset/49 1638s ok 238 /checksum/MD5/reset/50 1638s ok 239 /checksum/MD5/reset/51 1638s ok 240 /checksum/MD5/reset/52 1638s ok 241 /checksum/MD5/reset/53 1638s ok 242 /checksum/MD5/reset/54 1638s ok 243 /checksum/MD5/reset/55 1638s ok 244 /checksum/MD5/reset/56 1638s ok 245 /checksum/MD5/reset/57 1638s ok 246 /checksum/MD5/reset/58 1638s ok 247 /checksum/MD5/reset/59 1638s ok 248 /checksum/MD5/reset/60 1638s ok 249 /checksum/MD5/reset/61 1638s ok 250 /checksum/MD5/reset/62 1638s ok 251 /checksum/MD5/reset/63 1638s ok 252 /checksum/MD5/reset/64 1638s ok 253 /checksum/MD5/reset/65 1638s ok 254 /checksum/MD5/reset/66 1638s ok 255 /checksum/MD5/reset/67 1638s ok 256 /checksum/MD5/reset/68 1638s ok 257 /checksum/MD5/reset/69 1638s ok 258 /checksum/MD5/reset/70 1638s ok 259 /checksum/MD5/reset/71 1638s ok 260 /checksum/MD5/reset/72 1638s ok 261 /checksum/MD5/reset/73 1638s ok 262 /checksum/MD5/reset/74 1638s ok 263 /checksum/MD5/reset/75 1638s ok 264 /checksum/MD5/reset/76 1638s ok 265 /checksum/MD5/reset/77 1638s ok 266 /checksum/MD5/reset/78 1638s ok 267 /checksum/MD5/reset/79 1638s ok 268 /checksum/MD5/reset/80 1638s ok 269 /checksum/MD5/reset/81 1638s ok 270 /checksum/MD5/reset/82 1638s ok 271 /checksum/MD5/reset/83 1638s ok 272 /checksum/MD5/reset/84 1638s ok 273 /checksum/MD5/reset/85 1638s ok 274 /checksum/MD5/reset/86 1638s ok 275 /checksum/MD5/reset/87 1638s ok 276 /checksum/MD5/reset/88 1638s ok 277 /checksum/MD5/reset/89 1638s ok 278 /checksum/MD5/reset/90 1638s ok 279 /checksum/MD5/reset/91 1638s ok 280 /checksum/MD5/reset/92 1638s ok 281 /checksum/MD5/reset/93 1638s ok 282 /checksum/MD5/reset/94 1638s ok 283 /checksum/MD5/reset/95 1638s ok 284 /checksum/MD5/reset/96 1638s ok 285 /checksum/MD5/reset/97 1638s ok 286 /checksum/MD5/reset/98 1638s ok 287 /checksum/MD5/reset/99 1638s ok 288 /checksum/MD5/reset/100 1638s ok 289 /checksum/MD5/reset/101 1638s ok 290 /checksum/MD5/reset/102 1638s ok 291 /checksum/MD5/reset/103 1638s ok 292 /checksum/MD5/reset/104 1638s ok 293 /checksum/MD5/reset/105 1638s ok 294 /checksum/MD5/reset/106 1638s ok 295 /checksum/MD5/reset/107 1638s ok 296 /checksum/MD5/reset/108 1638s ok 297 /checksum/MD5/reset/109 1638s ok 298 /checksum/MD5/reset/110 1638s ok 299 /checksum/MD5/reset/111 1638s ok 300 /checksum/MD5/reset/112 1638s ok 301 /checksum/MD5/reset/113 1638s ok 302 /checksum/MD5/reset/114 1638s ok 303 /checksum/MD5/reset/115 1638s ok 304 /checksum/MD5/reset/116 1638s ok 305 /checksum/MD5/reset/117 1638s ok 306 /checksum/MD5/reset/118 1638s ok 307 /checksum/MD5/reset/119 1638s ok 308 /checksum/MD5/reset/120 1638s ok 309 /checksum/MD5/reset/121 1638s ok 310 /checksum/MD5/reset/122 1638s ok 311 /checksum/MD5/reset/123 1638s ok 312 /checksum/MD5/reset/124 1638s ok 313 /checksum/MD5/reset/125 1638s ok 314 /checksum/MD5/reset/126 1638s ok 315 /checksum/MD5/reset/127 1638s ok 316 /checksum/MD5/reset/128 1638s ok 317 /checksum/MD5/reset/129 1638s ok 318 /checksum/MD5/reset/130 1638s ok 319 /checksum/MD5/reset/131 1638s ok 320 /checksum/MD5/reset/132 1638s ok 321 /checksum/MD5/reset/133 1638s ok 322 /checksum/MD5/reset/134 1638s ok 323 /checksum/MD5/reset/135 1638s ok 324 /checksum/MD5/reset/136 1638s ok 325 /checksum/MD5/reset/137 1638s ok 326 /checksum/MD5/reset/138 1638s ok 327 /checksum/MD5/reset/139 1638s ok 328 /checksum/MD5/reset/140 1638s ok 329 /checksum/MD5/reset/141 1638s ok 330 /checksum/MD5/reset/142 1638s ok 331 /checksum/MD5/reset/143 1638s ok 332 /checksum/MD5/reset/144 1638s ok 333 /checksum/MD5/reset/145 1638s ok 334 /checksum/MD5/reset/146 1638s ok 335 /checksum/MD5/reset/147 1638s ok 336 /checksum/MD5/reset/148 1638s ok 337 /checksum/MD5/reset/149 1638s ok 338 /checksum/MD5/reset/150 1638s ok 339 /checksum/MD5/reset/151 1638s ok 340 /checksum/MD5/reset/152 1638s ok 341 /checksum/MD5/reset/153 1638s ok 342 /checksum/MD5/reset/154 1638s ok 343 /checksum/MD5/reset/155 1638s ok 344 /checksum/MD5/reset/156 1638s ok 345 /checksum/MD5/reset/157 1638s ok 346 /checksum/MD5/reset/158 1638s ok 347 /checksum/MD5/reset/159 1638s ok 348 /checksum/MD5/reset/160 1638s ok 349 /checksum/MD5/reset/161 1638s ok 350 /checksum/MD5/reset/162 1638s ok 351 /checksum/MD5/reset/163 1638s ok 352 /checksum/MD5/reset/164 1638s ok 353 /checksum/MD5/reset/165 1638s ok 354 /checksum/MD5/reset/166 1638s ok 355 /checksum/MD5/reset/167 1638s ok 356 /checksum/MD5/reset/168 1638s ok 357 /checksum/MD5/reset/169 1638s ok 358 /checksum/MD5/reset/170 1638s ok 359 /checksum/MD5/reset/171 1638s ok 360 /checksum/MD5/reset/172 1638s ok 361 /checksum/MD5/reset/173 1638s ok 362 /checksum/MD5/reset/174 1638s ok 363 /checksum/MD5/reset/175 1638s ok 364 /checksum/MD5/reset/176 1638s ok 365 /checksum/MD5/reset/177 1638s ok 366 /checksum/MD5/reset/178 1638s ok 367 /checksum/MD5/reset/179 1638s ok 368 /checksum/MD5/reset/180 1638s ok 369 /checksum/MD5/reset/181 1638s ok 370 /checksum/MD5/reset/182 1638s ok 371 /checksum/MD5/reset/183 1638s # End of reset tests 1638s # End of MD5 tests 1638s # Start of SHA1 tests 1638s ok 372 /checksum/SHA1/0 1638s ok 373 /checksum/SHA1/1 1638s ok 374 /checksum/SHA1/2 1638s ok 375 /checksum/SHA1/3 1638s ok 376 /checksum/SHA1/4 1638s ok 377 /checksum/SHA1/5 1638s ok 378 /checksum/SHA1/6 1638s ok 379 /checksum/SHA1/7 1638s ok 380 /checksum/SHA1/8 1638s ok 381 /checksum/SHA1/9 1638s ok 382 /checksum/SHA1/10 1638s ok 383 /checksum/SHA1/11 1638s ok 384 /checksum/SHA1/12 1638s ok 385 /checksum/SHA1/13 1638s ok 386 /checksum/SHA1/14 1638s ok 387 /checksum/SHA1/15 1638s ok 388 /checksum/SHA1/16 1638s ok 389 /checksum/SHA1/17 1638s ok 390 /checksum/SHA1/18 1638s ok 391 /checksum/SHA1/19 1638s ok 392 /checksum/SHA1/20 1638s ok 393 /checksum/SHA1/21 1638s ok 394 /checksum/SHA1/22 1638s ok 395 /checksum/SHA1/23 1638s ok 396 /checksum/SHA1/24 1638s ok 397 /checksum/SHA1/25 1638s ok 398 /checksum/SHA1/26 1638s ok 399 /checksum/SHA1/27 1638s ok 400 /checksum/SHA1/28 1638s ok 401 /checksum/SHA1/29 1638s ok 402 /checksum/SHA1/30 1638s ok 403 /checksum/SHA1/31 1638s ok 404 /checksum/SHA1/32 1638s ok 405 /checksum/SHA1/33 1638s ok 406 /checksum/SHA1/34 1638s ok 407 /checksum/SHA1/35 1638s ok 408 /checksum/SHA1/36 1638s ok 409 /checksum/SHA1/37 1638s ok 410 /checksum/SHA1/38 1638s ok 411 /checksum/SHA1/39 1638s ok 412 /checksum/SHA1/40 1638s ok 413 /checksum/SHA1/41 1638s ok 414 /checksum/SHA1/42 1638s ok 415 /checksum/SHA1/43 1638s ok 416 /checksum/SHA1/44 1638s ok 417 /checksum/SHA1/45 1638s ok 418 /checksum/SHA1/46 1638s ok 419 /checksum/SHA1/47 1638s ok 420 /checksum/SHA1/48 1638s ok 421 /checksum/SHA1/49 1638s ok 422 /checksum/SHA1/50 1638s ok 423 /checksum/SHA1/51 1638s ok 424 /checksum/SHA1/52 1638s ok 425 /checksum/SHA1/53 1638s ok 426 /checksum/SHA1/54 1638s ok 427 /checksum/SHA1/55 1638s ok 428 /checksum/SHA1/56 1638s ok 429 /checksum/SHA1/57 1638s ok 430 /checksum/SHA1/58 1638s ok 431 /checksum/SHA1/59 1638s ok 432 /checksum/SHA1/60 1638s ok 433 /checksum/SHA1/61 1638s ok 434 /checksum/SHA1/62 1638s ok 435 /checksum/SHA1/63 1638s ok 436 /checksum/SHA1/64 1638s ok 437 /checksum/SHA1/65 1638s ok 438 /checksum/SHA1/66 1638s ok 439 /checksum/SHA1/67 1638s ok 440 /checksum/SHA1/68 1638s ok 441 /checksum/SHA1/69 1638s ok 442 /checksum/SHA1/70 1638s ok 443 /checksum/SHA1/71 1638s ok 444 /checksum/SHA1/72 1638s ok 445 /checksum/SHA1/73 1638s ok 446 /checksum/SHA1/74 1638s ok 447 /checksum/SHA1/75 1638s ok 448 /checksum/SHA1/76 1638s ok 449 /checksum/SHA1/77 1638s ok 450 /checksum/SHA1/78 1638s ok 451 /checksum/SHA1/79 1638s ok 452 /checksum/SHA1/80 1638s ok 453 /checksum/SHA1/81 1638s ok 454 /checksum/SHA1/82 1638s ok 455 /checksum/SHA1/83 1638s ok 456 /checksum/SHA1/84 1638s ok 457 /checksum/SHA1/85 1638s ok 458 /checksum/SHA1/86 1638s ok 459 /checksum/SHA1/87 1638s ok 460 /checksum/SHA1/88 1638s ok 461 /checksum/SHA1/89 1638s ok 462 /checksum/SHA1/90 1638s ok 463 /checksum/SHA1/91 1638s ok 464 /checksum/SHA1/92 1638s ok 465 /checksum/SHA1/93 1638s ok 466 /checksum/SHA1/94 1638s ok 467 /checksum/SHA1/95 1638s ok 468 /checksum/SHA1/96 1638s ok 469 /checksum/SHA1/97 1638s ok 470 /checksum/SHA1/98 1638s ok 471 /checksum/SHA1/99 1638s ok 472 /checksum/SHA1/100 1638s ok 473 /checksum/SHA1/101 1638s ok 474 /checksum/SHA1/102 1638s ok 475 /checksum/SHA1/103 1638s ok 476 /checksum/SHA1/104 1638s ok 477 /checksum/SHA1/105 1638s ok 478 /checksum/SHA1/106 1638s ok 479 /checksum/SHA1/107 1638s ok 480 /checksum/SHA1/108 1638s ok 481 /checksum/SHA1/109 1638s ok 482 /checksum/SHA1/110 1638s ok 483 /checksum/SHA1/111 1638s ok 484 /checksum/SHA1/112 1638s ok 485 /checksum/SHA1/113 1638s ok 486 /checksum/SHA1/114 1638s ok 487 /checksum/SHA1/115 1638s ok 488 /checksum/SHA1/116 1638s ok 489 /checksum/SHA1/117 1638s ok 490 /checksum/SHA1/118 1638s ok 491 /checksum/SHA1/119 1638s ok 492 /checksum/SHA1/120 1638s ok 493 /checksum/SHA1/121 1638s ok 494 /checksum/SHA1/122 1638s ok 495 /checksum/SHA1/123 1638s ok 496 /checksum/SHA1/124 1638s ok 497 /checksum/SHA1/125 1638s ok 498 /checksum/SHA1/126 1638s ok 499 /checksum/SHA1/127 1638s ok 500 /checksum/SHA1/128 1638s ok 501 /checksum/SHA1/129 1638s ok 502 /checksum/SHA1/130 1638s ok 503 /checksum/SHA1/131 1638s ok 504 /checksum/SHA1/132 1638s ok 505 /checksum/SHA1/133 1638s ok 506 /checksum/SHA1/134 1638s ok 507 /checksum/SHA1/135 1638s ok 508 /checksum/SHA1/136 1638s ok 509 /checksum/SHA1/137 1638s ok 510 /checksum/SHA1/138 1638s ok 511 /checksum/SHA1/139 1638s ok 512 /checksum/SHA1/140 1638s ok 513 /checksum/SHA1/141 1638s ok 514 /checksum/SHA1/142 1638s ok 515 /checksum/SHA1/143 1638s ok 516 /checksum/SHA1/144 1638s ok 517 /checksum/SHA1/145 1638s ok 518 /checksum/SHA1/146 1638s ok 519 /checksum/SHA1/147 1638s ok 520 /checksum/SHA1/148 1638s ok 521 /checksum/SHA1/149 1638s ok 522 /checksum/SHA1/150 1638s ok 523 /checksum/SHA1/151 1638s ok 524 /checksum/SHA1/152 1638s ok 525 /checksum/SHA1/153 1638s ok 526 /checksum/SHA1/154 1638s ok 527 /checksum/SHA1/155 1638s ok 528 /checksum/SHA1/156 1638s ok 529 /checksum/SHA1/157 1638s ok 530 /checksum/SHA1/158 1638s ok 531 /checksum/SHA1/159 1638s ok 532 /checksum/SHA1/160 1638s ok 533 /checksum/SHA1/161 1638s ok 534 /checksum/SHA1/162 1638s ok 535 /checksum/SHA1/163 1638s ok 536 /checksum/SHA1/164 1638s ok 537 /checksum/SHA1/165 1638s ok 538 /checksum/SHA1/166 1638s ok 539 /checksum/SHA1/167 1638s ok 540 /checksum/SHA1/168 1638s ok 541 /checksum/SHA1/169 1638s ok 542 /checksum/SHA1/170 1638s ok 543 /checksum/SHA1/171 1638s ok 544 /checksum/SHA1/172 1638s ok 545 /checksum/SHA1/173 1638s ok 546 /checksum/SHA1/174 1638s ok 547 /checksum/SHA1/175 1638s ok 548 /checksum/SHA1/176 1638s ok 549 /checksum/SHA1/177 1638s ok 550 /checksum/SHA1/178 1638s ok 551 /checksum/SHA1/179 1638s ok 552 /checksum/SHA1/180 1638s ok 553 /checksum/SHA1/181 1638s ok 554 /checksum/SHA1/182 1638s ok 555 /checksum/SHA1/183 1638s ok 556 /checksum/SHA1/string 1638s ok 557 /checksum/SHA1/bytes 1638s # Start of reset tests 1638s ok 558 /checksum/SHA1/reset/0 1638s ok 559 /checksum/SHA1/reset/1 1638s ok 560 /checksum/SHA1/reset/2 1638s ok 561 /checksum/SHA1/reset/3 1638s ok 562 /checksum/SHA1/reset/4 1638s ok 563 /checksum/SHA1/reset/5 1638s ok 564 /checksum/SHA1/reset/6 1638s ok 565 /checksum/SHA1/reset/7 1638s ok 566 /checksum/SHA1/reset/8 1638s ok 567 /checksum/SHA1/reset/9 1638s ok 568 /checksum/SHA1/reset/10 1638s ok 569 /checksum/SHA1/reset/11 1638s ok 570 /checksum/SHA1/reset/12 1638s ok 571 /checksum/SHA1/reset/13 1638s ok 572 /checksum/SHA1/reset/14 1638s ok 573 /checksum/SHA1/reset/15 1638s ok 574 /checksum/SHA1/reset/16 1638s ok 575 /checksum/SHA1/reset/17 1638s ok 576 /checksum/SHA1/reset/18 1638s ok 577 /checksum/SHA1/reset/19 1638s ok 578 /checksum/SHA1/reset/20 1638s ok 579 /checksum/SHA1/reset/21 1638s ok 580 /checksum/SHA1/reset/22 1638s ok 581 /checksum/SHA1/reset/23 1638s ok 582 /checksum/SHA1/reset/24 1638s ok 583 /checksum/SHA1/reset/25 1638s ok 584 /checksum/SHA1/reset/26 1638s ok 585 /checksum/SHA1/reset/27 1638s ok 586 /checksum/SHA1/reset/28 1638s ok 587 /checksum/SHA1/reset/29 1638s ok 588 /checksum/SHA1/reset/30 1638s ok 589 /checksum/SHA1/reset/31 1638s ok 590 /checksum/SHA1/reset/32 1638s ok 591 /checksum/SHA1/reset/33 1638s ok 592 /checksum/SHA1/reset/34 1638s ok 593 /checksum/SHA1/reset/35 1638s ok 594 /checksum/SHA1/reset/36 1638s ok 595 /checksum/SHA1/reset/37 1638s ok 596 /checksum/SHA1/reset/38 1638s ok 597 /checksum/SHA1/reset/39 1638s ok 598 /checksum/SHA1/reset/40 1638s ok 599 /checksum/SHA1/reset/41 1638s ok 600 /checksum/SHA1/reset/42 1638s ok 601 /checksum/SHA1/reset/43 1638s ok 602 /checksum/SHA1/reset/44 1638s ok 603 /checksum/SHA1/reset/45 1638s ok 604 /checksum/SHA1/reset/46 1638s ok 605 /checksum/SHA1/reset/47 1638s ok 606 /checksum/SHA1/reset/48 1638s ok 607 /checksum/SHA1/reset/49 1638s ok 608 /checksum/SHA1/reset/50 1638s ok 609 /checksum/SHA1/reset/51 1638s ok 610 /checksum/SHA1/reset/52 1638s ok 611 /checksum/SHA1/reset/53 1638s ok 612 /checksum/SHA1/reset/54 1638s ok 613 /checksum/SHA1/reset/55 1638s ok 614 /checksum/SHA1/reset/56 1638s ok 615 /checksum/SHA1/reset/57 1638s ok 616 /checksum/SHA1/reset/58 1638s ok 617 /checksum/SHA1/reset/59 1638s ok 618 /checksum/SHA1/reset/60 1638s ok 619 /checksum/SHA1/reset/61 1638s ok 620 /checksum/SHA1/reset/62 1638s ok 621 /checksum/SHA1/reset/63 1638s ok 622 /checksum/SHA1/reset/64 1638s ok 623 /checksum/SHA1/reset/65 1638s ok 624 /checksum/SHA1/reset/66 1638s ok 625 /checksum/SHA1/reset/67 1638s ok 626 /checksum/SHA1/reset/68 1638s ok 627 /checksum/SHA1/reset/69 1638s ok 628 /checksum/SHA1/reset/70 1638s ok 629 /checksum/SHA1/reset/71 1638s ok 630 /checksum/SHA1/reset/72 1638s ok 631 /checksum/SHA1/reset/73 1638s ok 632 /checksum/SHA1/reset/74 1638s ok 633 /checksum/SHA1/reset/75 1638s ok 634 /checksum/SHA1/reset/76 1638s ok 635 /checksum/SHA1/reset/77 1638s ok 636 /checksum/SHA1/reset/78 1638s ok 637 /checksum/SHA1/reset/79 1638s ok 638 /checksum/SHA1/reset/80 1638s ok 639 /checksum/SHA1/reset/81 1638s ok 640 /checksum/SHA1/reset/82 1638s ok 641 /checksum/SHA1/reset/83 1638s ok 642 /checksum/SHA1/reset/84 1638s ok 643 /checksum/SHA1/reset/85 1638s ok 644 /checksum/SHA1/reset/86 1638s ok 645 /checksum/SHA1/reset/87 1638s ok 646 /checksum/SHA1/reset/88 1638s ok 647 /checksum/SHA1/reset/89 1638s ok 648 /checksum/SHA1/reset/90 1638s ok 649 /checksum/SHA1/reset/91 1638s ok 650 /checksum/SHA1/reset/92 1638s ok 651 /checksum/SHA1/reset/93 1638s ok 652 /checksum/SHA1/reset/94 1638s ok 653 /checksum/SHA1/reset/95 1638s ok 654 /checksum/SHA1/reset/96 1638s ok 655 /checksum/SHA1/reset/97 1638s ok 656 /checksum/SHA1/reset/98 1638s ok 657 /checksum/SHA1/reset/99 1638s ok 658 /checksum/SHA1/reset/100 1638s ok 659 /checksum/SHA1/reset/101 1638s ok 660 /checksum/SHA1/reset/102 1638s ok 661 /checksum/SHA1/reset/103 1638s ok 662 /checksum/SHA1/reset/104 1638s ok 663 /checksum/SHA1/reset/105 1638s ok 664 /checksum/SHA1/reset/106 1638s ok 665 /checksum/SHA1/reset/107 1638s ok 666 /checksum/SHA1/reset/108 1638s ok 667 /checksum/SHA1/reset/109 1638s ok 668 /checksum/SHA1/reset/110 1638s ok 669 /checksum/SHA1/reset/111 1638s ok 670 /checksum/SHA1/reset/112 1638s ok 671 /checksum/SHA1/reset/113 1638s ok 672 /checksum/SHA1/reset/114 1638s ok 673 /checksum/SHA1/reset/115 1638s ok 674 /checksum/SHA1/reset/116 1638s ok 675 /checksum/SHA1/reset/117 1638s ok 676 /checksum/SHA1/reset/118 1638s ok 677 /checksum/SHA1/reset/119 1638s ok 678 /checksum/SHA1/reset/120 1638s ok 679 /checksum/SHA1/reset/121 1638s ok 680 /checksum/SHA1/reset/122 1638s ok 681 /checksum/SHA1/reset/123 1638s ok 682 /checksum/SHA1/reset/124 1638s ok 683 /checksum/SHA1/reset/125 1638s ok 684 /checksum/SHA1/reset/126 1638s ok 685 /checksum/SHA1/reset/127 1638s ok 686 /checksum/SHA1/reset/128 1638s ok 687 /checksum/SHA1/reset/129 1638s ok 688 /checksum/SHA1/reset/130 1638s ok 689 /checksum/SHA1/reset/131 1638s ok 690 /checksum/SHA1/reset/132 1638s ok 691 /checksum/SHA1/reset/133 1638s ok 692 /checksum/SHA1/reset/134 1638s ok 693 /checksum/SHA1/reset/135 1638s ok 694 /checksum/SHA1/reset/136 1638s ok 695 /checksum/SHA1/reset/137 1638s ok 696 /checksum/SHA1/reset/138 1638s ok 697 /checksum/SHA1/reset/139 1638s ok 698 /checksum/SHA1/reset/140 1638s ok 699 /checksum/SHA1/reset/141 1638s ok 700 /checksum/SHA1/reset/142 1638s ok 701 /checksum/SHA1/reset/143 1638s ok 702 /checksum/SHA1/reset/144 1638s ok 703 /checksum/SHA1/reset/145 1638s ok 704 /checksum/SHA1/reset/146 1638s ok 705 /checksum/SHA1/reset/147 1638s ok 706 /checksum/SHA1/reset/148 1638s ok 707 /checksum/SHA1/reset/149 1638s ok 708 /checksum/SHA1/reset/150 1638s ok 709 /checksum/SHA1/reset/151 1638s ok 710 /checksum/SHA1/reset/152 1638s ok 711 /checksum/SHA1/reset/153 1638s ok 712 /checksum/SHA1/reset/154 1638s ok 713 /checksum/SHA1/reset/155 1638s ok 714 /checksum/SHA1/reset/156 1638s ok 715 /checksum/SHA1/reset/157 1638s ok 716 /checksum/SHA1/reset/158 1638s ok 717 /checksum/SHA1/reset/159 1638s ok 718 /checksum/SHA1/reset/160 1638s ok 719 /checksum/SHA1/reset/161 1638s ok 720 /checksum/SHA1/reset/162 1638s ok 721 /checksum/SHA1/reset/163 1638s ok 722 /checksum/SHA1/reset/164 1638s ok 723 /checksum/SHA1/reset/165 1638s ok 724 /checksum/SHA1/reset/166 1638s ok 725 /checksum/SHA1/reset/167 1638s ok 726 /checksum/SHA1/reset/168 1638s ok 727 /checksum/SHA1/reset/169 1638s ok 728 /checksum/SHA1/reset/170 1638s ok 729 /checksum/SHA1/reset/171 1638s ok 730 /checksum/SHA1/reset/172 1638s ok 731 /checksum/SHA1/reset/173 1638s ok 732 /checksum/SHA1/reset/174 1638s ok 733 /checksum/SHA1/reset/175 1638s ok 734 /checksum/SHA1/reset/176 1638s ok 735 /checksum/SHA1/reset/177 1638s ok 736 /checksum/SHA1/reset/178 1638s ok 737 /checksum/SHA1/reset/179 1638s ok 738 /checksum/SHA1/reset/180 1638s ok 739 /checksum/SHA1/reset/181 1638s ok 740 /checksum/SHA1/reset/182 1638s ok 741 /checksum/SHA1/reset/183 1638s # End of reset tests 1638s # End of SHA1 tests 1638s # Start of SHA256 tests 1638s ok 742 /checksum/SHA256/0 1638s ok 743 /checksum/SHA256/1 1638s ok 744 /checksum/SHA256/2 1638s ok 745 /checksum/SHA256/3 1638s ok 746 /checksum/SHA256/4 1638s ok 747 /checksum/SHA256/5 1638s ok 748 /checksum/SHA256/6 1638s ok 749 /checksum/SHA256/7 1638s ok 750 /checksum/SHA256/8 1638s ok 751 /checksum/SHA256/9 1638s ok 752 /checksum/SHA256/10 1638s ok 753 /checksum/SHA256/11 1638s ok 754 /checksum/SHA256/12 1638s ok 755 /checksum/SHA256/13 1638s ok 756 /checksum/SHA256/14 1638s ok 757 /checksum/SHA256/15 1638s ok 758 /checksum/SHA256/16 1638s ok 759 /checksum/SHA256/17 1638s ok 760 /checksum/SHA256/18 1638s ok 761 /checksum/SHA256/19 1638s ok 762 /checksum/SHA256/20 1638s ok 763 /checksum/SHA256/21 1638s ok 764 /checksum/SHA256/22 1638s ok 765 /checksum/SHA256/23 1638s ok 766 /checksum/SHA256/24 1638s ok 767 /checksum/SHA256/25 1638s ok 768 /checksum/SHA256/26 1638s ok 769 /checksum/SHA256/27 1638s ok 770 /checksum/SHA256/28 1638s ok 771 /checksum/SHA256/29 1638s ok 772 /checksum/SHA256/30 1638s ok 773 /checksum/SHA256/31 1638s ok 774 /checksum/SHA256/32 1638s ok 775 /checksum/SHA256/33 1638s ok 776 /checksum/SHA256/34 1638s ok 777 /checksum/SHA256/35 1638s ok 778 /checksum/SHA256/36 1638s ok 779 /checksum/SHA256/37 1638s ok 780 /checksum/SHA256/38 1638s ok 781 /checksum/SHA256/39 1638s ok 782 /checksum/SHA256/40 1638s ok 783 /checksum/SHA256/41 1638s ok 784 /checksum/SHA256/42 1638s ok 785 /checksum/SHA256/43 1638s ok 786 /checksum/SHA256/44 1638s ok 787 /checksum/SHA256/45 1638s ok 788 /checksum/SHA256/46 1638s ok 789 /checksum/SHA256/47 1638s ok 790 /checksum/SHA256/48 1638s ok 791 /checksum/SHA256/49 1638s ok 792 /checksum/SHA256/50 1638s ok 793 /checksum/SHA256/51 1638s ok 794 /checksum/SHA256/52 1638s ok 795 /checksum/SHA256/53 1638s ok 796 /checksum/SHA256/54 1638s ok 797 /checksum/SHA256/55 1638s ok 798 /checksum/SHA256/56 1638s ok 799 /checksum/SHA256/57 1638s ok 800 /checksum/SHA256/58 1638s ok 801 /checksum/SHA256/59 1638s ok 802 /checksum/SHA256/60 1638s ok 803 /checksum/SHA256/61 1638s ok 804 /checksum/SHA256/62 1638s ok 805 /checksum/SHA256/63 1638s ok 806 /checksum/SHA256/64 1638s ok 807 /checksum/SHA256/65 1638s ok 808 /checksum/SHA256/66 1638s ok 809 /checksum/SHA256/67 1638s ok 810 /checksum/SHA256/68 1638s ok 811 /checksum/SHA256/69 1638s ok 812 /checksum/SHA256/70 1638s ok 813 /checksum/SHA256/71 1638s ok 814 /checksum/SHA256/72 1638s ok 815 /checksum/SHA256/73 1638s ok 816 /checksum/SHA256/74 1638s ok 817 /checksum/SHA256/75 1638s ok 818 /checksum/SHA256/76 1638s ok 819 /checksum/SHA256/77 1638s ok 820 /checksum/SHA256/78 1638s ok 821 /checksum/SHA256/79 1638s ok 822 /checksum/SHA256/80 1638s ok 823 /checksum/SHA256/81 1638s ok 824 /checksum/SHA256/82 1638s ok 825 /checksum/SHA256/83 1638s ok 826 /checksum/SHA256/84 1638s ok 827 /checksum/SHA256/85 1638s ok 828 /checksum/SHA256/86 1638s ok 829 /checksum/SHA256/87 1638s ok 830 /checksum/SHA256/88 1638s ok 831 /checksum/SHA256/89 1638s ok 832 /checksum/SHA256/90 1638s ok 833 /checksum/SHA256/91 1638s ok 834 /checksum/SHA256/92 1638s ok 835 /checksum/SHA256/93 1638s ok 836 /checksum/SHA256/94 1638s ok 837 /checksum/SHA256/95 1638s ok 838 /checksum/SHA256/96 1638s ok 839 /checksum/SHA256/97 1638s ok 840 /checksum/SHA256/98 1638s ok 841 /checksum/SHA256/99 1638s ok 842 /checksum/SHA256/100 1638s ok 843 /checksum/SHA256/101 1638s ok 844 /checksum/SHA256/102 1638s ok 845 /checksum/SHA256/103 1638s ok 846 /checksum/SHA256/104 1638s ok 847 /checksum/SHA256/105 1638s ok 848 /checksum/SHA256/106 1638s ok 849 /checksum/SHA256/107 1638s ok 850 /checksum/SHA256/108 1638s ok 851 /checksum/SHA256/109 1638s ok 852 /checksum/SHA256/110 1638s ok 853 /checksum/SHA256/111 1638s ok 854 /checksum/SHA256/112 1638s ok 855 /checksum/SHA256/113 1638s ok 856 /checksum/SHA256/114 1638s ok 857 /checksum/SHA256/115 1638s ok 858 /checksum/SHA256/116 1638s ok 859 /checksum/SHA256/117 1638s ok 860 /checksum/SHA256/118 1638s ok 861 /checksum/SHA256/119 1638s ok 862 /checksum/SHA256/120 1638s ok 863 /checksum/SHA256/121 1638s ok 864 /checksum/SHA256/122 1638s ok 865 /checksum/SHA256/123 1638s ok 866 /checksum/SHA256/124 1638s ok 867 /checksum/SHA256/125 1638s ok 868 /checksum/SHA256/126 1638s ok 869 /checksum/SHA256/127 1638s ok 870 /checksum/SHA256/128 1638s ok 871 /checksum/SHA256/129 1638s ok 872 /checksum/SHA256/130 1638s ok 873 /checksum/SHA256/131 1638s ok 874 /checksum/SHA256/132 1638s ok 875 /checksum/SHA256/133 1638s ok 876 /checksum/SHA256/134 1638s ok 877 /checksum/SHA256/135 1638s ok 878 /checksum/SHA256/136 1638s ok 879 /checksum/SHA256/137 1638s ok 880 /checksum/SHA256/138 1638s ok 881 /checksum/SHA256/139 1638s ok 882 /checksum/SHA256/140 1638s ok 883 /checksum/SHA256/141 1638s ok 884 /checksum/SHA256/142 1638s ok 885 /checksum/SHA256/143 1638s ok 886 /checksum/SHA256/144 1638s ok 887 /checksum/SHA256/145 1638s ok 888 /checksum/SHA256/146 1638s ok 889 /checksum/SHA256/147 1638s ok 890 /checksum/SHA256/148 1638s ok 891 /checksum/SHA256/149 1638s ok 892 /checksum/SHA256/150 1638s ok 893 /checksum/SHA256/151 1638s ok 894 /checksum/SHA256/152 1638s ok 895 /checksum/SHA256/153 1638s ok 896 /checksum/SHA256/154 1638s ok 897 /checksum/SHA256/155 1638s ok 898 /checksum/SHA256/156 1638s ok 899 /checksum/SHA256/157 1638s ok 900 /checksum/SHA256/158 1638s ok 901 /checksum/SHA256/159 1638s ok 902 /checksum/SHA256/160 1638s ok 903 /checksum/SHA256/161 1638s ok 904 /checksum/SHA256/162 1638s ok 905 /checksum/SHA256/163 1638s ok 906 /checksum/SHA256/164 1638s ok 907 /checksum/SHA256/165 1638s ok 908 /checksum/SHA256/166 1638s ok 909 /checksum/SHA256/167 1638s ok 910 /checksum/SHA256/168 1638s ok 911 /checksum/SHA256/169 1638s ok 912 /checksum/SHA256/170 1638s ok 913 /checksum/SHA256/171 1638s ok 914 /checksum/SHA256/172 1638s ok 915 /checksum/SHA256/173 1638s ok 916 /checksum/SHA256/174 1638s ok 917 /checksum/SHA256/175 1638s ok 918 /checksum/SHA256/176 1638s ok 919 /checksum/SHA256/177 1638s ok 920 /checksum/SHA256/178 1638s ok 921 /checksum/SHA256/179 1638s ok 922 /checksum/SHA256/180 1638s ok 923 /checksum/SHA256/181 1638s ok 924 /checksum/SHA256/182 1638s ok 925 /checksum/SHA256/183 1638s ok 926 /checksum/SHA256/string 1638s ok 927 /checksum/SHA256/bytes 1638s # Start of reset tests 1638s ok 928 /checksum/SHA256/reset/0 1638s ok 929 /checksum/SHA256/reset/1 1638s ok 930 /checksum/SHA256/reset/2 1638s ok 931 /checksum/SHA256/reset/3 1638s ok 932 /checksum/SHA256/reset/4 1638s ok 933 /checksum/SHA256/reset/5 1638s ok 934 /checksum/SHA256/reset/6 1638s ok 935 /checksum/SHA256/reset/7 1638s ok 936 /checksum/SHA256/reset/8 1638s ok 937 /checksum/SHA256/reset/9 1638s ok 938 /checksum/SHA256/reset/10 1638s ok 939 /checksum/SHA256/reset/11 1638s ok 940 /checksum/SHA256/reset/12 1638s ok 941 /checksum/SHA256/reset/13 1638s ok 942 /checksum/SHA256/reset/14 1638s ok 943 /checksum/SHA256/reset/15 1638s ok 944 /checksum/SHA256/reset/16 1638s ok 945 /checksum/SHA256/reset/17 1638s ok 946 /checksum/SHA256/reset/18 1638s ok 947 /checksum/SHA256/reset/19 1638s ok 948 /checksum/SHA256/reset/20 1638s ok 949 /checksum/SHA256/reset/21 1638s ok 950 /checksum/SHA256/reset/22 1638s ok 951 /checksum/SHA256/reset/23 1638s ok 952 /checksum/SHA256/reset/24 1638s ok 953 /checksum/SHA256/reset/25 1638s ok 954 /checksum/SHA256/reset/26 1638s ok 955 /checksum/SHA256/reset/27 1638s ok 956 /checksum/SHA256/reset/28 1638s ok 957 /checksum/SHA256/reset/29 1638s ok 958 /checksum/SHA256/reset/30 1638s ok 959 /checksum/SHA256/reset/31 1638s ok 960 /checksum/SHA256/reset/32 1638s ok 961 /checksum/SHA256/reset/33 1638s ok 962 /checksum/SHA256/reset/34 1638s ok 963 /checksum/SHA256/reset/35 1638s ok 964 /checksum/SHA256/reset/36 1638s ok 965 /checksum/SHA256/reset/37 1638s ok 966 /checksum/SHA256/reset/38 1638s ok 967 /checksum/SHA256/reset/39 1638s ok 968 /checksum/SHA256/reset/40 1638s ok 969 /checksum/SHA256/reset/41 1638s ok 970 /checksum/SHA256/reset/42 1638s ok 971 /checksum/SHA256/reset/43 1638s ok 972 /checksum/SHA256/reset/44 1638s ok 973 /checksum/SHA256/reset/45 1638s ok 974 /checksum/SHA256/reset/46 1638s ok 975 /checksum/SHA256/reset/47 1638s ok 976 /checksum/SHA256/reset/48 1638s ok 977 /checksum/SHA256/reset/49 1638s ok 978 /checksum/SHA256/reset/50 1638s ok 979 /checksum/SHA256/reset/51 1638s ok 980 /checksum/SHA256/reset/52 1638s ok 981 /checksum/SHA256/reset/53 1638s ok 982 /checksum/SHA256/reset/54 1638s ok 983 /checksum/SHA256/reset/55 1638s ok 984 /checksum/SHA256/reset/56 1638s ok 985 /checksum/SHA256/reset/57 1638s ok 986 /checksum/SHA256/reset/58 1638s ok 987 /checksum/SHA256/reset/59 1638s ok 988 /checksum/SHA256/reset/60 1638s ok 989 /checksum/SHA256/reset/61 1638s ok 990 /checksum/SHA256/reset/62 1638s ok 991 /checksum/SHA256/reset/63 1638s ok 992 /checksum/SHA256/reset/64 1638s ok 993 /checksum/SHA256/reset/65 1638s ok 994 /checksum/SHA256/reset/66 1638s ok 995 /checksum/SHA256/reset/67 1638s ok 996 /checksum/SHA256/reset/68 1638s ok 997 /checksum/SHA256/reset/69 1638s ok 998 /checksum/SHA256/reset/70 1638s ok 999 /checksum/SHA256/reset/71 1638s ok 1000 /checksum/SHA256/reset/72 1638s ok 1001 /checksum/SHA256/reset/73 1638s ok 1002 /checksum/SHA256/reset/74 1638s ok 1003 /checksum/SHA256/reset/75 1638s ok 1004 /checksum/SHA256/reset/76 1638s ok 1005 /checksum/SHA256/reset/77 1638s ok 1006 /checksum/SHA256/reset/78 1638s ok 1007 /checksum/SHA256/reset/79 1638s ok 1008 /checksum/SHA256/reset/80 1638s ok 1009 /checksum/SHA256/reset/81 1638s ok 1010 /checksum/SHA256/reset/82 1638s ok 1011 /checksum/SHA256/reset/83 1638s ok 1012 /checksum/SHA256/reset/84 1638s ok 1013 /checksum/SHA256/reset/85 1638s ok 1014 /checksum/SHA256/reset/86 1638s ok 1015 /checksum/SHA256/reset/87 1638s ok 1016 /checksum/SHA256/reset/88 1638s ok 1017 /checksum/SHA256/reset/89 1638s ok 1018 /checksum/SHA256/reset/90 1638s ok 1019 /checksum/SHA256/reset/91 1638s ok 1020 /checksum/SHA256/reset/92 1638s ok 1021 /checksum/SHA256/reset/93 1638s ok 1022 /checksum/SHA256/reset/94 1638s ok 1023 /checksum/SHA256/reset/95 1638s ok 1024 /checksum/SHA256/reset/96 1638s ok 1025 /checksum/SHA256/reset/97 1638s ok 1026 /checksum/SHA256/reset/98 1638s ok 1027 /checksum/SHA256/reset/99 1638s ok 1028 /checksum/SHA256/reset/100 1638s ok 1029 /checksum/SHA256/reset/101 1638s ok 1030 /checksum/SHA256/reset/102 1638s ok 1031 /checksum/SHA256/reset/103 1638s ok 1032 /checksum/SHA256/reset/104 1638s ok 1033 /checksum/SHA256/reset/105 1638s ok 1034 /checksum/SHA256/reset/106 1638s ok 1035 /checksum/SHA256/reset/107 1638s ok 1036 /checksum/SHA256/reset/108 1638s ok 1037 /checksum/SHA256/reset/109 1638s ok 1038 /checksum/SHA256/reset/110 1638s ok 1039 /checksum/SHA256/reset/111 1638s ok 1040 /checksum/SHA256/reset/112 1638s ok 1041 /checksum/SHA256/reset/113 1638s ok 1042 /checksum/SHA256/reset/114 1638s ok 1043 /checksum/SHA256/reset/115 1638s ok 1044 /checksum/SHA256/reset/116 1638s ok 1045 /checksum/SHA256/reset/117 1638s ok 1046 /checksum/SHA256/reset/118 1638s ok 1047 /checksum/SHA256/reset/119 1638s ok 1048 /checksum/SHA256/reset/120 1638s ok 1049 /checksum/SHA256/reset/121 1638s ok 1050 /checksum/SHA256/reset/122 1638s ok 1051 /checksum/SHA256/reset/123 1638s ok 1052 /checksum/SHA256/reset/124 1638s ok 1053 /checksum/SHA256/reset/125 1638s ok 1054 /checksum/SHA256/reset/126 1638s ok 1055 /checksum/SHA256/reset/127 1638s ok 1056 /checksum/SHA256/reset/128 1638s ok 1057 /checksum/SHA256/reset/129 1638s ok 1058 /checksum/SHA256/reset/130 1638s ok 1059 /checksum/SHA256/reset/131 1638s ok 1060 /checksum/SHA256/reset/132 1638s ok 1061 /checksum/SHA256/reset/133 1638s ok 1062 /checksum/SHA256/reset/134 1638s ok 1063 /checksum/SHA256/reset/135 1638s ok 1064 /checksum/SHA256/reset/136 1638s ok 1065 /checksum/SHA256/reset/137 1638s ok 1066 /checksum/SHA256/reset/138 1638s ok 1067 /checksum/SHA256/reset/139 1638s ok 1068 /checksum/SHA256/reset/140 1638s ok 1069 /checksum/SHA256/reset/141 1638s ok 1070 /checksum/SHA256/reset/142 1638s ok 1071 /checksum/SHA256/reset/143 1638s ok 1072 /checksum/SHA256/reset/144 1638s ok 1073 /checksum/SHA256/reset/145 1638s ok 1074 /checksum/SHA256/reset/146 1638s ok 1075 /checksum/SHA256/reset/147 1638s ok 1076 /checksum/SHA256/reset/148 1638s ok 1077 /checksum/SHA256/reset/149 1638s ok 1078 /checksum/SHA256/reset/150 1638s ok 1079 /checksum/SHA256/reset/151 1638s ok 1080 /checksum/SHA256/reset/152 1638s ok 1081 /checksum/SHA256/reset/153 1638s ok 1082 /checksum/SHA256/reset/154 1638s ok 1083 /checksum/SHA256/reset/155 1638s ok 1084 /checksum/SHA256/reset/156 1638s ok 1085 /checksum/SHA256/reset/157 1638s ok 1086 /checksum/SHA256/reset/158 1638s ok 1087 /checksum/SHA256/reset/159 1638s ok 1088 /checksum/SHA256/reset/160 1638s ok 1089 /checksum/SHA256/reset/161 1638s ok 1090 /checksum/SHA256/reset/162 1638s ok 1091 /checksum/SHA256/reset/163 1638s ok 1092 /checksum/SHA256/reset/164 1638s ok 1093 /checksum/SHA256/reset/165 1638s ok 1094 /checksum/SHA256/reset/166 1638s ok 1095 /checksum/SHA256/reset/167 1638s ok 1096 /checksum/SHA256/reset/168 1638s ok 1097 /checksum/SHA256/reset/169 1638s ok 1098 /checksum/SHA256/reset/170 1638s ok 1099 /checksum/SHA256/reset/171 1638s ok 1100 /checksum/SHA256/reset/172 1638s ok 1101 /checksum/SHA256/reset/173 1638s ok 1102 /checksum/SHA256/reset/174 1638s ok 1103 /checksum/SHA256/reset/175 1638s ok 1104 /checksum/SHA256/reset/176 1638s ok 1105 /checksum/SHA256/reset/177 1638s ok 1106 /checksum/SHA256/reset/178 1638s ok 1107 /checksum/SHA256/reset/179 1638s ok 1108 /checksum/SHA256/reset/180 1638s ok 1109 /checksum/SHA256/reset/181 1638s ok 1110 /checksum/SHA256/reset/182 1638s ok 1111 /checksum/SHA256/reset/183 1638s # End of reset tests 1638s # End of SHA256 tests 1638s # Start of SHA384 tests 1638s ok 1112 /checksum/SHA384/0 1638s ok 1113 /checksum/SHA384/1 1638s ok 1114 /checksum/SHA384/2 1638s ok 1115 /checksum/SHA384/3 1638s ok 1116 /checksum/SHA384/4 1638s ok 1117 /checksum/SHA384/5 1638s ok 1118 /checksum/SHA384/6 1638s ok 1119 /checksum/SHA384/7 1638s ok 1120 /checksum/SHA384/8 1638s ok 1121 /checksum/SHA384/9 1638s ok 1122 /checksum/SHA384/10 1638s ok 1123 /checksum/SHA384/11 1638s ok 1124 /checksum/SHA384/12 1638s ok 1125 /checksum/SHA384/13 1638s ok 1126 /checksum/SHA384/14 1638s ok 1127 /checksum/SHA384/15 1638s ok 1128 /checksum/SHA384/16 1638s ok 1129 /checksum/SHA384/17 1638s ok 1130 /checksum/SHA384/18 1638s ok 1131 /checksum/SHA384/19 1638s ok 1132 /checksum/SHA384/20 1638s ok 1133 /checksum/SHA384/21 1638s ok 1134 /checksum/SHA384/22 1638s ok 1135 /checksum/SHA384/23 1638s ok 1136 /checksum/SHA384/24 1638s ok 1137 /checksum/SHA384/25 1638s ok 1138 /checksum/SHA384/26 1638s ok 1139 /checksum/SHA384/27 1638s ok 1140 /checksum/SHA384/28 1638s ok 1141 /checksum/SHA384/29 1638s ok 1142 /checksum/SHA384/30 1638s ok 1143 /checksum/SHA384/31 1638s ok 1144 /checksum/SHA384/32 1638s ok 1145 /checksum/SHA384/33 1638s ok 1146 /checksum/SHA384/34 1638s ok 1147 /checksum/SHA384/35 1638s ok 1148 /checksum/SHA384/36 1638s ok 1149 /checksum/SHA384/37 1638s ok 1150 /checksum/SHA384/38 1638s ok 1151 /checksum/SHA384/39 1638s ok 1152 /checksum/SHA384/40 1638s ok 1153 /checksum/SHA384/41 1638s ok 1154 /checksum/SHA384/42 1638s ok 1155 /checksum/SHA384/43 1638s ok 1156 /checksum/SHA384/44 1638s ok 1157 /checksum/SHA384/45 1638s ok 1158 /checksum/SHA384/46 1638s ok 1159 /checksum/SHA384/47 1638s ok 1160 /checksum/SHA384/48 1638s ok 1161 /checksum/SHA384/49 1638s ok 1162 /checksum/SHA384/50 1638s ok 1163 /checksum/SHA384/51 1638s ok 1164 /checksum/SHA384/52 1638s ok 1165 /checksum/SHA384/53 1638s ok 1166 /checksum/SHA384/54 1638s ok 1167 /checksum/SHA384/55 1638s ok 1168 /checksum/SHA384/56 1638s ok 1169 /checksum/SHA384/57 1638s ok 1170 /checksum/SHA384/58 1638s ok 1171 /checksum/SHA384/59 1638s ok 1172 /checksum/SHA384/60 1638s ok 1173 /checksum/SHA384/61 1638s ok 1174 /checksum/SHA384/62 1638s ok 1175 /checksum/SHA384/63 1638s ok 1176 /checksum/SHA384/64 1638s ok 1177 /checksum/SHA384/65 1638s ok 1178 /checksum/SHA384/66 1638s ok 1179 /checksum/SHA384/67 1638s ok 1180 /checksum/SHA384/68 1638s ok 1181 /checksum/SHA384/69 1638s ok 1182 /checksum/SHA384/70 1638s ok 1183 /checksum/SHA384/71 1638s ok 1184 /checksum/SHA384/72 1638s ok 1185 /checksum/SHA384/73 1638s ok 1186 /checksum/SHA384/74 1638s ok 1187 /checksum/SHA384/75 1638s ok 1188 /checksum/SHA384/76 1638s ok 1189 /checksum/SHA384/77 1638s ok 1190 /checksum/SHA384/78 1638s ok 1191 /checksum/SHA384/79 1638s ok 1192 /checksum/SHA384/80 1638s ok 1193 /checksum/SHA384/81 1638s ok 1194 /checksum/SHA384/82 1638s ok 1195 /checksum/SHA384/83 1638s ok 1196 /checksum/SHA384/84 1638s ok 1197 /checksum/SHA384/85 1638s ok 1198 /checksum/SHA384/86 1638s ok 1199 /checksum/SHA384/87 1638s ok 1200 /checksum/SHA384/88 1638s ok 1201 /checksum/SHA384/89 1638s ok 1202 /checksum/SHA384/90 1638s ok 1203 /checksum/SHA384/91 1638s ok 1204 /checksum/SHA384/92 1638s ok 1205 /checksum/SHA384/93 1638s ok 1206 /checksum/SHA384/94 1638s ok 1207 /checksum/SHA384/95 1638s ok 1208 /checksum/SHA384/96 1638s ok 1209 /checksum/SHA384/97 1638s ok 1210 /checksum/SHA384/98 1638s ok 1211 /checksum/SHA384/99 1638s ok 1212 /checksum/SHA384/100 1638s ok 1213 /checksum/SHA384/101 1638s ok 1214 /checksum/SHA384/102 1638s ok 1215 /checksum/SHA384/103 1638s ok 1216 /checksum/SHA384/104 1638s ok 1217 /checksum/SHA384/105 1638s ok 1218 /checksum/SHA384/106 1638s ok 1219 /checksum/SHA384/107 1638s ok 1220 /checksum/SHA384/108 1638s ok 1221 /checksum/SHA384/109 1638s ok 1222 /checksum/SHA384/110 1638s ok 1223 /checksum/SHA384/111 1638s ok 1224 /checksum/SHA384/112 1638s ok 1225 /checksum/SHA384/113 1638s ok 1226 /checksum/SHA384/114 1638s ok 1227 /checksum/SHA384/115 1638s ok 1228 /checksum/SHA384/116 1638s ok 1229 /checksum/SHA384/117 1638s ok 1230 /checksum/SHA384/118 1638s ok 1231 /checksum/SHA384/119 1638s ok 1232 /checksum/SHA384/120 1638s ok 1233 /checksum/SHA384/121 1638s ok 1234 /checksum/SHA384/122 1638s ok 1235 /checksum/SHA384/123 1638s ok 1236 /checksum/SHA384/124 1638s ok 1237 /checksum/SHA384/125 1638s ok 1238 /checksum/SHA384/126 1638s ok 1239 /checksum/SHA384/127 1638s ok 1240 /checksum/SHA384/128 1638s ok 1241 /checksum/SHA384/129 1638s ok 1242 /checksum/SHA384/130 1638s ok 1243 /checksum/SHA384/131 1638s ok 1244 /checksum/SHA384/132 1638s ok 1245 /checksum/SHA384/133 1638s ok 1246 /checksum/SHA384/134 1638s ok 1247 /checksum/SHA384/135 1638s ok 1248 /checksum/SHA384/136 1638s ok 1249 /checksum/SHA384/137 1638s ok 1250 /checksum/SHA384/138 1638s ok 1251 /checksum/SHA384/139 1638s ok 1252 /checksum/SHA384/140 1638s ok 1253 /checksum/SHA384/141 1638s ok 1254 /checksum/SHA384/142 1638s ok 1255 /checksum/SHA384/143 1638s ok 1256 /checksum/SHA384/144 1638s ok 1257 /checksum/SHA384/145 1638s ok 1258 /checksum/SHA384/146 1638s ok 1259 /checksum/SHA384/147 1638s ok 1260 /checksum/SHA384/148 1638s ok 1261 /checksum/SHA384/149 1638s ok 1262 /checksum/SHA384/150 1638s ok 1263 /checksum/SHA384/151 1638s ok 1264 /checksum/SHA384/152 1638s ok 1265 /checksum/SHA384/153 1638s ok 1266 /checksum/SHA384/154 1638s ok 1267 /checksum/SHA384/155 1638s ok 1268 /checksum/SHA384/156 1638s ok 1269 /checksum/SHA384/157 1638s ok 1270 /checksum/SHA384/158 1638s ok 1271 /checksum/SHA384/159 1638s ok 1272 /checksum/SHA384/160 1638s ok 1273 /checksum/SHA384/161 1638s ok 1274 /checksum/SHA384/162 1638s ok 1275 /checksum/SHA384/163 1638s ok 1276 /checksum/SHA384/164 1638s ok 1277 /checksum/SHA384/165 1638s ok 1278 /checksum/SHA384/166 1638s ok 1279 /checksum/SHA384/167 1638s ok 1280 /checksum/SHA384/168 1638s ok 1281 /checksum/SHA384/169 1638s ok 1282 /checksum/SHA384/170 1638s ok 1283 /checksum/SHA384/171 1638s ok 1284 /checksum/SHA384/172 1639s ok 1285 /checksum/SHA384/173 1639s ok 1286 /checksum/SHA384/174 1639s ok 1287 /checksum/SHA384/175 1639s ok 1288 /checksum/SHA384/176 1639s ok 1289 /checksum/SHA384/177 1639s ok 1290 /checksum/SHA384/178 1639s ok 1291 /checksum/SHA384/179 1639s ok 1292 /checksum/SHA384/180 1639s ok 1293 /checksum/SHA384/181 1639s ok 1294 /checksum/SHA384/182 1639s ok 1295 /checksum/SHA384/183 1639s ok 1296 /checksum/SHA384/string 1639s ok 1297 /checksum/SHA384/bytes 1639s # Start of reset tests 1639s ok 1298 /checksum/SHA384/reset/0 1639s ok 1299 /checksum/SHA384/reset/1 1639s ok 1300 /checksum/SHA384/reset/2 1639s ok 1301 /checksum/SHA384/reset/3 1639s ok 1302 /checksum/SHA384/reset/4 1639s ok 1303 /checksum/SHA384/reset/5 1639s ok 1304 /checksum/SHA384/reset/6 1639s ok 1305 /checksum/SHA384/reset/7 1639s ok 1306 /checksum/SHA384/reset/8 1639s ok 1307 /checksum/SHA384/reset/9 1639s ok 1308 /checksum/SHA384/reset/10 1639s ok 1309 /checksum/SHA384/reset/11 1639s ok 1310 /checksum/SHA384/reset/12 1639s ok 1311 /checksum/SHA384/reset/13 1639s ok 1312 /checksum/SHA384/reset/14 1639s ok 1313 /checksum/SHA384/reset/15 1639s ok 1314 /checksum/SHA384/reset/16 1639s ok 1315 /checksum/SHA384/reset/17 1639s ok 1316 /checksum/SHA384/reset/18 1639s ok 1317 /checksum/SHA384/reset/19 1639s ok 1318 /checksum/SHA384/reset/20 1639s ok 1319 /checksum/SHA384/reset/21 1639s ok 1320 /checksum/SHA384/reset/22 1639s ok 1321 /checksum/SHA384/reset/23 1639s ok 1322 /checksum/SHA384/reset/24 1639s ok 1323 /checksum/SHA384/reset/25 1639s ok 1324 /checksum/SHA384/reset/26 1639s ok 1325 /checksum/SHA384/reset/27 1639s ok 1326 /checksum/SHA384/reset/28 1639s ok 1327 /checksum/SHA384/reset/29 1639s ok 1328 /checksum/SHA384/reset/30 1639s ok 1329 /checksum/SHA384/reset/31 1639s ok 1330 /checksum/SHA384/reset/32 1639s ok 1331 /checksum/SHA384/reset/33 1639s ok 1332 /checksum/SHA384/reset/34 1639s ok 1333 /checksum/SHA384/reset/35 1639s ok 1334 /checksum/SHA384/reset/36 1639s ok 1335 /checksum/SHA384/reset/37 1639s ok 1336 /checksum/SHA384/reset/38 1639s ok 1337 /checksum/SHA384/reset/39 1639s ok 1338 /checksum/SHA384/reset/40 1639s ok 1339 /checksum/SHA384/reset/41 1639s ok 1340 /checksum/SHA384/reset/42 1639s ok 1341 /checksum/SHA384/reset/43 1639s ok 1342 /checksum/SHA384/reset/44 1639s ok 1343 /checksum/SHA384/reset/45 1639s ok 1344 /checksum/SHA384/reset/46 1639s ok 1345 /checksum/SHA384/reset/47 1639s ok 1346 /checksum/SHA384/reset/48 1639s ok 1347 /checksum/SHA384/reset/49 1639s ok 1348 /checksum/SHA384/reset/50 1639s ok 1349 /checksum/SHA384/reset/51 1639s ok 1350 /checksum/SHA384/reset/52 1639s ok 1351 /checksum/SHA384/reset/53 1639s ok 1352 /checksum/SHA384/reset/54 1639s ok 1353 /checksum/SHA384/reset/55 1639s ok 1354 /checksum/SHA384/reset/56 1639s ok 1355 /checksum/SHA384/reset/57 1639s ok 1356 /checksum/SHA384/reset/58 1639s ok 1357 /checksum/SHA384/reset/59 1639s ok 1358 /checksum/SHA384/reset/60 1639s ok 1359 /checksum/SHA384/reset/61 1639s ok 1360 /checksum/SHA384/reset/62 1639s ok 1361 /checksum/SHA384/reset/63 1639s ok 1362 /checksum/SHA384/reset/64 1639s ok 1363 /checksum/SHA384/reset/65 1639s ok 1364 /checksum/SHA384/reset/66 1639s ok 1365 /checksum/SHA384/reset/67 1639s ok 1366 /checksum/SHA384/reset/68 1639s ok 1367 /checksum/SHA384/reset/69 1639s ok 1368 /checksum/SHA384/reset/70 1639s ok 1369 /checksum/SHA384/reset/71 1639s ok 1370 /checksum/SHA384/reset/72 1639s ok 1371 /checksum/SHA384/reset/73 1639s ok 1372 /checksum/SHA384/reset/74 1639s ok 1373 /checksum/SHA384/reset/75 1639s ok 1374 /checksum/SHA384/reset/76 1639s ok 1375 /checksum/SHA384/reset/77 1639s ok 1376 /checksum/SHA384/reset/78 1639s ok 1377 /checksum/SHA384/reset/79 1639s ok 1378 /checksum/SHA384/reset/80 1639s ok 1379 /checksum/SHA384/reset/81 1639s ok 1380 /checksum/SHA384/reset/82 1639s ok 1381 /checksum/SHA384/reset/83 1639s ok 1382 /checksum/SHA384/reset/84 1639s ok 1383 /checksum/SHA384/reset/85 1639s ok 1384 /checksum/SHA384/reset/86 1639s ok 1385 /checksum/SHA384/reset/87 1639s ok 1386 /checksum/SHA384/reset/88 1639s ok 1387 /checksum/SHA384/reset/89 1639s ok 1388 /checksum/SHA384/reset/90 1639s ok 1389 /checksum/SHA384/reset/91 1639s ok 1390 /checksum/SHA384/reset/92 1639s ok 1391 /checksum/SHA384/reset/93 1639s ok 1392 /checksum/SHA384/reset/94 1639s ok 1393 /checksum/SHA384/reset/95 1639s ok 1394 /checksum/SHA384/reset/96 1639s ok 1395 /checksum/SHA384/reset/97 1639s ok 1396 /checksum/SHA384/reset/98 1639s ok 1397 /checksum/SHA384/reset/99 1639s ok 1398 /checksum/SHA384/reset/100 1639s ok 1399 /checksum/SHA384/reset/101 1639s ok 1400 /checksum/SHA384/reset/102 1639s ok 1401 /checksum/SHA384/reset/103 1639s ok 1402 /checksum/SHA384/reset/104 1639s ok 1403 /checksum/SHA384/reset/105 1639s ok 1404 /checksum/SHA384/reset/106 1639s ok 1405 /checksum/SHA384/reset/107 1639s ok 1406 /checksum/SHA384/reset/108 1639s ok 1407 /checksum/SHA384/reset/109 1639s ok 1408 /checksum/SHA384/reset/110 1639s ok 1409 /checksum/SHA384/reset/111 1639s ok 1410 /checksum/SHA384/reset/112 1639s ok 1411 /checksum/SHA384/reset/113 1639s ok 1412 /checksum/SHA384/reset/114 1639s ok 1413 /checksum/SHA384/reset/115 1639s ok 1414 /checksum/SHA384/reset/116 1639s ok 1415 /checksum/SHA384/reset/117 1639s ok 1416 /checksum/SHA384/reset/118 1639s ok 1417 /checksum/SHA384/reset/119 1639s ok 1418 /checksum/SHA384/reset/120 1639s ok 1419 /checksum/SHA384/reset/121 1639s ok 1420 /checksum/SHA384/reset/122 1639s ok 1421 /checksum/SHA384/reset/123 1639s ok 1422 /checksum/SHA384/reset/124 1639s ok 1423 /checksum/SHA384/reset/125 1639s ok 1424 /checksum/SHA384/reset/126 1639s ok 1425 /checksum/SHA384/reset/127 1639s ok 1426 /checksum/SHA384/reset/128 1639s ok 1427 /checksum/SHA384/reset/129 1639s ok 1428 /checksum/SHA384/reset/130 1639s ok 1429 /checksum/SHA384/reset/131 1639s ok 1430 /checksum/SHA384/reset/132 1639s ok 1431 /checksum/SHA384/reset/133 1639s ok 1432 /checksum/SHA384/reset/134 1639s ok 1433 /checksum/SHA384/reset/135 1639s ok 1434 /checksum/SHA384/reset/136 1639s ok 1435 /checksum/SHA384/reset/137 1639s ok 1436 /checksum/SHA384/reset/138 1639s ok 1437 /checksum/SHA384/reset/139 1639s ok 1438 /checksum/SHA384/reset/140 1639s ok 1439 /checksum/SHA384/reset/141 1639s ok 1440 /checksum/SHA384/reset/142 1639s ok 1441 /checksum/SHA384/reset/143 1639s ok 1442 /checksum/SHA384/reset/144 1639s ok 1443 /checksum/SHA384/reset/145 1639s ok 1444 /checksum/SHA384/reset/146 1639s ok 1445 /checksum/SHA384/reset/147 1639s ok 1446 /checksum/SHA384/reset/148 1639s ok 1447 /checksum/SHA384/reset/149 1639s ok 1448 /checksum/SHA384/reset/150 1639s ok 1449 /checksum/SHA384/reset/151 1639s ok 1450 /checksum/SHA384/reset/152 1639s ok 1451 /checksum/SHA384/reset/153 1639s ok 1452 /checksum/SHA384/reset/154 1639s ok 1453 /checksum/SHA384/reset/155 1639s ok 1454 /checksum/SHA384/reset/156 1639s ok 1455 /checksum/SHA384/reset/157 1639s ok 1456 /checksum/SHA384/reset/158 1639s ok 1457 /checksum/SHA384/reset/159 1639s ok 1458 /checksum/SHA384/reset/160 1639s ok 1459 /checksum/SHA384/reset/161 1639s ok 1460 /checksum/SHA384/reset/162 1639s ok 1461 /checksum/SHA384/reset/163 1639s ok 1462 /checksum/SHA384/reset/164 1639s ok 1463 /checksum/SHA384/reset/165 1639s ok 1464 /checksum/SHA384/reset/166 1639s ok 1465 /checksum/SHA384/reset/167 1639s ok 1466 /checksum/SHA384/reset/168 1639s ok 1467 /checksum/SHA384/reset/169 1639s ok 1468 /checksum/SHA384/reset/170 1639s ok 1469 /checksum/SHA384/reset/171 1639s ok 1470 /checksum/SHA384/reset/172 1639s ok 1471 /checksum/SHA384/reset/173 1639s ok 1472 /checksum/SHA384/reset/174 1639s ok 1473 /checksum/SHA384/reset/175 1639s ok 1474 /checksum/SHA384/reset/176 1639s ok 1475 /checksum/SHA384/reset/177 1639s ok 1476 /checksum/SHA384/reset/178 1639s ok 1477 /checksum/SHA384/reset/179 1639s ok 1478 /checksum/SHA384/reset/180 1639s ok 1479 /checksum/SHA384/reset/181 1639s ok 1480 /checksum/SHA384/reset/182 1639s ok 1481 /checksum/SHA384/reset/183 1639s # End of reset tests 1639s # End of SHA384 tests 1639s # Start of SHA512 tests 1639s ok 1482 /checksum/SHA512/0 1639s ok 1483 /checksum/SHA512/1 1639s ok 1484 /checksum/SHA512/2 1639s ok 1485 /checksum/SHA512/3 1639s ok 1486 /checksum/SHA512/4 1639s ok 1487 /checksum/SHA512/5 1639s ok 1488 /checksum/SHA512/6 1639s ok 1489 /checksum/SHA512/7 1639s ok 1490 /checksum/SHA512/8 1639s ok 1491 /checksum/SHA512/9 1639s ok 1492 /checksum/SHA512/10 1639s ok 1493 /checksum/SHA512/11 1639s ok 1494 /checksum/SHA512/12 1639s ok 1495 /checksum/SHA512/13 1639s ok 1496 /checksum/SHA512/14 1639s ok 1497 /checksum/SHA512/15 1639s ok 1498 /checksum/SHA512/16 1639s ok 1499 /checksum/SHA512/17 1639s ok 1500 /checksum/SHA512/18 1639s ok 1501 /checksum/SHA512/19 1639s ok 1502 /checksum/SHA512/20 1639s ok 1503 /checksum/SHA512/21 1639s ok 1504 /checksum/SHA512/22 1639s ok 1505 /checksum/SHA512/23 1639s ok 1506 /checksum/SHA512/24 1639s ok 1507 /checksum/SHA512/25 1639s ok 1508 /checksum/SHA512/26 1639s ok 1509 /checksum/SHA512/27 1639s ok 1510 /checksum/SHA512/28 1639s ok 1511 /checksum/SHA512/29 1639s ok 1512 /checksum/SHA512/30 1639s ok 1513 /checksum/SHA512/31 1639s ok 1514 /checksum/SHA512/32 1639s ok 1515 /checksum/SHA512/33 1639s ok 1516 /checksum/SHA512/34 1639s ok 1517 /checksum/SHA512/35 1639s ok 1518 /checksum/SHA512/36 1639s ok 1519 /checksum/SHA512/37 1639s ok 1520 /checksum/SHA512/38 1639s ok 1521 /checksum/SHA512/39 1639s ok 1522 /checksum/SHA512/40 1639s ok 1523 /checksum/SHA512/41 1639s ok 1524 /checksum/SHA512/42 1639s ok 1525 /checksum/SHA512/43 1639s ok 1526 /checksum/SHA512/44 1639s ok 1527 /checksum/SHA512/45 1639s ok 1528 /checksum/SHA512/46 1639s ok 1529 /checksum/SHA512/47 1639s ok 1530 /checksum/SHA512/48 1639s ok 1531 /checksum/SHA512/49 1639s ok 1532 /checksum/SHA512/50 1639s ok 1533 /checksum/SHA512/51 1639s ok 1534 /checksum/SHA512/52 1639s ok 1535 /checksum/SHA512/53 1639s ok 1536 /checksum/SHA512/54 1639s ok 1537 /checksum/SHA512/55 1639s ok 1538 /checksum/SHA512/56 1639s ok 1539 /checksum/SHA512/57 1639s ok 1540 /checksum/SHA512/58 1639s ok 1541 /checksum/SHA512/59 1639s ok 1542 /checksum/SHA512/60 1639s ok 1543 /checksum/SHA512/61 1639s ok 1544 /checksum/SHA512/62 1639s ok 1545 /checksum/SHA512/63 1639s ok 1546 /checksum/SHA512/64 1639s ok 1547 /checksum/SHA512/65 1639s ok 1548 /checksum/SHA512/66 1639s ok 1549 /checksum/SHA512/67 1639s ok 1550 /checksum/SHA512/68 1639s ok 1551 /checksum/SHA512/69 1639s ok 1552 /checksum/SHA512/70 1639s ok 1553 /checksum/SHA512/71 1639s ok 1554 /checksum/SHA512/72 1639s ok 1555 /checksum/SHA512/73 1639s ok 1556 /checksum/SHA512/74 1639s ok 1557 /checksum/SHA512/75 1639s ok 1558 /checksum/SHA512/76 1639s ok 1559 /checksum/SHA512/77 1639s ok 1560 /checksum/SHA512/78 1639s ok 1561 /checksum/SHA512/79 1639s ok 1562 /checksum/SHA512/80 1639s ok 1563 /checksum/SHA512/81 1639s ok 1564 /checksum/SHA512/82 1639s ok 1565 /checksum/SHA512/83 1639s ok 1566 /checksum/SHA512/84 1639s ok 1567 /checksum/SHA512/85 1639s ok 1568 /checksum/SHA512/86 1639s ok 1569 /checksum/SHA512/87 1639s ok 1570 /checksum/SHA512/88 1639s ok 1571 /checksum/SHA512/89 1639s ok 1572 /checksum/SHA512/90 1639s ok 1573 /checksum/SHA512/91 1639s ok 1574 /checksum/SHA512/92 1639s ok 1575 /checksum/SHA512/93 1639s ok 1576 /checksum/SHA512/94 1639s ok 1577 /checksum/SHA512/95 1639s ok 1578 /checksum/SHA512/96 1639s ok 1579 /checksum/SHA512/97 1639s ok 1580 /checksum/SHA512/98 1639s ok 1581 /checksum/SHA512/99 1639s ok 1582 /checksum/SHA512/100 1639s ok 1583 /checksum/SHA512/101 1639s ok 1584 /checksum/SHA512/102 1639s ok 1585 /checksum/SHA512/103 1639s ok 1586 /checksum/SHA512/104 1639s ok 1587 /checksum/SHA512/105 1639s ok 1588 /checksum/SHA512/106 1639s ok 1589 /checksum/SHA512/107 1639s ok 1590 /checksum/SHA512/108 1639s ok 1591 /checksum/SHA512/109 1639s ok 1592 /checksum/SHA512/110 1639s ok 1593 /checksum/SHA512/111 1639s ok 1594 /checksum/SHA512/112 1639s ok 1595 /checksum/SHA512/113 1639s ok 1596 /checksum/SHA512/114 1639s ok 1597 /checksum/SHA512/115 1639s ok 1598 /checksum/SHA512/116 1639s ok 1599 /checksum/SHA512/117 1639s ok 1600 /checksum/SHA512/118 1639s ok 1601 /checksum/SHA512/119 1639s ok 1602 /checksum/SHA512/120 1639s ok 1603 /checksum/SHA512/121 1639s ok 1604 /checksum/SHA512/122 1639s ok 1605 /checksum/SHA512/123 1639s ok 1606 /checksum/SHA512/124 1639s ok 1607 /checksum/SHA512/125 1639s ok 1608 /checksum/SHA512/126 1639s ok 1609 /checksum/SHA512/127 1639s ok 1610 /checksum/SHA512/128 1639s ok 1611 /checksum/SHA512/129 1639s ok 1612 /checksum/SHA512/130 1639s ok 1613 /checksum/SHA512/131 1639s ok 1614 /checksum/SHA512/132 1639s ok 1615 /checksum/SHA512/133 1639s ok 1616 /checksum/SHA512/134 1639s ok 1617 /checksum/SHA512/135 1639s ok 1618 /checksum/SHA512/136 1639s ok 1619 /checksum/SHA512/137 1639s ok 1620 /checksum/SHA512/138 1639s ok 1621 /checksum/SHA512/139 1639s ok 1622 /checksum/SHA512/140 1639s ok 1623 /checksum/SHA512/141 1639s ok 1624 /checksum/SHA512/142 1639s ok 1625 /checksum/SHA512/143 1639s ok 1626 /checksum/SHA512/144 1639s ok 1627 /checksum/SHA512/145 1639s ok 1628 /checksum/SHA512/146 1639s ok 1629 /checksum/SHA512/147 1639s ok 1630 /checksum/SHA512/148 1639s ok 1631 /checksum/SHA512/149 1639s ok 1632 /checksum/SHA512/150 1639s ok 1633 /checksum/SHA512/151 1639s ok 1634 /checksum/SHA512/152 1639s ok 1635 /checksum/SHA512/153 1639s ok 1636 /checksum/SHA512/154 1639s ok 1637 /checksum/SHA512/155 1639s ok 1638 /checksum/SHA512/156 1639s ok 1639 /checksum/SHA512/157 1639s ok 1640 /checksum/SHA512/158 1639s ok 1641 /checksum/SHA512/159 1639s ok 1642 /checksum/SHA512/160 1639s ok 1643 /checksum/SHA512/161 1639s ok 1644 /checksum/SHA512/162 1639s ok 1645 /checksum/SHA512/163 1639s ok 1646 /checksum/SHA512/164 1639s ok 1647 /checksum/SHA512/165 1639s ok 1648 /checksum/SHA512/166 1639s ok 1649 /checksum/SHA512/167 1639s ok 1650 /checksum/SHA512/168 1639s ok 1651 /checksum/SHA512/169 1639s ok 1652 /checksum/SHA512/170 1639s ok 1653 /checksum/SHA512/171 1639s ok 1654 /checksum/SHA512/172 1639s ok 1655 /checksum/SHA512/173 1639s ok 1656 /checksum/SHA512/174 1639s ok 1657 /checksum/SHA512/175 1639s ok 1658 /checksum/SHA512/176 1639s ok 1659 /checksum/SHA512/177 1639s ok 1660 /checksum/SHA512/178 1639s ok 1661 /checksum/SHA512/179 1639s ok 1662 /checksum/SHA512/180 1639s ok 1663 /checksum/SHA512/181 1639s ok 1664 /checksum/SHA512/182 1639s ok 1665 /checksum/SHA512/183 1639s ok 1666 /checksum/SHA512/string 1639s ok 1667 /checksum/SHA512/bytes 1639s # Start of reset tests 1639s ok 1668 /checksum/SHA512/reset/0 1639s ok 1669 /checksum/SHA512/reset/1 1639s ok 1670 /checksum/SHA512/reset/2 1639s ok 1671 /checksum/SHA512/reset/3 1639s ok 1672 /checksum/SHA512/reset/4 1639s ok 1673 /checksum/SHA512/reset/5 1639s ok 1674 /checksum/SHA512/reset/6 1639s ok 1675 /checksum/SHA512/reset/7 1639s ok 1676 /checksum/SHA512/reset/8 1639s ok 1677 /checksum/SHA512/reset/9 1639s ok 1678 /checksum/SHA512/reset/10 1639s ok 1679 /checksum/SHA512/reset/11 1639s ok 1680 /checksum/SHA512/reset/12 1639s ok 1681 /checksum/SHA512/reset/13 1639s ok 1682 /checksum/SHA512/reset/14 1639s ok 1683 /checksum/SHA512/reset/15 1639s ok 1684 /checksum/SHA512/reset/16 1639s ok 1685 /checksum/SHA512/reset/17 1639s ok 1686 /checksum/SHA512/reset/18 1639s ok 1687 /checksum/SHA512/reset/19 1639s ok 1688 /checksum/SHA512/reset/20 1639s ok 1689 /checksum/SHA512/reset/21 1639s ok 1690 /checksum/SHA512/reset/22 1639s ok 1691 /checksum/SHA512/reset/23 1639s ok 1692 /checksum/SHA512/reset/24 1639s ok 1693 /checksum/SHA512/reset/25 1639s ok 1694 /checksum/SHA512/reset/26 1639s ok 1695 /checksum/SHA512/reset/27 1639s ok 1696 /checksum/SHA512/reset/28 1639s ok 1697 /checksum/SHA512/reset/29 1639s ok 1698 /checksum/SHA512/reset/30 1639s ok 1699 /checksum/SHA512/reset/31 1639s ok 1700 /checksum/SHA512/reset/32 1639s ok 1701 /checksum/SHA512/reset/33 1639s ok 1702 /checksum/SHA512/reset/34 1639s ok 1703 /checksum/SHA512/reset/35 1639s ok 1704 /checksum/SHA512/reset/36 1639s ok 1705 /checksum/SHA512/reset/37 1639s ok 1706 /checksum/SHA512/reset/38 1639s ok 1707 /checksum/SHA512/reset/39 1639s ok 1708 /checksum/SHA512/reset/40 1639s ok 1709 /checksum/SHA512/reset/41 1639s ok 1710 /checksum/SHA512/reset/42 1639s ok 1711 /checksum/SHA512/reset/43 1639s ok 1712 /checksum/SHA512/reset/44 1639s ok 1713 /checksum/SHA512/reset/45 1639s ok 1714 /checksum/SHA512/reset/46 1639s ok 1715 /checksum/SHA512/reset/47 1639s ok 1716 /checksum/SHA512/reset/48 1639s ok 1717 /checksum/SHA512/reset/49 1639s ok 1718 /checksum/SHA512/reset/50 1639s ok 1719 /checksum/SHA512/reset/51 1639s ok 1720 /checksum/SHA512/reset/52 1639s ok 1721 /checksum/SHA512/reset/53 1639s ok 1722 /checksum/SHA512/reset/54 1639s ok 1723 /checksum/SHA512/reset/55 1639s ok 1724 /checksum/SHA512/reset/56 1639s ok 1725 /checksum/SHA512/reset/57 1639s ok 1726 /checksum/SHA512/reset/58 1639s ok 1727 /checksum/SHA512/reset/59 1639s ok 1728 /checksum/SHA512/reset/60 1639s ok 1729 /checksum/SHA512/reset/61 1639s ok 1730 /checksum/SHA512/reset/62 1639s ok 1731 /checksum/SHA512/reset/63 1639s ok 1732 /checksum/SHA512/reset/64 1639s ok 1733 /checksum/SHA512/reset/65 1639s ok 1734 /checksum/SHA512/reset/66 1639s ok 1735 /checksum/SHA512/reset/67 1639s ok 1736 /checksum/SHA512/reset/68 1639s ok 1737 /checksum/SHA512/reset/69 1639s ok 1738 /checksum/SHA512/reset/70 1639s ok 1739 /checksum/SHA512/reset/71 1639s ok 1740 /checksum/SHA512/reset/72 1639s ok 1741 /checksum/SHA512/reset/73 1639s ok 1742 /checksum/SHA512/reset/74 1639s ok 1743 /checksum/SHA512/reset/75 1639s ok 1744 /checksum/SHA512/reset/76 1639s ok 1745 /checksum/SHA512/reset/77 1639s ok 1746 /checksum/SHA512/reset/78 1639s ok 1747 /checksum/SHA512/reset/79 1639s ok 1748 /checksum/SHA512/reset/80 1639s ok 1749 /checksum/SHA512/reset/81 1639s ok 1750 /checksum/SHA512/reset/82 1639s ok 1751 /checksum/SHA512/reset/83 1639s ok 1752 /checksum/SHA512/reset/84 1639s ok 1753 /checksum/SHA512/reset/85 1639s ok 1754 /checksum/SHA512/reset/86 1639s ok 1755 /checksum/SHA512/reset/87 1639s ok 1756 /checksum/SHA512/reset/88 1639s ok 1757 /checksum/SHA512/reset/89 1639s ok 1758 /checksum/SHA512/reset/90 1639s ok 1759 /checksum/SHA512/reset/91 1639s ok 1760 /checksum/SHA512/reset/92 1639s ok 1761 /checksum/SHA512/reset/93 1639s ok 1762 /checksum/SHA512/reset/94 1639s ok 1763 /checksum/SHA512/reset/95 1639s ok 1764 /checksum/SHA512/reset/96 1639s ok 1765 /checksum/SHA512/reset/97 1639s ok 1766 /checksum/SHA512/reset/98 1639s ok 1767 /checksum/SHA512/reset/99 1639s ok 1768 /checksum/SHA512/reset/100 1639s ok 1769 /checksum/SHA512/reset/101 1639s ok 1770 /checksum/SHA512/reset/102 1639s ok 1771 /checksum/SHA512/reset/103 1639s ok 1772 /checksum/SHA512/reset/104 1639s ok 1773 /checksum/SHA512/reset/105 1639s ok 1774 /checksum/SHA512/reset/106 1639s ok 1775 /checksum/SHA512/reset/107 1639s ok 1776 /checksum/SHA512/reset/108 1639s ok 1777 /checksum/SHA512/reset/109 1639s ok 1778 /checksum/SHA512/reset/110 1639s ok 1779 /checksum/SHA512/reset/111 1639s ok 1780 /checksum/SHA512/reset/112 1639s ok 1781 /checksum/SHA512/reset/113 1639s ok 1782 /checksum/SHA512/reset/114 1639s ok 1783 /checksum/SHA512/reset/115 1639s ok 1784 /checksum/SHA512/reset/116 1639s ok 1785 /checksum/SHA512/reset/117 1639s ok 1786 /checksum/SHA512/reset/118 1639s ok 1787 /checksum/SHA512/reset/119 1639s ok 1788 /checksum/SHA512/reset/120 1639s ok 1789 /checksum/SHA512/reset/121 1639s ok 1790 /checksum/SHA512/reset/122 1639s ok 1791 /checksum/SHA512/reset/123 1639s ok 1792 /checksum/SHA512/reset/124 1639s ok 1793 /checksum/SHA512/reset/125 1639s ok 1794 /checksum/SHA512/reset/126 1639s ok 1795 /checksum/SHA512/reset/127 1639s ok 1796 /checksum/SHA512/reset/128 1639s ok 1797 /checksum/SHA512/reset/129 1639s ok 1798 /checksum/SHA512/reset/130 1639s ok 1799 /checksum/SHA512/reset/131 1639s ok 1800 /checksum/SHA512/reset/132 1639s ok 1801 /checksum/SHA512/reset/133 1639s ok 1802 /checksum/SHA512/reset/134 1639s ok 1803 /checksum/SHA512/reset/135 1639s ok 1804 /checksum/SHA512/reset/136 1639s ok 1805 /checksum/SHA512/reset/137 1639s ok 1806 /checksum/SHA512/reset/138 1639s ok 1807 /checksum/SHA512/reset/139 1639s ok 1808 /checksum/SHA512/reset/140 1639s ok 1809 /checksum/SHA512/reset/141 1639s ok 1810 /checksum/SHA512/reset/142 1639s ok 1811 /checksum/SHA512/reset/143 1639s ok 1812 /checksum/SHA512/reset/144 1639s ok 1813 /checksum/SHA512/reset/145 1639s ok 1814 /checksum/SHA512/reset/146 1639s ok 1815 /checksum/SHA512/reset/147 1639s ok 1816 /checksum/SHA512/reset/148 1639s ok 1817 /checksum/SHA512/reset/149 1639s ok 1818 /checksum/SHA512/reset/150 1639s ok 1819 /checksum/SHA512/reset/151 1639s ok 1820 /checksum/SHA512/reset/152 1639s ok 1821 /checksum/SHA512/reset/153 1639s ok 1822 /checksum/SHA512/reset/154 1639s ok 1823 /checksum/SHA512/reset/155 1639s ok 1824 /checksum/SHA512/reset/156 1639s ok 1825 /checksum/SHA512/reset/157 1639s ok 1826 /checksum/SHA512/reset/158 1639s ok 1827 /checksum/SHA512/reset/159 1639s ok 1828 /checksum/SHA512/reset/160 1639s ok 1829 /checksum/SHA512/reset/161 1639s ok 1830 /checksum/SHA512/reset/162 1639s ok 1831 /checksum/SHA512/reset/163 1639s ok 1832 /checksum/SHA512/reset/164 1639s ok 1833 /checksum/SHA512/reset/165 1639s ok 1834 /checksum/SHA512/reset/166 1639s ok 1835 /checksum/SHA512/reset/167 1639s ok 1836 /checksum/SHA512/reset/168 1639s ok 1837 /checksum/SHA512/reset/169 1639s ok 1838 /checksum/SHA512/reset/170 1639s ok 1839 /checksum/SHA512/reset/171 1639s ok 1840 /checksum/SHA512/reset/172 1639s ok 1841 /checksum/SHA512/reset/173 1639s ok 1842 /checksum/SHA512/reset/174 1639s ok 1843 /checksum/SHA512/reset/175 1639s ok 1844 /checksum/SHA512/reset/176 1639s ok 1845 /checksum/SHA512/reset/177 1639s ok 1846 /checksum/SHA512/reset/178 1639s ok 1847 /checksum/SHA512/reset/179 1639s ok 1848 /checksum/SHA512/reset/180 1639s ok 1849 /checksum/SHA512/reset/181 1639s ok 1850 /checksum/SHA512/reset/182 1639s ok 1851 /checksum/SHA512/reset/183 1639s # End of reset tests 1639s # End of SHA512 tests 1639s # End of checksum tests 1639s ok - glib/checksum.test 1639s # Running test: glib/mappedfile.test 1639s TAP version 13 1639s # random seed: R02Sa4008a6881114ad94f7b259bde60db35 1639s 1..7 1639s # Start of mappedfile tests 1639s ok 1 /mappedfile/basic 1639s ok 2 /mappedfile/empty 1639s ok 3 /mappedfile/device 1639s ok 4 /mappedfile/nonexisting 1639s ok 5 /mappedfile/writable 1639s ok 6 /mappedfile/writable_fd 1639s ok 7 /mappedfile/gbytes 1639s # End of mappedfile tests 1639s ok - glib/mappedfile.test 1639s # Running test: glib/init.test 1639s TAP version 13 1639s # random seed: R02S71a0c89a3cc749b9097d7dcfa89e3807 1639s 1..2 1639s # Start of thread tests 1639s # Start of deprecated tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_AIY8J2/thread/deprecated/init/.dirs/runtime 1639s ok 1 /thread/deprecated/init 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_AIY8J2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1639s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1639s # End of deprecated tests 1639s # End of thread tests 1639s ok - glib/init.test 1639s # Running test: glib/union-info.test 1639s TAP version 13 1639s # random seed: R02Sffeafb1088dda652ca7ea20b26a46ebc 1639s 1..2 1639s # Start of union-info tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_4FV9J2/union-info/basic/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_4FV9J2/union-info/basic/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_4FV9J2/union-info/basic/.dirs/runtime 1639s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1639s # /union-info/basic summary: Test basic properties of GIUnionInfo 1639s ok 1 /union-info/basic 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_4FV9J2/union-info/methods/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_4FV9J2/union-info/methods/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_4FV9J2/union-info/methods/.dirs/runtime 1639s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1639s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1639s ok 2 /union-info/methods 1639s # End of union-info tests 1639s ok - glib/union-info.test 1639s # Running test: glib/glistmodel.test 1639s TAP version 13 1639s # random seed: R02S8b468b8b6f692f763159c11b41d92658 1639s 1..18 1639s # Start of glistmodel tests 1639s # Start of store tests 1639s ok 1 /glistmodel/store/properties 1639s ok 2 /glistmodel/store/non-gobjects 1639s ok 3 /glistmodel/store/boundaries 1639s ok 4 /glistmodel/store/refcounts 1639s ok 5 /glistmodel/store/sorted 1639s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1639s ok 6 /glistmodel/store/splice-replace-middle 1639s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1639s ok 7 /glistmodel/store/splice-replace-all 1639s ok 8 /glistmodel/store/splice-noop 1639s ok 9 /glistmodel/store/splice-remove-multiple 1639s ok 10 /glistmodel/store/splice-add-multiple 1639s ok 11 /glistmodel/store/splice-wrong-type 1639s ok 12 /glistmodel/store/item-type 1639s ok 13 /glistmodel/store/remove-all 1639s ok 14 /glistmodel/store/sort 1639s ok 15 /glistmodel/store/get-item-cache 1639s ok 16 /glistmodel/store/items-changed 1639s ok 17 /glistmodel/store/past-end 1639s ok 18 /glistmodel/store/find 1639s # End of store tests 1639s # End of glistmodel tests 1639s ok - glib/glistmodel.test 1639s # Running test: glib/singleton.test 1639s TAP version 13 1639s # random seed: R02S18bfa5a46113d735a5c077ae8ea1defa 1639s 1..2 1639s # Start of gobject tests 1639s # Start of singleton tests 1639s ok 1 /gobject/singleton/construction 1639s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1639s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1639s ok 2 /gobject/singleton/construct-property 1639s # End of singleton tests 1639s # End of gobject tests 1639s ok - glib/singleton.test 1639s # Running test: glib/gobject-query.py.test 1639s TAP version 13 1639s ok 1 __main__.TestGobjectQuery.test_froots 1639s # gobject-query: /usr/bin/gobject-query 1639s # Running: ['/usr/bin/gobject-query', 'froots'] 1639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1639s # Output: ├void 1639s # ├GInterface 1639s # │ └GTypePlugin 1639s # ├gchar 1639s # ├guchar 1639s # ├gboolean 1639s # ├gint 1639s # ├guint 1639s # ├glong 1639s # ├gulong 1639s # ├gint64 1639s # ├guint64 1639s # ├GEnum 1639s # ├GFlags 1639s # ├gfloat 1639s # ├gdouble 1639s # ├gchararray 1639s # ├gpointer 1639s # │ └GType 1639s # ├GBoxed 1639s # │ └GValueArray 1639s # ├GParam 1639s # │ ├GParamChar 1639s # │ ├GParamUChar 1639s # │ ├GParamBoolean 1639s # │ ├GParamInt 1639s # │ ├GParamUInt 1639s # │ ├GParamLong 1639s # │ ├GParamULong 1639s # │ ├GParamInt64 1639s # │ ├GParamUInt64 1639s # │ ├GParamUnichar 1639s # │ ├GParamEnum 1639s # │ ├GParamFlags 1639s # │ ├GParamFloat 1639s # │ ├GParamDouble 1639s # │ ├GParamString 1639s # │ ├GParamParam 1639s # │ ├GParamBoxed 1639s # │ ├GParamPointer 1639s # │ ├GParamValueArray 1639s # │ ├GParamObject 1639s # │ ├GParamOverride 1639s # │ ├GParamGType 1639s # │ └GParamVariant 1639s # ├GObject 1639s # └GVariant 1639s ok 2 __main__.TestGobjectQuery.test_help 1639s # gobject-query: /usr/bin/gobject-query 1639s # Running: ['/usr/bin/gobject-query', '--help'] 1639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1639s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1639s # -r specify root type 1639s # -n don't descend type tree 1639s # -h show help 1639s # -b specify indent string 1639s # -i specify incremental indent string 1639s # -s specify line spacing 1639s # qualifiers: 1639s # froots iterate over fundamental roots 1639s # tree print type tree 1639s ok 3 __main__.TestGobjectQuery.test_tree 1639s # gobject-query: /usr/bin/gobject-query 1639s # Running: ['/usr/bin/gobject-query', 'tree'] 1639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1639s # Output: GObject 1639s ok 4 __main__.TestGobjectQuery.test_version 1639s # gobject-query: /usr/bin/gobject-query 1639s # Running: ['/usr/bin/gobject-query', '--version'] 1639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1639s # Output: 2.79.3 1639s 1..4 1639s ok - glib/gobject-query.py.test 1639s # Running test: glib/gdbus-message.test 1639s TAP version 13 1639s # random seed: R02S9e74def6e4e975836430035c0b905e87 1639s 1..3 1639s # Start of gdbus tests 1639s # Start of message tests 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0YE5J2/gdbus/message/lock/.dirs/runtime 1639s ok 1 /gdbus/message/lock 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0YE5J2/gdbus/message/copy/.dirs/runtime 1639s ok 2 /gdbus/message/copy 1639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/home 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/cache 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/system-config2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/config 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/system-data2 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/data 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/state 1639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_0YE5J2/gdbus/message/bytes-needed/.dirs/runtime 1639s # Vector: 0 1639s # Vector: 1 1639s # Vector: 2 1639s # Vector: 3 1639s # Vector: 4 1639s # Vector: 5 1639s ok 3 /gdbus/message/bytes-needed 1639s # End of message tests 1639s # End of gdbus tests 1639s ok - glib/gdbus-message.test 1639s # Running test: glib/signalgroup.test 1639s TAP version 13 1639s # random seed: R02Sa56e157037e676b1864d9fdacfbd468a 1639s 1..9 1639s # Start of GObject tests 1639s # Start of SignalGroup tests 1639s ok 1 /GObject/SignalGroup/invalid 1639s ok 2 /GObject/SignalGroup/simple 1639s ok 3 /GObject/SignalGroup/changing-target 1639s ok 4 /GObject/SignalGroup/blocking 1639s ok 5 /GObject/SignalGroup/weak-ref-target 1639s ok 6 /GObject/SignalGroup/connect-object 1639s ok 7 /GObject/SignalGroup/signal-parsing 1639s ok 8 /GObject/SignalGroup/properties 1639s ok 9 /GObject/SignalGroup/interface 1639s # Start of signal-parsing tests 1639s # End of signal-parsing tests 1639s # End of SignalGroup tests 1639s # End of GObject tests 1639s ok - glib/signalgroup.test 1639s # Running test: glib/memory-monitor-dbus.test 1640s TAP version 13 1640s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1640s 1..1 1640s ok - glib/memory-monitor-dbus.test 1640s # Running test: glib/sort.test 1640s TAP version 13 1640s # random seed: R02S1b59d6b41b0545484e42af79e0da8ce1 1640s 1..4 1640s # Start of sort tests 1640s ok 1 /sort/basic 1640s ok 2 /sort/zero-elements 1640s ok 3 /sort/stable 1640s ok 4 /sort/big 1640s # End of sort tests 1640s ok - glib/sort.test 1640s # Running test: glib/bytes.test 1640s TAP version 13 1640s # random seed: R02S01abccd25ef848983189b29c7f834cd8 1640s 1..21 1640s # Start of bytes tests 1640s ok 1 /bytes/new 1640s ok 2 /bytes/new-take 1640s ok 3 /bytes/new-static 1640s ok 4 /bytes/new-with-free-func 1640s ok 5 /bytes/new-from-bytes 1640s ok 6 /bytes/new-from-bytes-slice 1640s ok 7 /bytes/new-from-bytes-shared-ref 1640s ok 8 /bytes/hash 1640s ok 9 /bytes/equal 1640s ok 10 /bytes/compare 1640s ok 11 /bytes/null 1640s ok 12 /bytes/get-region 1640s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1640s ok 13 /bytes/unref-null 1640s # Start of to-data tests 1640s ok 14 /bytes/to-data/transferred 1640s ok 15 /bytes/to-data/two-refs 1640s ok 16 /bytes/to-data/non-malloc 1640s ok 17 /bytes/to-data/different-free-func 1640s # End of to-data tests 1640s # Start of to-array tests 1640s ok 18 /bytes/to-array/transferred 1640s ok 19 /bytes/to-array/two-refs 1640s ok 20 /bytes/to-array/non-malloc 1640s # Start of transferred tests 1640s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1640s ok 21 /bytes/to-array/transferred/oversize 1640s # End of transferred tests 1640s # End of to-array tests 1640s # End of bytes tests 1640s ok - glib/bytes.test 1640s # Running test: glib/fdo-notification-backend.test 1640s TAP version 13 1640s # random seed: R02S11a67ebdc3e3ead99874ce7771868119 1640s 1..2 1640s # Start of fdo-notification-backend tests 1640s # Test constructing a GFdoNotificationBackend 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 1 /fdo-notification-backend/construction 1640s # Start of dbus tests 1640s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 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 /fdo-notification-backend/dbus/activate-action 1640s # End of dbus tests 1640s # End of fdo-notification-backend tests 1640s ok - glib/fdo-notification-backend.test 1640s # Running test: glib/deftype.test 1640s ok - glib/deftype.test 1640s # Running test: glib/notify-init2.test 1640s TAP version 13 1640s # random seed: R02S08367911fb128bc31b501a1fd1d33009 1640s 1..1 1640s # Start of properties tests 1640s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1640s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1640s ok 1 /properties/notify-in-init2 1640s # End of properties tests 1640s ok - glib/notify-init2.test 1640s # Running test: glib/contexts.test 1640s TAP version 13 1640s # random seed: R02Saded073f1c012eca3ea7d1a4afd007bd 1640s 1..5 1640s # Start of gio tests 1640s # Start of contexts tests 1640s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1640s ok 1 /gio/contexts/thread-independence 1640s ok 2 /gio/contexts/context-independence 1640s # Start of context-specific tests 1640s ok 3 /gio/contexts/context-specific/identity 1640s ok 4 /gio/contexts/context-specific/emit 1640s ok 5 /gio/contexts/context-specific/emit-and-unref 1640s # End of context-specific tests 1640s # End of contexts tests 1640s # End of gio tests 1640s ok - glib/contexts.test 1640s # Running test: glib/data-output-stream.test 1640s TAP version 13 1640s # random seed: R02S09c3fe8bc5c263042d54b6865779f01f 1640s 1..7 1640s # Start of data-output-stream tests 1640s ok 1 /data-output-stream/basic 1640s ok 2 /data-output-stream/write-lines-LF 1640s ok 3 /data-output-stream/write-lines-CR 1640s ok 4 /data-output-stream/write-lines-CR-LF 1640s ok 5 /data-output-stream/write-int 1640s ok 6 /data-output-stream/seek 1640s ok 7 /data-output-stream/truncate 1640s # End of data-output-stream tests 1640s ok - glib/data-output-stream.test 1640s # Running test: glib/memory-settings-backend.test 1640s TAP version 13 1640s # random seed: R02S29c231cf1fb896f65d4941457b4948b7 1640s 1..1 1640s # Start of memory-settings-backend tests 1640s ok 1 /memory-settings-backend/extension-point-registered 1640s # End of memory-settings-backend tests 1640s ok - glib/memory-settings-backend.test 1640s # Running test: glib/gdbus-connection.test 1640s TAP version 13 1640s # random seed: R02Sb0f12a31096045389ba7a266fdf1e44b 1640s 1..9 1640s # Start of gdbus tests 1640s # Start of connection tests 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/bus-failure/.dirs/runtime 1640s ok 1 /gdbus/connection/bus-failure 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/basic/.dirs/runtime 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 /gdbus/connection/basic 1640s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/home 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/cache 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/system-config2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/config 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/system-data2 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/data 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/state 1640s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/life-cycle/.dirs/runtime 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 3 /gdbus/connection/life-cycle 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/send/.dirs/runtime 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 4 /gdbus/connection/send 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signals/.dirs/runtime 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 5 /gdbus/connection/signals 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/signal-match-rules/.dirs/runtime 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 6 /gdbus/connection/signal-match-rules 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/filter/.dirs/runtime 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 7 /gdbus/connection/filter 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/serials/.dirs/runtime 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 8 /gdbus/connection/serials 1641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/home 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/cache 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/system-config2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/config 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/system-data2 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/data 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/state 1641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_DO6XJ2/gdbus/connection/cancel/.dirs/runtime 1641s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1641s ok 9 /gdbus/connection/cancel 1641s # End of connection tests 1641s # End of gdbus tests 1641s ok - glib/gdbus-connection.test 1641s # Running test: glib/cancellable.test 1641s TAP version 13 1641s # random seed: R02Sc7774167bc996be4000fb2de5cb19fa2 1641s 1..10 1641s # Start of cancellable tests 1641s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1641s ok 2 /cancellable/null 1641s # /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 1641s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1641s # /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 1641s ok 4 /cancellable/resets-on-cancel-callback-hangs 1641s ok 5 /cancellable/poll-fd 1641s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1641s ok 6 /cancellable/poll-fd-cancelled 1641s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1641s ok 7 /cancellable/poll-fd-cancelled-threaded 1641s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1641s ok 8 /cancellable/cancel-reset-races 1641s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1641s ok 9 /cancellable/cancel-reset-connect-races 1641s # End of cancellable tests 1641s # Start of cancellable-source tests 1641s # /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) 1641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1643s # Executing: glib/cancellable.test 1643s ok 10 /cancellable-source/threaded-dispose 1643s # slow test /cancellable-source/threaded-dispose executed in 1.86 secs 1643s # End of cancellable-source tests 1643s ok - glib/cancellable.test 1643s # Running test: glib/gdbus-close-pending.test 1643s TAP version 13 1643s # random seed: R02S9684813257cb1d1fdcd46e82c6021f66 1643s 1..2 1643s # Start of gdbus tests 1643s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/home 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/cache 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/system-config2 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/config 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/system-data2 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/data 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/state 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/close-pending/.dirs/runtime 1643s ok 1 /gdbus/close-pending 1643s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/home 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/cache 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/system-config2 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/config 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/system-data2 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/data 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/state 1643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_FTDBK2/gdbus/unref-pending/.dirs/runtime 1644s ok 2 /gdbus/unref-pending 1644s # slow test /gdbus/unref-pending executed in 0.54 secs 1644s # End of gdbus tests 1644s ok - glib/gdbus-close-pending.test 1644s # Running test: glib/resolver-parsing.test 1644s TAP version 13 1644s # random seed: R02S641e6c2b2e9d74b1a57f5a1748d1f933 1644s 1..20 1644s # Start of gresolver tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/invalid-header/.dirs/runtime 1644s ok 1 /gresolver/invalid-header 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/unknown-record-type/.dirs/runtime 1644s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1644s ok 2 /gresolver/unknown-record-type 1644s # Start of mx tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/valid/.dirs/runtime 1644s ok 3 /gresolver/mx/valid 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/.dirs/runtime 1644s ok 4 /gresolver/mx/invalid 1644s # Start of invalid tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short/.dirs/runtime 1644s ok 5 /gresolver/mx/invalid/too-short 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/mx/invalid/too-short2/.dirs/runtime 1644s ok 6 /gresolver/mx/invalid/too-short2 1644s # End of invalid tests 1644s # End of mx tests 1644s # Start of ns tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/valid/.dirs/runtime 1644s ok 7 /gresolver/ns/valid 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/ns/invalid/.dirs/runtime 1644s ok 8 /gresolver/ns/invalid 1644s # End of ns tests 1644s # Start of soa tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/valid/.dirs/runtime 1644s ok 9 /gresolver/soa/valid 1644s # Start of invalid tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/mname/.dirs/runtime 1644s ok 10 /gresolver/soa/invalid/mname 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/rname/.dirs/runtime 1644s ok 11 /gresolver/soa/invalid/rname 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/soa/invalid/too-short/.dirs/runtime 1644s ok 12 /gresolver/soa/invalid/too-short 1644s # End of invalid tests 1644s # End of soa tests 1644s # Start of srv tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/valid/.dirs/runtime 1644s ok 13 /gresolver/srv/valid 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/.dirs/runtime 1644s ok 14 /gresolver/srv/invalid 1644s # Start of invalid tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short/.dirs/runtime 1644s ok 15 /gresolver/srv/invalid/too-short 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/srv/invalid/too-short2/.dirs/runtime 1644s ok 16 /gresolver/srv/invalid/too-short2 1644s # End of invalid tests 1644s # End of srv tests 1644s # Start of txt tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/.dirs/runtime 1644s ok 17 /gresolver/txt/valid 1644s # Start of valid tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1644s ok 18 /gresolver/txt/valid/multiple-strings 1644s # End of valid tests 1644s # Start of invalid tests 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/empty/.dirs/runtime 1644s ok 19 /gresolver/txt/invalid/empty 1644s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/home 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/cache 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/system-config2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/config 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/system-data2 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/data 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/state 1644s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_U6W1J2/gresolver/txt/invalid/overflow/.dirs/runtime 1644s ok 20 /gresolver/txt/invalid/overflow 1644s # End of invalid tests 1644s # End of txt tests 1644s # End of gresolver tests 1644s ok - glib/resolver-parsing.test 1644s # Running test: glib/refcount-macro.test 1644s TAP version 13 1644s # random seed: R02S25dfeec3a1490f02ae5ca45121e0d177 1644s 1..4 1644s # Start of refcount tests 1644s ok 1 /refcount/grefcount 1644s ok 2 /refcount/gatomicrefcount 1644s # Start of grefcount tests 1644s ok 3 /refcount/grefcount/saturation 1644s # End of grefcount tests 1644s # Start of gatomicrefcount tests 1644s ok 4 /refcount/gatomicrefcount/saturation 1644s # End of gatomicrefcount tests 1644s # End of refcount tests 1644s ok - glib/refcount-macro.test 1644s # Running test: glib/thread-deprecated.test 1644s TAP version 13 1644s # random seed: R02S221a0d23142bbada4e8221efb4090e7d 1644s 1..6 1644s # Start of thread tests 1644s ok 1 /thread/mutex 1645s ok 2 /thread/static-rec-mutex 1648s # Executing: glib/thread-deprecated.test 1649s ok 3 /thread/static-private 1649s # slow test /thread/static-private executed in 4.41 secs 1653s # Executing: glib/thread-deprecated.test 1654s ok 4 /thread/static-rw-lock 1654s # slow test /thread/static-rw-lock executed in 5.00 secs 1654s ok 5 /thread/once 1658s # Executing: glib/thread-deprecated.test 1663s # Executing: glib/thread-deprecated.test 1665s ok 6 /thread/rerun-all 1665s # slow test /thread/rerun-all executed in 9.83 secs 1665s # End of thread tests 1665s ok - glib/thread-deprecated.test 1665s # Running test: glib/date.test 1665s TAP version 13 1665s # random seed: R02S4819646c251a2a286a0d9010408f5931 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 1665s ok 64 /date/year/1963 1665s ok 65 /date/year/1964 1665s ok 66 /date/year/1965 1665s ok 67 /date/year/1967 1665s ok 68 /date/year/1968 1665s ok 69 /date/year/1969 1665s ok 70 /date/year/1970 1665s ok 71 /date/year/1971 1665s ok 72 /date/year/1972 1665s ok 73 /date/year/1973 1665s ok 74 /date/year/1974 1665s ok 75 /date/year/1975 1665s ok 76 /date/year/1976 1665s ok 77 /date/year/1977 1665s ok 78 /date/year/1978 1665s ok 79 /date/year/1979 1665s ok 80 /date/year/1980 1665s ok 81 /date/year/1981 1665s ok 82 /date/year/1982 1665s ok 83 /date/year/1983 1665s ok 84 /date/year/1984 1665s ok 85 /date/year/1985 1665s ok 86 /date/year/1986 1665s ok 87 /date/year/1987 1665s ok 88 /date/year/1988 1665s ok 89 /date/year/1989 1665s ok 90 /date/year/1990 1665s ok 91 /date/year/1991 1665s ok 92 /date/year/1992 1665s ok 93 /date/year/1993 1665s ok 94 /date/year/1994 1665s ok 95 /date/year/1995 1665s ok 96 /date/year/1996 1665s ok 97 /date/year/1997 1665s ok 98 /date/year/1998 1665s ok 99 /date/year/1999 1665s ok 100 /date/year/2000 1665s ok 101 /date/year/2001 1665s ok 102 /date/year/2002 1665s ok 103 /date/year/2003 1665s ok 104 /date/year/2004 1665s ok 105 /date/year/2005 1665s ok 106 /date/year/2006 1665s ok 107 /date/year/2007 1665s ok 108 /date/year/2008 1665s ok 109 /date/year/2009 1665s ok 110 /date/year/2010 1665s ok 111 /date/year/2011 1665s ok 112 /date/year/2012 1665s ok 113 /date/year/3000 1665s ok 114 /date/year/3001 1665s ok 115 /date/year/3002 1665s ok 116 /date/year/3998 1665s ok 117 /date/year/3999 1665s ok 118 /date/year/4000 1665s ok 119 /date/year/4001 1665s ok 120 /date/year/4002 1665s ok 121 /date/year/4003 1665s # End of year tests 1665s # End of date tests 1665s ok - glib/date.test 1665s # Running test: glib/srvtarget.test 1665s TAP version 13 1665s # random seed: R02S5fe95bca5752e5663c5040c184e4f57b 1665s 1..1 1665s # Start of srvtarget tests 1666s ok 1 /srvtarget/srv-target-ordering 1666s # slow test /srvtarget/srv-target-ordering executed in 1.57 secs 1666s # End of srvtarget tests 1666s ok - glib/srvtarget.test 1666s # Running test: glib/module-test-library.test 1666s TAP version 13 1666s # random seed: R02Sc66a3c421cf765c943e97e6ffad8a5a6 1666s 1..2 1666s # Start of module tests 1666s ok 1 /module/basics 1666s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1666s ok 2 /module/invalid-libtool-archive 1666s # End of module tests 1666s ok - glib/module-test-library.test 1666s # Running test: glib/portal-support-flatpak-gsettings-only.test 1666s TAP version 13 1666s # random seed: R02Se6bc18ee99a02425f2f77a9be031e8ac 1666s 1..1 1666s # Start of portal-support tests 1666s # Start of flatpak tests 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/system-data2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/data 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/state 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/runtime 1666s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_4J0WJ2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1666s ok 1 /portal-support/flatpak/gsettings 1666s # End of flatpak tests 1666s # End of portal-support tests 1666s ok - glib/portal-support-flatpak-gsettings-only.test 1666s # Running test: glib/spawn-path-search.test 1666s TAP version 13 1666s # random seed: R02S2eb0a8a27e84090c7e49b0ae7ef48157 1666s 1..7 1666s # Start of spawn tests 1666s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1666s # 1666s # this is spawn-test-helper from glib/tests 1666s # 1666s ok 1 /spawn/do-not-search 1666s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1666s # 1666s # this is spawn-test-helper from path-test-subdir 1666s # 1666s ok 2 /spawn/search-path 1666s # /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. 1666s # 1666s # this is spawn-test-helper from path-test-subdir 1666s # 1666s ok 3 /spawn/search-path-from-envp 1666s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1666s # 1666s # this is spawn-test-helper from path-test-subdir 1666s # 1666s ok 4 /spawn/search-path-ambiguous 1666s # 1666s # this is spawn-test-helper from path-test-subdir 1666s # 1666s ok 5 /spawn/search-path-heap-allocation 1666s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1666s # 1666s # this is spawn-test-helper from glib/tests 1666s # 1666s ok 6 /spawn/search-path-fallback-in-environ 1666s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1666s # 1666s # this is spawn-test-helper from glib/tests 1666s # 1666s ok 7 /spawn/search-path-fallback-in-envp 1666s # End of spawn tests 1666s ok - glib/spawn-path-search.test 1666s # Running test: glib/file-thumbnail.test 1666s TAP version 13 1666s # random seed: R02S977b4977d586754d63b932196fbc2a1e 1666s 1..7 1666s # Start of file-thumbnail tests 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/system-data2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/data 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/state 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/runtime 1666s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1666s ok 1 /file-thumbnail/fail 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/system-data2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/data 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/state 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/runtime 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1666s ok 2 /file-thumbnail/size-priority 1666s # Start of valid tests 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/system-data2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/data 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/state 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/runtime 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1666s ok 3 /file-thumbnail/valid/normal 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/system-data2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/data 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/state 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/runtime 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1666s ok 4 /file-thumbnail/valid/large 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/system-data2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/data 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/state 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/runtime 1666s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1666s ok 5 /file-thumbnail/valid/x-large 1666s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/home 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/cache 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/system-config2 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/config 1666s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/runtime 1667s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1667s ok 6 /file-thumbnail/valid/xx-large 1667s # End of valid tests 1667s # Start of unknown tests 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/runtime 1667s # Created test thumbnail at /tmp/test_file-thumbnail_B33YJ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1667s ok 7 /file-thumbnail/unknown/super-large 1667s # End of unknown tests 1667s # End of file-thumbnail tests 1667s ok - glib/file-thumbnail.test 1667s # Running test: glib/refcount.test 1667s TAP version 13 1667s # random seed: R02S68996dad45a11b8663e5950a55c85a5b 1667s 1..4 1667s # Start of refcount tests 1667s ok 1 /refcount/grefcount 1667s ok 2 /refcount/gatomicrefcount 1667s # Start of grefcount tests 1667s ok 3 /refcount/grefcount/saturation 1667s # End of grefcount tests 1667s # Start of gatomicrefcount tests 1667s ok 4 /refcount/gatomicrefcount/saturation 1667s # End of gatomicrefcount tests 1667s # End of refcount tests 1667s ok - glib/refcount.test 1667s # Running test: glib/network-monitor.test 1667s TAP version 13 1667s # random seed: R02S8d3df43254351901a8a5d2ac7c97f18d 1667s 1..4 1667s # Start of network-monitor tests 1667s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1667s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1667s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1667s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1667s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1667s ok 1 /network-monitor/default 1667s ok 2 /network-monitor/remove_default 1667s ok 3 /network-monitor/add_networks 1667s ok 4 /network-monitor/remove_networks 1667s # End of network-monitor tests 1667s ok - glib/network-monitor.test 1667s # Running test: glib/markup-subparser.test 1667s TAP version 13 1667s # random seed: R02S9c9f3f66764b7422457245206e4c6f7a 1667s 1..14 1667s # Start of glib tests 1667s # Start of markup tests 1667s # Start of subparser tests 1667s # Start of success tests 1667s ok 1 /glib/markup/subparser/success/0 1667s ok 2 /glib/markup/subparser/success/1 1667s ok 3 /glib/markup/subparser/success/2 1667s ok 4 /glib/markup/subparser/success/3 1667s ok 5 /glib/markup/subparser/success/4 1667s ok 6 /glib/markup/subparser/success/5 1667s ok 7 /glib/markup/subparser/success/6 1667s # End of success tests 1667s # Start of failure tests 1667s ok 8 /glib/markup/subparser/failure/0 1667s ok 9 /glib/markup/subparser/failure/1 1667s ok 10 /glib/markup/subparser/failure/2 1667s ok 11 /glib/markup/subparser/failure/3 1667s ok 12 /glib/markup/subparser/failure/4 1667s ok 13 /glib/markup/subparser/failure/5 1667s ok 14 /glib/markup/subparser/failure/6 1667s # End of failure tests 1667s # End of subparser tests 1667s # End of markup tests 1667s # End of glib tests 1667s ok - glib/markup-subparser.test 1667s # Running test: glib/bookmarkfile.test 1667s TAP version 13 1667s # random seed: R02S5ecc3e4c4447c9fe03145ea11d3970d7 1667s 1..96 1667s # Start of bookmarks tests 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/load-from-data-dirs/.dirs/runtime 1667s ok 1 /bookmarks/load-from-data-dirs 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/to-file/.dirs/runtime 1667s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_YLHFK2/bookmarkfile-test-1CEFK2.xbel 1667s # Roundtrip from a valid bookmark file 1667s ok 2 /bookmarks/to-file 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/move-item/.dirs/runtime 1667s ok 3 /bookmarks/move-item 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/corner-cases/.dirs/runtime 1667s ok 4 /bookmarks/corner-cases 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/misc/.dirs/runtime 1667s ok 5 /bookmarks/misc 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/deprecated/.dirs/runtime 1667s ok 6 /bookmarks/deprecated 1667s # Start of parse tests 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1667s ok 7 /bookmarks/parse/fail-12.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1667s ok 8 /bookmarks/parse/fail-21.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1667s ok 9 /bookmarks/parse/fail-33.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1667s ok 10 /bookmarks/parse/fail-41.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1667s ok 11 /bookmarks/parse/fail-22.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1667s ok 12 /bookmarks/parse/fail-10.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1667s ok 13 /bookmarks/parse/fail-07.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1667s ok 14 /bookmarks/parse/fail-32.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1667s ok 15 /bookmarks/parse/fail-11.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1667s ok 16 /bookmarks/parse/fail-16.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1667s ok 17 /bookmarks/parse/fail-03.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1667s ok 18 /bookmarks/parse/fail-15.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1667s ok 19 /bookmarks/parse/valid-03.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1667s ok 20 /bookmarks/parse/fail-34.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1667s ok 21 /bookmarks/parse/fail-26.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1667s ok 22 /bookmarks/parse/fail-31.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1667s ok 23 /bookmarks/parse/fail-05.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1667s ok 24 /bookmarks/parse/fail-27.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1667s ok 25 /bookmarks/parse/valid-01.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1667s ok 26 /bookmarks/parse/fail-29.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1667s ok 27 /bookmarks/parse/fail-28.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1667s ok 28 /bookmarks/parse/fail-01.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1667s ok 29 /bookmarks/parse/fail-30.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1667s ok 30 /bookmarks/parse/fail-23.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1667s ok 31 /bookmarks/parse/fail-40.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1667s ok 32 /bookmarks/parse/fail-06.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1667s ok 33 /bookmarks/parse/fail-13.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1667s ok 34 /bookmarks/parse/fail-04.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1667s ok 35 /bookmarks/parse/fail-18.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1667s ok 36 /bookmarks/parse/fail-02.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1667s ok 37 /bookmarks/parse/fail-36.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1667s ok 38 /bookmarks/parse/valid-02.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1667s ok 39 /bookmarks/parse/fail-38.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1667s ok 40 /bookmarks/parse/fail-42.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1667s ok 41 /bookmarks/parse/fail-19.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1667s ok 42 /bookmarks/parse/fail-14.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1667s ok 43 /bookmarks/parse/fail-25.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1667s ok 44 /bookmarks/parse/fail-09.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1667s ok 45 /bookmarks/parse/fail-24.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1667s ok 46 /bookmarks/parse/fail-37.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1667s ok 47 /bookmarks/parse/fail-20.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1667s ok 48 /bookmarks/parse/fail-08.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1667s ok 49 /bookmarks/parse/fail-39.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1667s ok 50 /bookmarks/parse/fail-35.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1667s ok 51 /bookmarks/parse/fail-17.xbel 1667s # End of parse tests 1667s # Start of copy tests 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1667s ok 52 /bookmarks/copy/fail-12.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1667s ok 53 /bookmarks/copy/fail-21.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1667s ok 54 /bookmarks/copy/fail-33.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1667s ok 55 /bookmarks/copy/fail-41.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1667s ok 56 /bookmarks/copy/fail-22.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1667s ok 57 /bookmarks/copy/fail-10.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1667s ok 58 /bookmarks/copy/fail-07.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1667s ok 59 /bookmarks/copy/fail-32.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1667s ok 60 /bookmarks/copy/fail-11.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1667s ok 61 /bookmarks/copy/fail-16.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1667s ok 62 /bookmarks/copy/fail-03.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1667s ok 63 /bookmarks/copy/fail-15.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1667s ok 64 /bookmarks/copy/valid-03.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1667s ok 65 /bookmarks/copy/fail-34.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1667s ok 66 /bookmarks/copy/fail-26.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1667s ok 67 /bookmarks/copy/fail-31.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1667s ok 68 /bookmarks/copy/fail-05.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1667s ok 69 /bookmarks/copy/fail-27.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1667s ok 70 /bookmarks/copy/valid-01.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1667s ok 71 /bookmarks/copy/fail-29.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1667s ok 72 /bookmarks/copy/fail-28.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1667s ok 73 /bookmarks/copy/fail-01.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1667s ok 74 /bookmarks/copy/fail-30.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1667s ok 75 /bookmarks/copy/fail-23.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1667s ok 76 /bookmarks/copy/fail-40.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1667s ok 77 /bookmarks/copy/fail-06.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1667s ok 78 /bookmarks/copy/fail-13.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1667s ok 79 /bookmarks/copy/fail-04.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1667s ok 80 /bookmarks/copy/fail-18.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1667s ok 81 /bookmarks/copy/fail-02.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1667s ok 82 /bookmarks/copy/fail-36.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1667s ok 83 /bookmarks/copy/valid-02.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1667s ok 84 /bookmarks/copy/fail-38.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1667s ok 85 /bookmarks/copy/fail-42.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1667s ok 86 /bookmarks/copy/fail-19.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1667s ok 87 /bookmarks/copy/fail-14.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1667s ok 88 /bookmarks/copy/fail-25.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1667s ok 89 /bookmarks/copy/fail-09.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1667s ok 90 /bookmarks/copy/fail-24.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1667s ok 91 /bookmarks/copy/fail-37.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1667s ok 92 /bookmarks/copy/fail-20.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1667s ok 93 /bookmarks/copy/fail-08.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1667s ok 94 /bookmarks/copy/fail-39.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1667s ok 95 /bookmarks/copy/fail-35.xbel 1667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/home 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/config 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/data 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/state 1667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_YLHFK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1667s ok 96 /bookmarks/copy/fail-17.xbel 1667s # End of copy tests 1667s # End of bookmarks tests 1667s ok - glib/bookmarkfile.test 1667s # Running test: glib/unix-streams.test 1667s TAP version 13 1667s # random seed: R02S2bf0030e062d4d4b02ea32fa0ef13782 1667s 1..9 1667s # Start of unix-streams tests 1667s ok 1 /unix-streams/basic 1667s ok 2 /unix-streams/pipe-io-test 1667s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1668s # Executing: glib/unix-streams.test 1668s ok 3 /unix-streams/nonblocking-io-test 1668s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1668s ok 4 /unix-streams/read_write 1668s ok 5 /unix-streams/read_writev 1668s ok 6 /unix-streams/write-wouldblock 1668s ok 7 /unix-streams/writev-wouldblock 1668s ok 8 /unix-streams/write-async-wouldblock 1668s ok 9 /unix-streams/writev-async-wouldblock 1668s # End of unix-streams tests 1668s ok - glib/unix-streams.test 1668s # Running test: glib/gdbus-proxy-threads.test 1668s TAP version 13 1668s # random seed: R02S89fe0c31fd0af0d86a3021db1cc8e587 1668s 1..1 1668s # Start of gdbus tests 1668s # Start of proxy tests 1668s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/home 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/cache 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/system-config2 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/config 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/system-data2 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/data 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/state 1668s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_BUB9J2/gdbus/proxy/vs-threads/.dirs/runtime 1668s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1673s # Executing: glib/gdbus-proxy-threads.test 1675s ok 1 /gdbus/proxy/vs-threads 1675s # slow test /gdbus/proxy/vs-threads executed in 6.87 secs 1675s # End of proxy tests 1675s # End of gdbus tests 1675s ok - glib/gdbus-proxy-threads.test 1675s cleaning up pid 12399 1675s # Running test: glib/gdatetime.test 1675s TAP version 13 1675s # random seed: R02Sb9fb8456b7ca9c957de98a6476a98d17 1675s 1..68 1675s # Start of GDateTime tests 1675s # Bug Reference: http://bugzilla.gnome.org/702674 1675s ok 1 /GDateTime/invalid 1675s ok 2 /GDateTime/add_days 1675s ok 3 /GDateTime/add_full 1675s ok 4 /GDateTime/add_hours 1675s ok 5 /GDateTime/add_minutes 1675s ok 6 /GDateTime/add_months 1675s ok 7 /GDateTime/add_seconds 1675s ok 8 /GDateTime/add_weeks 1675s ok 9 /GDateTime/add_years 1675s ok 10 /GDateTime/compare 1675s ok 11 /GDateTime/diff 1675s ok 12 /GDateTime/equal 1675s ok 13 /GDateTime/get_day_of_week 1675s ok 14 /GDateTime/get_day_of_month 1675s ok 15 /GDateTime/get_day_of_year 1675s ok 16 /GDateTime/get_hour 1675s ok 17 /GDateTime/get_microsecond 1675s ok 18 /GDateTime/get_minute 1675s ok 19 /GDateTime/get_month 1675s ok 20 /GDateTime/get_second 1675s ok 21 /GDateTime/get_utc_offset 1675s ok 22 /GDateTime/get_year 1675s ok 23 /GDateTime/hash 1675s ok 24 /GDateTime/new_from_unix 1675s ok 25 /GDateTime/new_from_unix_utc 1675s ok 26 /GDateTime/new_from_timeval 1675s ok 27 /GDateTime/new_from_timeval_utc 1675s ok 28 /GDateTime/new_from_iso8601 1675s ok 29 /GDateTime/new_full 1675s ok 30 /GDateTime/now 1675s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1675s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1675s # %a -> expected: Sat 1675s # %a -> actual: Sat 1675s # %A -> expected: Saturday 1675s # %A -> actual: Saturday 1675s # %b -> expected: Oct 1675s # %b -> actual: Oct 1675s # %B -> expected: October 1675s # %B -> actual: October 1675s # %d -> expected: 24 1675s # %d -> actual: 24 1675s # %d -> expected: 01 1675s # %d -> actual: 01 1675s # %e -> expected: 24 1675s # %e -> actual: 24 1675s # %e -> expected:  1 1675s # %e -> actual:  1 1675s # %f -> expected: 001000 1675s # %f -> actual: 001000 1675s # %h -> expected: Oct 1675s # %h -> actual: Oct 1675s # %H -> expected: 00 1675s # %H -> actual: 00 1675s # %H -> expected: 15 1675s # %H -> actual: 15 1675s # %I -> expected: 12 1675s # %I -> actual: 12 1675s # %I -> expected: 12 1675s # %I -> actual: 12 1675s # %I -> expected: 03 1675s # %I -> actual: 03 1675s # %j -> expected: 297 1675s # %j -> actual: 297 1675s # %k -> expected:  0 1675s # %k -> actual:  0 1675s # %k -> expected: 13 1675s # %k -> actual: 13 1675s # %l -> expected: 12 1675s # %l -> actual: 12 1675s # %I -> expected: 12 1675s # %I -> actual: 12 1675s # %l -> expected:  1 1675s # %l -> actual:  1 1675s # %l -> expected: 10 1675s # %l -> actual: 10 1675s # %m -> expected: 10 1675s # %m -> actual: 10 1675s # %M -> expected: 00 1675s # %M -> actual: 00 1675s # %p -> expected: AM 1675s # %p -> actual: AM 1675s # %p -> expected: PM 1675s # %p -> actual: PM 1675s # %P -> expected: am 1675s # %P -> actual: am 1675s # %P -> expected: pm 1675s # %P -> actual: pm 1675s # %r -> expected: 12:00:00 AM 1675s # %r -> actual: 12:00:00 AM 1675s # %r -> expected: 01:13:13 PM 1675s # %r -> actual: 01:13:13 PM 1675s # %R -> expected: 00:00 1675s # %R -> actual: 00:00 1675s # %R -> expected: 13:13 1675s # %R -> actual: 13:13 1675s # %S -> expected: 00 1675s # %S -> actual: 00 1675s # %t -> expected: 1675s # %t -> actual: 1675s # %u -> expected: 6 1675s # %u -> actual: 6 1675s # %x -> expected: 10/24/09 1675s # %x -> actual: 10/24/09 1675s # %X -> expected: 00:00:00 1675s # %X -> actual: 00:00:00 1675s # %X -> expected: 13:14:15 1675s # %X -> actual: 13:14:15 1675s # %y -> expected: 09 1675s # %y -> actual: 09 1675s # %Y -> expected: 2009 1675s # %Y -> actual: 2009 1675s # %% -> expected: % 1675s # %% -> actual: % 1675s # % -> expected: 1675s # % -> actual: 1675s # %9 -> expected: (null) 1675s # %9 -> actual: (null) 1675s # %Z -> expected: UTC 1675s # %Z -> actual: UTC 1675s ok 32 /GDateTime/printf 1675s # %a -> expected: 1675s # %a -> actual: 1675s # %A -> expected: 1675s # %A -> actual: 1675s # %b -> expected: 10 1675s # %b -> actual: 10 1675s # %B -> expected: 10 1675s # %B -> actual: 10 1675s # %c -> expected: 2009ǯ1024 0000ʬ00 1675s # %c -> actual: 2009ǯ1024 0000ʬ00 1675s # %C -> expected: 20 1675s # %C -> actual: 20 1675s # %d -> expected: 24 1675s # %d -> actual: 24 1675s # %d -> expected: 01 1675s # %d -> actual: 01 1675s # %e -> expected: 24 1675s # %e -> actual: 24 1675s # %h -> expected: 10 1675s # %h -> actual: 10 1675s # %H -> expected: 00 1675s # %H -> actual: 00 1675s # %H -> expected: 15 1675s # %H -> actual: 15 1675s # %I -> expected: 12 1675s # %I -> actual: 12 1675s # %I -> expected: 12 1675s # %I -> actual: 12 1675s # %I -> expected: 03 1675s # %I -> actual: 03 1675s # %j -> expected: 297 1675s # %j -> actual: 297 1675s # %k -> expected: ?0 1675s # %k -> actual: ?0 1675s # %k -> expected: 13 1675s # %k -> actual: 13 1675s # %l -> expected: 12 1675s # %l -> actual: 12 1675s # %I -> expected: 12 1675s # %I -> actual: 12 1675s # %l -> expected: ?1 1675s # %l -> actual: ?1 1675s # %l -> expected: 10 1675s # %l -> actual: 10 1675s # %m -> expected: 10 1675s # %m -> actual: 10 1675s # %M -> expected: 00 1675s # %M -> actual: 00 1675s # %p -> expected: 1675s # %p -> actual: 1675s # %p -> expected: 1675s # %p -> actual: 1675s # %P -> expected: 1675s # %P -> actual: 1675s # %P -> expected: 1675s # %P -> actual: 1675s # %r -> expected: 1200ʬ00 1675s # %r -> actual: 1200ʬ00 1675s # %r -> expected: 0113ʬ13 1675s # %r -> actual: 0113ʬ13 1675s # %R -> expected: 00:00 1675s # %R -> actual: 00:00 1675s # %R -> expected: 13:13 1675s # %R -> actual: 13:13 1675s # %S -> expected: 00 1675s # %S -> actual: 00 1675s # %t -> expected: 1675s # %t -> actual: 1675s # %u -> expected: 6 1675s # %u -> actual: 6 1675s # %x -> expected: 2009ǯ1024 1675s # %x -> actual: 2009ǯ1024 1675s # %X -> expected: 0000ʬ00 1675s # %X -> actual: 0000ʬ00 1675s # %X -> expected: 1314ʬ15 1675s # %X -> actual: 1314ʬ15 1675s # %y -> expected: 09 1675s # %y -> actual: 09 1675s # %Y -> expected: 2009 1675s # %Y -> actual: 2009 1675s # %% -> expected: % 1675s # %% -> actual: % 1675s # % -> expected: 1675s # % -> actual: 1675s # %9 -> expected: (null) 1675s # %9 -> actual: (null) 1675s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1675s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1675s # %EC -> expected: ʿ 1675s # %EC -> actual: ʿ 1675s # %Ex -> expected: ʿ21ǯ1024 1675s # %Ex -> actual: ʿ21ǯ1024 1675s # %EX -> expected: 0000ʬ00 1675s # %EX -> actual: 0000ʬ00 1675s # %Ey -> expected: 21 1675s # %Ey -> actual: 21 1675s # %EY -> expected: ʿ21ǯ 1675s # %EY -> actual: ʿ21ǯ 1675s ok 33 /GDateTime/non_utf8_printf 1675s # ???? -> expected: ???? 1675s # ???? -> actual: ???? 1675s # %H?%M -> expected: 23?15 1675s # %H?%M -> actual: 23?15 1675s # %H?%M -> expected: 23?15 1675s # %H?%M -> actual: 23?15 1675s ok 34 /GDateTime/format_unrepresentable 1675s ok 35 /GDateTime/format_iso8601 1675s ok 36 /GDateTime/strftime 1675s # slow test /GDateTime/strftime executed in 0.63 secs 1675s # %d -> expected: 01 1675s # %d -> actual: 01 1675s # %_d -> expected: 1 1675s # %_d -> actual: 1 1675s # %-d -> expected: 1 1675s # %-d -> actual: 1 1675s # %0d -> expected: 01 1675s # %0d -> actual: 01 1676s # %d -> expected: 21 1676s # %d -> actual: 21 1676s # %_d -> expected: 21 1676s # %_d -> actual: 21 1676s # %-d -> expected: 21 1676s # %-d -> actual: 21 1676s # %0d -> expected: 21 1676s # %0d -> actual: 21 1676s # %e -> expected:  1 1676s # %e -> actual:  1 1676s # %_e -> expected: 1 1676s # %_e -> actual: 1 1676s # %-e -> expected: 1 1676s # %-e -> actual: 1 1676s # %0e -> expected: 01 1676s # %0e -> actual: 01 1676s # %e -> expected: 21 1676s # %e -> actual: 21 1676s # %_e -> expected: 21 1676s # %_e -> actual: 21 1676s # %-e -> expected: 21 1676s # %-e -> actual: 21 1676s # %0e -> expected: 21 1676s # %0e -> actual: 21 1676s # %a -> expected: Thu 1676s # %a -> actual: Thu 1676s # %^a -> expected: THU 1676s # %^a -> actual: THU 1676s # %#a -> expected: THU 1676s # %#a -> actual: THU 1676s # %A -> expected: Thursday 1676s # %A -> actual: Thursday 1676s # %^A -> expected: THURSDAY 1676s # %^A -> actual: THURSDAY 1676s # %#A -> expected: THURSDAY 1676s # %#A -> actual: THURSDAY 1676s # %b -> expected: Jan 1676s # %b -> actual: Jan 1676s # %^b -> expected: JAN 1676s # %^b -> actual: JAN 1676s # %#b -> expected: JAN 1676s # %#b -> actual: JAN 1676s # %B -> expected: January 1676s # %B -> actual: January 1676s # %^B -> expected: JANUARY 1676s # %^B -> actual: JANUARY 1676s # %#B -> expected: JANUARY 1676s # %#B -> actual: JANUARY 1676s # %h -> expected: Jan 1676s # %h -> actual: Jan 1676s # %^h -> expected: JAN 1676s # %^h -> actual: JAN 1676s # %#h -> expected: JAN 1676s # %#h -> actual: JAN 1676s # %Z -> expected: UTC 1676s # %Z -> actual: UTC 1676s # %^Z -> expected: UTC 1676s # %^Z -> actual: UTC 1676s # %#Z -> expected: utc 1676s # %#Z -> actual: utc 1676s # %H -> expected: 01 1676s # %H -> actual: 01 1676s # %_H -> expected: 1 1676s # %_H -> actual: 1 1676s # %-H -> expected: 1 1676s # %-H -> actual: 1 1676s # %0H -> expected: 01 1676s # %0H -> actual: 01 1676s # %H -> expected: 21 1676s # %H -> actual: 21 1676s # %_H -> expected: 21 1676s # %_H -> actual: 21 1676s # %-H -> expected: 21 1676s # %-H -> actual: 21 1676s # %0H -> expected: 21 1676s # %0H -> actual: 21 1676s # %I -> expected: 01 1676s # %I -> actual: 01 1676s # %_I -> expected: 1 1676s # %_I -> actual: 1 1676s # %-I -> expected: 1 1676s # %-I -> actual: 1 1676s # %0I -> expected: 01 1676s # %0I -> actual: 01 1676s # %I -> expected: 11 1676s # %I -> actual: 11 1676s # %_I -> expected: 11 1676s # %_I -> actual: 11 1676s # %-I -> expected: 11 1676s # %-I -> actual: 11 1676s # %0I -> expected: 11 1676s # %0I -> actual: 11 1676s # %k -> expected:  1 1676s # %k -> actual:  1 1676s # %_k -> expected: 1 1676s # %_k -> actual: 1 1676s # %-k -> expected: 1 1676s # %-k -> actual: 1 1676s # %0k -> expected: 01 1676s # %0k -> actual: 01 1676s # %l -> expected:  1 1676s # %l -> actual:  1 1676s # %_l -> expected: 1 1676s # %_l -> actual: 1 1676s # %-l -> expected: 1 1676s # %-l -> actual: 1 1676s # %0l -> expected: 01 1676s # %0l -> actual: 01 1676s # %l -> expected: 11 1676s # %l -> actual: 11 1676s # %_l -> expected: 11 1676s # %_l -> actual: 11 1676s # %-l -> expected: 11 1676s # %-l -> actual: 11 1676s # %0l -> expected: 11 1676s # %0l -> actual: 11 1676s # %p -> expected: AM 1676s # %p -> actual: AM 1676s # %^p -> expected: AM 1676s # %^p -> actual: AM 1676s # %#p -> expected: am 1676s # %#p -> actual: am 1676s # %P -> expected: am 1676s # %P -> actual: am 1676s # %^P -> expected: AM 1676s # %^P -> actual: AM 1676s # %#P -> expected: am 1676s # %#P -> actual: am 1676s # %OH -> expected: ۲۳ 1676s # %OH -> actual: ۲۳ 1676s # %OI -> expected: ۱۱ 1676s # %OI -> actual: ۱۱ 1676s # %OM -> expected: ۰۰ 1676s # %OM -> actual: ۰۰ 1676s # %Om -> expected: ۰۷ 1676s # %Om -> actual: ۰۷ 1676s # %0Om -> expected: ۰۷ 1676s # %0Om -> actual: ۰۷ 1676s # %-Om -> expected: ۷ 1676s # %-Om -> actual: ۷ 1676s # %_Om -> expected: ۷ 1676s # %_Om -> actual: ۷ 1676s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1676s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1676s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1676s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1676s # %C -> expected: 20 1676s # %C -> actual: 20 1676s # %EC -> expected: 20 1676s # %EC -> actual: 20 1676s # %x -> expected: 02/01/09 1676s # %x -> actual: 02/01/09 1676s # %Ex -> expected: 02/01/09 1676s # %Ex -> actual: 02/01/09 1676s # %X -> expected: 01:02:03 1676s # %X -> actual: 01:02:03 1676s # %EX -> expected: 01:02:03 1676s # %EX -> actual: 01:02:03 1676s # %y -> expected: 09 1676s # %y -> actual: 09 1676s # %Ey -> expected: 09 1676s # %Ey -> actual: 09 1676s # %Y -> expected: 2009 1676s # %Y -> actual: 2009 1676s # %EY -> expected: 2009 1676s # %EY -> actual: 2009 1676s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1676s # Bug Reference: http://bugzilla.gnome.org/749206 1676s # %B -> expected: January 1676s # %B -> actual: January 1676s # %OB -> expected: February 1676s # %OB -> actual: February 1676s # %b -> expected: Mar 1676s # %b -> actual: Mar 1676s # %Ob -> expected: Apr 1676s # %Ob -> actual: Apr 1676s # %h -> expected: May 1676s # %h -> actual: May 1676s # %Oh -> expected: Jun 1676s # %Oh -> actual: Jun 1676s # %B -> expected: Juli 1676s # %B -> actual: Juli 1676s # %OB -> expected: August 1676s # %OB -> actual: August 1676s # %b -> expected: Sep 1676s # %b -> actual: Sep 1676s # %Ob -> expected: Okt 1676s # %Ob -> actual: Okt 1676s # %h -> expected: Nov 1676s # %h -> actual: Nov 1676s # %Oh -> expected: Dez 1676s # %Oh -> actual: Dez 1676s # %B -> expected: enero 1676s # %B -> actual: enero 1676s # %OB -> expected: febrero 1676s # %OB -> actual: febrero 1676s # %b -> expected: mar 1676s # %b -> actual: mar 1676s # %Ob -> expected: abr 1676s # %Ob -> actual: abr 1676s # %h -> expected: may 1676s # %h -> actual: may 1676s # %Oh -> expected: jun 1676s # %Oh -> actual: jun 1676s # %B -> expected: juillet 1676s # %B -> actual: juillet 1676s # %OB -> expected: août 1676s # %OB -> actual: août 1676s # %b -> expected: sept. 1676s # %b -> actual: sept. 1676s # %Ob -> expected: oct. 1676s # %Ob -> actual: oct. 1676s # %h -> expected: nov. 1676s # %h -> actual: nov. 1676s # %Oh -> expected: déc. 1676s # %Oh -> actual: déc. 1676s # %B -> expected: Ιανουαρίου 1676s # %B -> actual: Ιανουαρίου 1676s # %B -> expected: Φεβρουαρίου 1676s # %B -> actual: Φεβρουαρίου 1676s # %B -> expected: Μαρτίου 1676s # %B -> actual: Μαρτίου 1676s # %OB -> expected: Απρίλιος 1676s # %OB -> actual: Απρίλιος 1676s # %OB -> expected: Μάιος 1676s # %OB -> actual: Μάιος 1676s # %OB -> expected: Ιούνιος 1676s # %OB -> actual: Ιούνιος 1676s # %b -> expected: Ιουλ 1676s # %b -> actual: Ιουλ 1676s # %Ob -> expected: Αύγ 1676s # %Ob -> actual: Αύγ 1676s # %B -> expected: svibnja 1676s # %B -> actual: svibnja 1676s # %B -> expected: lipnja 1676s # %B -> actual: lipnja 1676s # %B -> expected: srpnja 1676s # %B -> actual: srpnja 1676s # %OB -> expected: Kolovoz 1676s # %OB -> actual: kolovoz 1676s # %OB -> expected: Rujan 1676s # %OB -> actual: rujan 1676s # %OB -> expected: Listopad 1676s # %OB -> actual: listopad 1676s # %b -> expected: Stu 1676s # %b -> actual: stu 1676s # %Ob -> expected: Pro 1676s # %Ob -> actual: pro 1676s # %B -> expected: sausio 1676s # %B -> actual: sausio 1676s # %B -> expected: vasario 1676s # %B -> actual: vasario 1676s # %B -> expected: kovo 1676s # %B -> actual: kovo 1676s # %OB -> expected: balandis 1676s # %OB -> actual: balandis 1676s # %OB -> expected: gegužė 1676s # %OB -> actual: gegužė 1676s # %OB -> expected: birželis 1676s # %OB -> actual: birželis 1676s # %b -> expected: liep. 1676s # %b -> actual: liep. 1676s # %Ob -> expected: rugp. 1676s # %Ob -> actual: rugp. 1676s # %B -> expected: maja 1676s # %B -> actual: maja 1676s # %B -> expected: czerwca 1676s # %B -> actual: czerwca 1676s # %B -> expected: lipca 1676s # %B -> actual: lipca 1676s # %OB -> expected: sierpień 1676s # %OB -> actual: sierpień 1676s # %OB -> expected: wrzesień 1676s # %OB -> actual: wrzesień 1676s # %OB -> expected: październik 1676s # %OB -> actual: październik 1676s # %b -> expected: lis 1676s # %b -> actual: lis 1676s # %Ob -> expected: gru 1676s # %Ob -> actual: gru 1676s # %B -> expected: января 1676s # %B -> actual: января 1676s # %B -> expected: февраля 1676s # %B -> actual: февраля 1676s # %B -> expected: марта 1676s # %B -> actual: марта 1676s # %OB -> expected: Апрель 1676s # %OB -> actual: Апрель 1676s # %OB -> expected: Май 1676s # %OB -> actual: Май 1676s # %OB -> expected: Июнь 1676s # %OB -> actual: Июнь 1676s # %b -> expected: июл 1676s # %b -> actual: июл 1676s # %Ob -> expected: авг 1676s # %Ob -> actual: авг 1676s # %b -> expected: мая 1676s # %b -> actual: мая 1676s # %Ob -> expected: май 1676s # %Ob -> actual: май 1676s ok 38 /GDateTime/month_names 1676s ok 39 /GDateTime/to_local 1676s ok 40 /GDateTime/to_unix 1676s ok 41 /GDateTime/to_timeval 1676s ok 42 /GDateTime/to_utc 1676s ok 43 /GDateTime/now_utc 1676s ok 44 /GDateTime/dst 1676s # Bug Reference: http://bugzilla.gnome.org/642935 1676s ok 45 /GDateTime/test_z 1678s # Executing: glib/gdatetime.test 1678s ok 46 /GDateTime/test-all-dates 1678s # slow test /GDateTime/test-all-dates executed in 2.59 secs 1678s ok 47 /GDateTime/unix_usec 1678s # Start of new_from_unix tests 1678s # Bug Reference: http://bugzilla.gnome.org/782089 1678s ok 48 /GDateTime/new_from_unix/overflow 1678s # End of new_from_unix tests 1678s # Start of new_from_timeval tests 1678s # Bug Reference: http://bugzilla.gnome.org/782089 1678s # Maximum supported GTimeVal.tv_sec = 253402300799 1678s ok 49 /GDateTime/new_from_timeval/overflow 1678s # End of new_from_timeval tests 1678s # Start of new_from_iso8601 tests 1678s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1678s # Vector 0: 1990-11-01T10:21:17Z 1678s # Vector 1: 19901101T102117Z 1678s # Vector 2: 1970-01-01T00:00:17.12Z 1678s # Vector 3: 1970-01-01T00:00:17.1234Z 1678s # Vector 4: 1970-01-01T00:00:17.123456Z 1678s # Vector 5: 1980-02-22T12:36:00+02:00 1678s # Vector 6: 1990-12-31T15:59:60-08:00 1678s # Vector 7: 1678s # Vector 8: x 1678s # Vector 9: 123x 1678s # Vector 10: 2001-10+x 1678s # Vector 11: 1980-02-22T 1678s # Vector 12: 2001-10-08Tx 1678s # Vector 13: 2001-10-08T10:11x 1678s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1678s # Vector 15: 1980-02-22T10:36:00Zulu 1678s # Vector 16: 2T0+819855292164632335 1678s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1678s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1678s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1678s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1678s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1678s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1678s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1678s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1678s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1678s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1678s # Vector 27: 20180803T140805.446178377+0100 1678s # Vector 28: 21474836480803T140805.446178377+0100 1678s # Vector 29: 20181303T140805.446178377+0100 1678s # Vector 30: 20180003T140805.446178377+0100 1678s # Vector 31: 20180800T140805.446178377+0100 1678s # Vector 32: 20180832T140805.446178377+0100 1678s # Vector 33: 20180803T240805.446178377+0100 1678s # Vector 34: 20180803T146005.446178377+0100 1678s # Vector 35: 20180803T140863.446178377+0100 1678s # Vector 36: 20180803T140805.446178377+10000 1678s # Vector 37: -0005-01-01T00:00:00Z 1678s # Vector 38: 2018-08-06 1678s # Vector 39: 20180803T140805,446178377+0100 1678s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1678s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1678s # Vector 42: 1990-11-01T10:21:17 1678s # Vector 43: 1719W462 407777-07 1678s # Vector 44: 4011090 260528Z 1678s # Vector 45: 0000W011 228214-22 1678s ok 50 /GDateTime/new_from_iso8601/2 1678s # End of new_from_iso8601 tests 1678s # Start of format_mixed tests 1678s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1678s # %b -> expected: mar 1678s # %b -> actual: Mar 1678s # %B -> expected: march 1678s # %B -> actual: March 1678s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1678s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1678s # %b -> expected: mar 1678s # %b -> actual: Mar 1678s # %B -> expected: march 1678s # %B -> actual: March 1678s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1678s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1678s # %b -> expected: Mär 1678s # %b -> actual: Mär 1678s # %B -> expected: März 1678s # %B -> actual: März 1678s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1678s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1678s # %b -> expected: Mär 1678s # %b -> actual: Mär 1678s # %B -> expected: März 1678s # %B -> actual: März 1678s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1678s # End of format_mixed tests 1678s # Start of strftime tests 1678s # %r -> expected: (null) 1678s # %r -> actual: (null) 1678s ok 55 /GDateTime/strftime/error_handling 1678s # End of strftime tests 1678s # Start of eras tests 1678s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1678s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1678s # %EC -> expected: 令和 1678s # %EC -> actual: 令和 1678s # %Ex -> expected: 令和05年06月01日 1678s # %Ex -> actual: 令和05年06月01日 1678s # %EX -> expected: 00時00分00秒 1678s # %EX -> actual: 00時00分00秒 1678s # %Ey -> expected: 05 1678s # %Ey -> actual: 05 1678s # %EY -> expected: 令和05年 1678s # %EY -> actual: 令和05年 1678s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1678s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1678s # %EC -> expected: 平成 1678s # %EC -> actual: 平成 1678s # %Ex -> expected: 平成31年04月30日 1678s # %Ex -> actual: 平成31年04月30日 1678s # %EX -> expected: 00時00分00秒 1678s # %EX -> actual: 00時00分00秒 1678s # %Ey -> expected: 31 1678s # %Ey -> actual: 31 1678s # %EY -> expected: 平成31年 1678s # %EY -> actual: 平成31年 1678s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1678s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1678s # %EC -> expected: 昭和 1678s # %EC -> actual: 昭和 1678s # %Ex -> expected: 昭和元年12月25日 1678s # %Ex -> actual: 昭和元年12月25日 1678s # %EX -> expected: 00時00分00秒 1678s # %EX -> actual: 00時00分00秒 1678s # %Ey -> expected: 01 1678s # %Ey -> actual: 01 1678s # %EY -> expected: 昭和元年 1678s # %EY -> actual: 昭和元年 1678s ok 56 /GDateTime/eras/japan 1678s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1678s # Vector 0: 1678s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1678s # 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年 1678s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1678s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1678s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1678s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1678s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1678s # Vector 8: + 1678s # Vector 9: +: 1678s # Vector 10: +:: 1678s # Vector 11: +:200 1678s # Vector 12: +:2nonsense 1678s # Vector 13: +:2nonsense: 1678s # Vector 14: +:2: 1678s # Vector 15: +:2:: 1678s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1678s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1678s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1678s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1678s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1678s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1678s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1678s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1678s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1678s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1678s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1678s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1678s # Vector 28: +:2:2020/01/01 1678s # Vector 29: +:2:2020/01/01: 1678s # Vector 30: +:2:2020/01/01:: 1678s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1678s # Vector 32: +:2:2020/01/01:+* 1678s # Vector 33: +:2:2020/01/01:+*: 1678s # Vector 34: +:2:2020/01/01:+*:: 1678s # Vector 35: +:2:2020/01/01:+*:令和 1678s # Vector 36: +:2:2020/01/01:+*:令和: 1678s # Vector 37: +:2:2020/01/01:+*:令和:; 1678s ok 58 /GDateTime/eras/parsing 1678s # End of eras tests 1678s # End of GDateTime tests 1678s # Start of GTimeZone tests 1678s ok 59 /GTimeZone/find-interval 1678s ok 60 /GTimeZone/adjust-time 1678s ok 61 /GTimeZone/no-header 1678s ok 62 /GTimeZone/no-header-identifier 1678s ok 63 /GTimeZone/posix-parse 1678s # Bug Reference: http://bugzilla.gnome.org/697715 1678s ok 64 /GTimeZone/floating-point 1678s # System time zone identifier: Etc/UTC 1678s ok 65 /GTimeZone/identifier 1678s # Vector 0: -158400 1678s # Vector 1: -10000 1678s # Vector 2: -3600 1678s # Vector 3: -61 1678s # Vector 4: -60 1678s # Vector 5: -59 1678s # Vector 6: 0 1678s # Vector 7: 59 1678s # Vector 8: 60 1678s # Vector 9: 61 1678s # Vector 10: 3600 1678s # Vector 11: 10000 1678s # Vector 12: 158400 1678s ok 66 /GTimeZone/new-offset 1678s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1678s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1678s ok 67 /GTimeZone/parse-rfc8536 1678s # /GTimeZone/caching summary: GTimeZone instances are cached 1678s ok 68 /GTimeZone/caching 1678s # End of GTimeZone tests 1678s ok - glib/gdatetime.test 1678s # Running test: glib/gdbus-server-auth.test 1678s TAP version 13 1678s # random seed: R02S32145a9eb857fe35152a5793629ac00f 1678s 1..9 1678s # Start of gdbus tests 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/.dirs/runtime 1678s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-LU02J2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1678s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-LU02J2/dbus-sQRDBx0g 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 1678s ok 1 /gdbus/server-auth 1678s # Start of server-auth tests 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/abstract/.dirs/runtime 1678s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-3IL5J2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1678s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-3IL5J2/dbus-6D6lfPaP 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1678s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1678s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 1678s ok 2 /gdbus/server-auth/abstract 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/tcp/.dirs/runtime 1678s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1678s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/.dirs/runtime 1678s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-DRV6J2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1678s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-DRV6J2/dbus-RqDfHY2D 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 1678s ok 4 /gdbus/server-auth/anonymous 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/.dirs/runtime 1678s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-2IPXJ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1678s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-2IPXJ2/dbus-rLFXcCEs 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 1678s ok 5 /gdbus/server-auth/external 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/.dirs/runtime 1678s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-VATYJ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1678s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1678s # Start of anonymous tests 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1678s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1678s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1678s # End of anonymous tests 1678s # Start of external tests 1678s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/home 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/cache 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/config 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/data 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/state 1678s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1678s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-OE4ZJ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1678s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_QI22J2/gdbus-server-auth-OE4ZJ2/dbus-ifHDREC3 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 12409 1678s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1678s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1678s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1678s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1678s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 12409 1679s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1679s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1679s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1679s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=12409,uid=1000,gid=1000 1679s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 12409 1679s ok 8 /gdbus/server-auth/external/require-same-user 1679s # End of external tests 1679s # Start of sha1 tests 1679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/home 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/cache 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/config 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/data 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/state 1679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_QI22J2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1679s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1679s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1679s # End of sha1 tests 1679s # End of server-auth tests 1679s # End of gdbus tests 1679s ok - glib/gdbus-server-auth.test 1679s # Running test: glib/mount-operation.test 1679s TAP version 13 1679s # random seed: R02S337f5b92efd0300d9265993db78744c2 1679s 1..2 1679s # Start of mount-operation tests 1679s ok 1 /mount-operation/construction 1679s ok 2 /mount-operation/properties 1679s # End of mount-operation tests 1679s ok - glib/mount-operation.test 1679s # Running test: glib/rand.test 1679s TAP version 13 1679s # random seed: R02S5024303a5008dc5999d10bb42a8e86d7 1679s 1..2 1679s # Start of rand tests 1679s ok 1 /rand/test-rand 1679s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1679s ok 2 /rand/double-range 1679s # End of rand tests 1679s ok - glib/rand.test 1679s # Running test: glib/1bit-mutex.test 1679s TAP version 13 1679s # random seed: R02Sf793b444961b97d1c7a552f80cb99ecb 1679s 1..2 1679s # Start of glib tests 1679s # Start of 1bit-mutex tests 1683s # Executing: glib/1bit-mutex.test 1688s # Executing: glib/1bit-mutex.test 1693s # Executing: glib/1bit-mutex.test 1698s # Executing: glib/1bit-mutex.test 1703s # Executing: glib/1bit-mutex.test 1708s # Executing: glib/1bit-mutex.test 1713s # Executing: glib/1bit-mutex.test 1718s # Executing: glib/1bit-mutex.test 1719s ok 1 /glib/1bit-mutex/int 1719s # slow test /glib/1bit-mutex/int executed in 40.66 secs 1723s # Executing: glib/1bit-mutex.test 1728s # Executing: glib/1bit-mutex.test 1733s # Executing: glib/1bit-mutex.test 1738s # Executing: glib/1bit-mutex.test 1743s # Executing: glib/1bit-mutex.test 1748s # Executing: glib/1bit-mutex.test 1753s # Executing: glib/1bit-mutex.test 1758s # Executing: glib/1bit-mutex.test 1759s ok 2 /glib/1bit-mutex/pointer 1759s # slow test /glib/1bit-mutex/pointer executed in 39.37 secs 1759s # End of 1bit-mutex tests 1759s # End of glib tests 1759s ok - glib/1bit-mutex.test 1759s # Running test: glib/gdbus-exit-on-close.test 1759s TAP version 13 1759s # random seed: R02S8e1f07cd4b857ef63d5499a2b1d705dd 1759s 1..4 1759s # Start of gdbus tests 1759s # Start of exit-on-close tests 1759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/home 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/cache 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/system-config2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/config 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/system-data2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/data 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/state 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/default/.dirs/runtime 1759s ok 1 /gdbus/exit-on-close/default 1759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/home 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/cache 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/system-config2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/config 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/system-data2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/data 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/state 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/true/.dirs/runtime 1759s ok 2 /gdbus/exit-on-close/true 1759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/home 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/cache 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/system-config2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/config 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/system-data2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/data 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/state 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/false/.dirs/runtime 1759s ok 3 /gdbus/exit-on-close/false 1759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/home 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/cache 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/system-config2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/config 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/system-data2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/data 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/state 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RU8HK2/gdbus/exit-on-close/we-close/.dirs/runtime 1759s ok 4 /gdbus/exit-on-close/we-close 1759s # Start of default tests 1759s # End of default tests 1759s # Start of true tests 1759s # End of true tests 1759s # Start of false tests 1759s # End of false tests 1759s # Start of we-close tests 1759s # End of we-close tests 1759s # End of exit-on-close tests 1759s # End of gdbus tests 1759s ok - glib/gdbus-exit-on-close.test 1759s # Running test: glib/cxx-03.test 1759s TAP version 13 1759s # random seed: R02Sd30b8933550e5d4257a7c93529b2d5b3 1759s 1..2 1759s # Start of gtask tests 1759s # 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. 1759s ok 1 /gtask/name 1759s # Start of name tests 1759s # 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. 1759s ok 2 /gtask/name/macro-wrapper 1759s # End of name tests 1759s # End of gtask tests 1759s ok - glib/cxx-03.test 1759s # Running test: glib/portal-support-flatpak-full.test 1759s TAP version 13 1759s # random seed: R02S5d9b27af37517138050af2e9f1388362 1759s 1..1 1759s # Start of portal-support tests 1759s # Start of flatpak tests 1759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/home 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/cache 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/system-config2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/config 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/system-data2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/data 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/state 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/runtime 1759s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_1EB6J2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1759s ok 1 /portal-support/flatpak/full 1759s # End of flatpak tests 1759s # End of portal-support tests 1759s ok - glib/portal-support-flatpak-full.test 1759s # Running test: glib/markup-escape.test 1759s TAP version 13 1759s # random seed: R02S6a952e463d23266ff3c2c4ba4415a16e 1759s 1..41 1759s # Start of markup tests 1759s ok 1 /markup/format 1759s # Start of escape-text tests 1759s ok 2 /markup/escape-text/0 1759s ok 3 /markup/escape-text/1 1759s ok 4 /markup/escape-text/2 1759s ok 5 /markup/escape-text/3 1759s ok 6 /markup/escape-text/4 1759s ok 7 /markup/escape-text/5 1759s ok 8 /markup/escape-text/6 1759s ok 9 /markup/escape-text/7 1759s ok 10 /markup/escape-text/8 1759s ok 11 /markup/escape-text/9 1759s ok 12 /markup/escape-text/10 1759s ok 13 /markup/escape-text/11 1759s ok 14 /markup/escape-text/12 1759s ok 15 /markup/escape-text/13 1759s ok 16 /markup/escape-text/14 1759s ok 17 /markup/escape-text/15 1759s ok 18 /markup/escape-text/16 1759s ok 19 /markup/escape-text/17 1759s ok 20 /markup/escape-text/18 1759s ok 21 /markup/escape-text/19 1759s ok 22 /markup/escape-text/20 1759s ok 23 /markup/escape-text/21 1759s ok 24 /markup/escape-text/22 1759s # End of escape-text tests 1759s # Start of escape-unichar tests 1759s ok 25 /markup/escape-unichar/0 1759s ok 26 /markup/escape-unichar/1 1759s ok 27 /markup/escape-unichar/2 1759s ok 28 /markup/escape-unichar/3 1759s ok 29 /markup/escape-unichar/4 1759s ok 30 /markup/escape-unichar/5 1759s ok 31 /markup/escape-unichar/6 1759s ok 32 /markup/escape-unichar/7 1759s ok 33 /markup/escape-unichar/8 1759s ok 34 /markup/escape-unichar/9 1759s ok 35 /markup/escape-unichar/10 1759s ok 36 /markup/escape-unichar/11 1759s ok 37 /markup/escape-unichar/12 1759s ok 38 /markup/escape-unichar/13 1759s ok 39 /markup/escape-unichar/14 1759s ok 40 /markup/escape-unichar/15 1759s ok 41 /markup/escape-unichar/16 1759s # End of escape-unichar tests 1759s # End of markup tests 1759s ok - glib/markup-escape.test 1759s # Running test: glib/strfuncs.test 1759s TAP version 13 1759s # random seed: R02S5da699f18d55678dbc3fdfa1b293e348 1759s 1..50 1759s # Start of strfuncs tests 1759s ok 1 /strfuncs/ascii-strcasecmp 1759s ok 2 /strfuncs/ascii_strdown 1759s ok 3 /strfuncs/ascii_strdup 1759s ok 4 /strfuncs/ascii_strtod 1759s ok 5 /strfuncs/bounds-check 1759s ok 6 /strfuncs/has-prefix 1759s ok 7 /strfuncs/has-prefix-macro 1759s ok 8 /strfuncs/has-suffix 1759s ok 9 /strfuncs/has-suffix-macro 1759s ok 10 /strfuncs/memdup 1759s ok 11 /strfuncs/memdup2 1759s ok 12 /strfuncs/set_str 1759s ok 13 /strfuncs/stpcpy 1759s ok 14 /strfuncs/str_match_string 1759s ok 15 /strfuncs/str_tokenize_and_fold 1759s ok 16 /strfuncs/strcanon 1759s ok 17 /strfuncs/strchomp 1759s ok 18 /strfuncs/strchug 1759s ok 19 /strfuncs/strcompress-strescape 1759s ok 20 /strfuncs/strconcat 1759s ok 21 /strfuncs/strdelimit 1759s ok 22 /strfuncs/strdup 1759s ok 23 /strfuncs/strdup-printf 1759s ok 24 /strfuncs/strdupv 1759s ok 25 /strfuncs/strerror 1759s ok 26 /strfuncs/strip-context 1759s ok 27 /strfuncs/strjoin 1759s ok 28 /strfuncs/strjoinv 1759s ok 29 /strfuncs/strlcat 1759s ok 30 /strfuncs/strlcpy 1759s ok 31 /strfuncs/strncasecmp 1759s ok 32 /strfuncs/strndup 1759s ok 33 /strfuncs/strnfill 1759s ok 34 /strfuncs/strreverse 1759s ok 35 /strfuncs/strsignal 1759s ok 36 /strfuncs/strsplit 1759s ok 37 /strfuncs/strsplit-set 1759s ok 38 /strfuncs/strstr 1759s ok 39 /strfuncs/strtod 1759s ok 40 /strfuncs/strtoull-strtoll 1759s ok 41 /strfuncs/strup 1759s ok 42 /strfuncs/strv-contains 1759s ok 43 /strfuncs/strv-equal 1759s ok 44 /strfuncs/strv-length 1759s ok 45 /strfuncs/test-is-to-digit 1759s ok 46 /strfuncs/transliteration 1759s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1759s ok 47 /strfuncs/str-equal 1759s # Start of ascii-string-to-num tests 1759s ok 48 /strfuncs/ascii-string-to-num/pathological 1759s ok 49 /strfuncs/ascii-string-to-num/usual 1759s # End of ascii-string-to-num tests 1759s # Start of strdup tests 1759s ok 50 /strfuncs/strdup/inline 1759s # End of strdup tests 1759s # End of strfuncs tests 1759s ok - glib/strfuncs.test 1759s # Running test: glib/boxed.test 1759s TAP version 13 1759s # random seed: R02S31df2447fbdf6dda142633753baac33d 1759s 1..27 1759s # Start of boxed tests 1759s ok 1 /boxed/define 1759s ok 2 /boxed/ownership 1759s ok 3 /boxed/closure 1759s ok 4 /boxed/date 1759s ok 5 /boxed/value 1759s ok 6 /boxed/string 1759s ok 7 /boxed/hashtable 1759s ok 8 /boxed/array 1759s ok 9 /boxed/ptrarray 1759s ok 10 /boxed/regex 1759s ok 11 /boxed/varianttype 1759s ok 12 /boxed/error 1759s ok 13 /boxed/datetime 1759s ok 14 /boxed/matchinfo 1759s ok 15 /boxed/keyfile 1759s ok 16 /boxed/mainloop 1759s ok 17 /boxed/maincontext 1759s ok 18 /boxed/source 1759s ok 19 /boxed/variantbuilder 1759s ok 20 /boxed/timezone 1759s ok 21 /boxed/pollfd 1759s ok 22 /boxed/markup 1759s ok 23 /boxed/thread 1759s ok 24 /boxed/checksum 1759s ok 25 /boxed/tree 1759s ok 26 /boxed/patternspec 1759s ok 27 /boxed/rand 1759s # End of boxed tests 1759s ok - glib/boxed.test 1759s # Running test: glib/642026.test 1759s TAP version 13 1759s # random seed: R02Sbe55dda5cbe7bae0bd2a945ad11e9304 1759s 1..1 1759s # Start of glib tests 1759s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1759s ok 1 /glib/642026 1759s # End of glib tests 1759s ok - glib/642026.test 1759s # Running test: glib/registered-type-info.test 1759s TAP version 13 1759s # random seed: R02Se6e1722ec02dfa5a40865087d760c9d3 1759s 1..1 1759s # Start of registered-type-info tests 1759s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/home 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/cache 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/system-config2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/config 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/system-data2 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/data 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/state 1759s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_WDWZJ2/registered-type-info/boxed/.dirs/runtime 1759s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1759s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1759s # Expecting CClosure to not be boxed 1759s # Expecting TypeCValue to not be boxed 1759s # Expecting InitiallyUnownedClass to not be boxed 1759s # Expecting BookmarkFile to be boxed 1759s # Expecting Closure to be boxed 1759s # Expecting Object to not be boxed 1759s ok 1 /registered-type-info/boxed 1759s # End of registered-type-info tests 1759s ok - glib/registered-type-info.test 1759s # Running test: glib/type.test 1760s TAP version 13 1760s # random seed: R02S10bf1b197a070337282c95d7c9d3cd80 1760s 1..6 1760s # Start of type tests 1760s ok 1 /type/registration-serial 1760s ok 2 /type/interface-prerequisite 1760s ok 3 /type/interface-check 1760s ok 4 /type/next-base 1760s ok 5 /type/is-a 1760s # Invalid types can?t be queried. 1760s # Unclassed types can?t be queried. 1760s ok 6 /type/query 1760s # End of type tests 1760s ok - glib/type.test 1760s # Running test: glib/refstring.test 1760s TAP version 13 1760s # random seed: R02S7398ce00e5ff4e2284908e3b7e3d04bd 1760s 1..5 1760s # Start of refstring tests 1760s # s = 'hello, world' (0xb35df5141600) 1760s ok 1 /refstring/base 1760s ok 2 /refstring/length 1760s ok 3 /refstring/length-auto 1760s ok 4 /refstring/length-nuls 1760s # s = 'hello, world' (0xb35df5141600) 1760s # p = s = 'hello, world' (0xb35df5141600) 1760s # releasing p[0xb35df5141600] ('hello, world') 1760s # p = 'goodbye, world' (0xb35df5149660) 1760s # releasing p[0xb35df5149660] ('goodbye, world') 1760s # releasing s[0xb35df5141600] ('hello, world') 1760s ok 5 /refstring/intern 1760s # End of refstring tests 1760s ok - glib/refstring.test 1760s # Running test: glib/param.test 1760s TAP version 13 1760s # random seed: R02S6bd80b9153dc0288df06530dce5c13ff 1760s 1..32 1760s # Start of param tests 1760s ok 1 /param/value 1760s ok 2 /param/strings 1760s ok 3 /param/qdata 1760s ok 4 /param/validate 1760s ok 5 /param/convert 1760s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1760s ok 7 /param/default 1760s ok 8 /param/is-valid-name 1760s # Start of invalid-name tests 1760s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1760s ok 9 /param/invalid-name/colon 1760s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1761s ok 10 /param/invalid-name/first-char 1761s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1761s ok 11 /param/invalid-name/empty 1761s # End of invalid-name tests 1761s # Start of implement tests 1761s # Start of subprocess tests 1761s # End of subprocess tests 1761s # End of implement tests 1761s # End of param tests 1761s # Start of value tests 1761s ok 12 /value/transform 1761s # End of value tests 1761s # Start of paramspec tests 1761s ok 13 /paramspec/char 1761s ok 14 /paramspec/uchar 1761s ok 15 /paramspec/int 1761s ok 16 /paramspec/uint 1761s ok 17 /paramspec/long 1761s ok 18 /paramspec/ulong 1761s ok 19 /paramspec/int64 1761s ok 20 /paramspec/uint64 1761s ok 21 /paramspec/float 1761s ok 22 /paramspec/double 1761s ok 23 /paramspec/unichar 1761s ok 24 /paramspec/param 1761s ok 25 /paramspec/null-param 1761s ok 26 /paramspec/string 1761s ok 27 /paramspec/override 1761s ok 28 /paramspec/gtype 1761s ok 29 /paramspec/variant 1761s ok 30 /paramspec/custom 1761s ok 31 /paramspec/pool 1761s # Start of variant tests 1761s ok 32 /paramspec/variant/cmp 1761s # End of variant tests 1761s # End of paramspec tests 1761s ok - glib/param.test 1761s # Running test: glib/sandbox.test 1761s TAP version 13 1761s # random seed: R02Sf88fcd7dcfc0896d895d953fbef76493 1761s 1..4 1761s # Start of sandbox tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_N834J2/sandbox/none/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_N834J2/sandbox/none/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_N834J2/sandbox/none/.dirs/runtime 1761s ok 1 /sandbox/none 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_N834J2/sandbox/snap/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_N834J2/sandbox/snap/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_N834J2/sandbox/snap/.dirs/runtime 1761s # Created snap.yaml in /tmp/test_sandbox_N834J2/snap/current/meta/snap.yaml 1761s ok 2 /sandbox/snap 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_N834J2/sandbox/classic-snap/.dirs/runtime 1761s # Created snap.yaml in /tmp/test_sandbox_N834J2/snap/current/meta/snap.yaml 1761s ok 3 /sandbox/classic-snap 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/runtime 1761s # Creating .flatpak-info in /tmp/test_sandbox_N834J2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1761s ok 4 /sandbox/flatpak 1761s # End of sandbox tests 1761s ok - glib/sandbox.test 1761s # Running test: glib/gdbus-proxy-unique-name.test 1761s TAP version 13 1761s # random seed: R02S579950a6cfeea37827b5d59376cc9522 1761s 1..1 1761s # Start of gdbus tests 1761s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/home 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/cache 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/system-config2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/config 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/system-data2 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/data 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-name/.dirs/state 1761s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_81T5J2/gdbus/proxy-unique-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-unique-name 1761s # End of gdbus tests 1761s ok - glib/gdbus-proxy-unique-name.test 1761s # Running test: glib/unicode-normalize.test 1761s TAP version 13 1761s # random seed: R02Sce3627c266b038460984385290d77b52 1761s 1..3 1761s # Start of unicode tests 1761s # Processing Part0 # Specific cases 1761s # Processing Part1 # Character by character test 1762s # Processing Part2 # Canonical Order Test 1762s # Processing Part3 # PRI #29 Test 1762s ok 1 /unicode/normalize 1762s # Invalid UTF-8 vector 0 1762s # Invalid UTF-8 vector 1 1762s # Invalid UTF-8 vector 2 1762s # Invalid UTF-8 vector 3 1762s # Invalid UTF-8 vector 4 1762s # Invalid UTF-8 vector 5 1762s # Invalid UTF-8 vector 6 1762s # Invalid UTF-8 vector 7 1762s # Invalid UTF-8 vector 8 1762s # Invalid UTF-8 vector 9 1762s # Invalid UTF-8 vector 10 1762s # Invalid UTF-8 vector 11 1762s # Invalid UTF-8 vector 12 1762s ok 2 /unicode/normalize-invalid 1762s # Start of normalize tests 1762s ok 3 /unicode/normalize/bad-length 1762s # End of normalize tests 1762s # End of unicode tests 1762s ok - glib/unicode-normalize.test 1762s # Running test: glib/pollable.test 1762s TAP version 13 1762s # random seed: R02Sd45a7c15728f063a0726ef8b67cdb100 1762s 1..6 1762s # Start of pollable tests 1762s ok 1 /pollable/converter 1762s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1762s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbfd735321760 and GSocketClientAsyncConnectData 0xbfd735314ad0 1762s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1762s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1762s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbfd735322820 for GSocketClientAsyncConnectData 0xbfd735314ad0 1762s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1762s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1762s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1762s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1762s ok 2 /pollable/socket 1762s # Start of unix tests 1762s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1762s ok 3 /pollable/unix/pipe 1762s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1762s ok 4 /pollable/unix/pty 1762s # /pollable/unix/file summary: Test that regular files are not considered pollable 1762s ok 5 /pollable/unix/file 1762s # /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 1762s ok 6 /pollable/unix/nulldev 1762s # End of unix tests 1762s # End of pollable tests 1762s ok - glib/pollable.test 1762s # Running test: glib/live-g-file.test 1762s TAP version 13 1762s # random seed: R02S79d0dcd9d739bd40d668ebf53142515b 1762s 1..13 1762s # Start of live-g-file tests 1762s # Cleaning target testing structure in 'testdir_live-g-file'... 1762s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1762s ok 1 /live-g-file/prep_clean_structure 1762s # 1762s # Going to create testing structure in 'testdir_live-g-file'... 1762s # Creating directory 'dir1'... 1762s # Creating directory 'dir1/subdir'... 1762s # Creating directory 'dir2'... 1762s # Creating directory 'dir-target'... 1762s # Creating directory 'dir_no-access'... 1762s # Creating directory 'dir_no-write'... 1762s # Creating file 'target-file'... 1762s # Creating file 'normal_file'... 1762s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1762s # Creating file 'executable_file'... 1762s # Creating file 'private_file'... 1762s # Creating file 'normal_file2'... 1762s # Creating file 'readonly_file'... 1762s # Creating file 'UTF_pr?i?lis? z'... 1762s # Creating directory 'dir_pr?i?lis? z'... 1762s # Creating symlink 'lost_symlink' --> 'nowhere'... 1762s # Creating directory 'dir_hidden'... 1762s # Creating file 'dir_hidden/.a-hidden-file'... 1762s # Creating file 'dir_hidden/file-in-.hidden1'... 1762s # Creating file 'dir_hidden/file-in-.hidden2'... 1762s # Creating pattern file... 1762s # done. 1762s ok 2 /live-g-file/create_structure 1762s # Testing sample structure in 'testdir_live-g-file'... 1762s # Testing file 'dir1'... 1762s # Testing file 'dir1/subdir'... 1762s # Testing file 'dir2'... 1762s # Testing file 'dir-target'... 1762s # Testing file 'dir_no-access'... 1762s # Testing file 'dir_no-write'... 1762s # Testing file 'target-file'... 1762s # Testing file 'normal_file'... 1762s # Testing file 'normal_file-symlink'... 1762s # Testing file 'executable_file'... 1762s # Testing file 'private_file'... 1762s # Testing file 'normal_file2'... 1762s # Testing file 'readonly_file'... 1762s # Testing file 'UTF_pr?i?lis? z'... 1762s # Testing file 'dir_pr?i?lis? z'... 1762s # Testing file 'lost_symlink'... 1762s # Testing file 'dir_hidden'... 1762s # Testing file 'dir_hidden/.a-hidden-file'... 1762s # Testing file 'dir_hidden/file-in-.hidden1'... 1762s # Testing file 'dir_hidden/file-in-.hidden2'... 1762s # Testing pattern file... 1762s # read 65536 bytes, total = 65536 of 65536. 1762s ok 3 /live-g-file/test_initial_structure 1762s # Traversing through the sample structure in 'testdir_live-g-file'... 1762s # Found file dir1, relative to root: dir1 1762s # Found file subdir, relative to root: dir1/subdir 1762s # Found file dir2, relative to root: dir2 1762s # Found file dir-target, relative to root: dir-target 1762s # Found file dir_no-access, relative to root: dir_no-access 1762s # Found file dir_no-write, relative to root: dir_no-write 1762s # Found file target-file, relative to root: target-file 1762s # Found file normal_file, relative to root: normal_file 1762s # Found file normal_file-symlink, relative to root: normal_file-symlink 1762s # Found file executable_file, relative to root: executable_file 1762s # Found file private_file, relative to root: private_file 1762s # Found file normal_file2, relative to root: normal_file2 1762s # Found file readonly_file, relative to root: readonly_file 1762s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1762s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1762s # Found file lost_symlink, relative to root: lost_symlink 1762s # Found file dir_hidden, relative to root: dir_hidden 1762s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1762s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1762s # Found file .hidden, relative to root: dir_hidden/.hidden 1762s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1762s # Found file pattern_file, relative to root: pattern_file 1762s ok 4 /live-g-file/test_traverse_structure 1762s # Test enumerate 'testdir_live-g-file'... 1762s # Testing file 'dir_no-access' 1762s # Testing file 'normal_file' 1762s # Testing file 'normal_file-symlink' 1762s # Testing file 'not_exists' 1762s # Testing file 'not_exists' 1762s # Testing file 'not_exists2' 1762s # Testing file 'not_exists3' 1762s # Testing file 'not_exists4' 1762s # Testing file 'dir_no-execute/file' 1762s ok 5 /live-g-file/test_enumerate 1762s # test_open: 'dir1' 1762s # test_open: 'dir_no-access' 1762s # test_open: 'target-file' 1762s # test_open: 'normal_file-symlink' 1762s # test_open: 'executable_file' 1762s # test_open: 'private_file' 1762s # test_open: 'readonly_file' 1762s # test_open: 'UTF_pr?i?lis? z' 1762s # test_open: 'pattern_file' 1762s # test_open: 'not_exists' 1762s # test_open: 'dir_no-execute/file' 1762s # test_open: 'lost_symlink' 1762s ok 6 /live-g-file/test_open 1762s # test_create: 'dir1' 1762s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir1?: Is a directory 1762s # test_create: 'dir1/subdir' 1762s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir1/subdir?: Is a directory 1762s # test_create: 'dir2' 1762s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir2?: File exists 1762s # test_create: 'normal_file' 1762s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/normal_file?: File exists 1762s # test_create: 'executable_file' 1762s # test_create: 'private_file' 1762s # test_create: 'normal_file2' 1762s # test_create: 'UTF_pr?i?lis? z' 1762s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1762s # test_create: 'dir_pr?i?lis? z' 1762s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1762s # test_create: 'pattern_file' 1762s # test_create: 'not_exists2' 1762s # test_create: 'not_exists3' 1762s # test_create: 'not_exists4' 1762s ok 7 /live-g-file/test_create 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir1/subdir' --> '.' 1762s # res = 0, error code 2 = Target file exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir1/subdir' --> 'target-file' 1762s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir2' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir-target' --> 'dir-target' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir-target' --> '.' 1762s # res = 0, error code 2 = Target file exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir-target' --> 'target-file' 1762s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/dir-target?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir-target' --> 'not_exists' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir-target' --> 'dir_no-access' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'dir-target' --> 'dir_no-write' 1762s # res = 0, error code 25 = Can?t recursively copy directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'target-file' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'target-file' --> '.' 1762s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file?: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'target-file' --> 'target-file' 1762s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/target-file?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'target-file' --> 'not_exists' 1762s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'target-file' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'target-file' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file-symlink' --> '.' 1762s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/normal_file-symlink: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1762s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1762s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> '.' 1762s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/executable_file?: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> 'target-file' 1762s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/executable_file?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> 'not_exists' 1762s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'executable_file' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> '.' 1762s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/private_file?: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> 'target-file' 1762s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/private_file?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> 'not_exists' 1762s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'private_file' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> '.' 1762s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/normal_file2?: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> 'target-file' 1762s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> 'not_exists' 1762s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1762s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1762s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1762s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'pattern_file' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'pattern_file' --> '.' 1762s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/pattern_file?: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'pattern_file' --> 'target-file' 1762s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'pattern_file' --> 'not_exists' 1762s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> 'dir-target' 1762s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> '.' 1762s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> 'target-file' 1762s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> 'not_exists' 1762s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> 'dir_no-access' 1762s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> 'dir_no-write' 1762s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists?: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'not_exists' --> 'dir-target' 1762s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'lost_symlink' --> 'dir-target' 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'lost_symlink' --> '.' 1762s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/lost_symlink: File exists 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'lost_symlink' --> 'target-file' 1762s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'lost_symlink' --> 'not_exists' 1762s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1762s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1762s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1762s ok 8 /live-g-file/test_copy_move 1762s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir1 1762s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir1: Directory not empty 1762s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir2 1762s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir2: No such file or directory 1762s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/executable_file 1762s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/readonly_file 1762s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_pr?i?lis? z 1762s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists 1762s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists: No such file or directory 1762s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists 1762s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/not_exists: No such file or directory 1762s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-execute/file 1762s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1762s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-62H8J2/testdir_live-g-file/lost_symlink 1762s ok 9 /live-g-file/test_delete 1762s # We do not have CAP_DAC_OVERRIDE or equivalent 1762s ok 10 /live-g-file/test_make_directory_with_parents 1762s # Cleaning target testing structure in 'testdir_live-g-file'... 1762s # deleting 'dir1' 1762s # deleting 'subdir' 1762s # deleting 'dir-target' 1762s # deleting 'dir2' 1762s # deleting 'target-file' 1762s # deleting 'normal_file-symlink' 1762s # deleting 'pattern_file' 1762s # deleting 'executable_file' 1762s # deleting 'private_file' 1762s # deleting 'normal_file2' 1762s # deleting 'UTF_pr?i?lis? z' 1762s # deleting 'lost_symlink' 1762s # deleting 'dir_no-access' 1762s # deleting 'dir_no-write' 1762s # deleting 'target-file' 1762s # deleting 'normal_file' 1762s # deleting 'normal_file-symlink' 1762s # deleting 'executable_file~' 1762s # deleting 'private_file' 1762s # deleting 'normal_file2~' 1762s # deleting 'a' 1762s # deleting 'UTF_pr?i?lis? z' 1762s # deleting 'dir_hidden' 1762s # deleting '.a-hidden-file' 1762s # deleting 'file-in-.hidden1' 1762s # deleting '.hidden' 1762s # deleting 'file-in-.hidden2' 1762s # deleting 'pattern_file' 1762s # deleting 'normal_file2' 1762s # deleting 'not_exists2' 1762s # deleting 'not_exists3' 1762s # deleting 'not_exists4' 1762s ok 11 /live-g-file/final_clean 1762s # Start of test_unix_is_mountpoint tests 1762s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1762s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1762s # End of test_unix_is_mountpoint tests 1762s # End of live-g-file tests 1762s ok - glib/live-g-file.test 1762s # Running test: glib/cxx-14.test 1762s TAP version 13 1762s # random seed: R02S7ca0bf03265426c3219baee9ef211701 1762s 1..2 1762s # Start of gtask tests 1762s # 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. 1762s ok 1 /gtask/name 1762s # Start of name tests 1762s # 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. 1762s ok 2 /gtask/name/macro-wrapper 1762s # End of name tests 1762s # End of gtask tests 1762s ok - glib/cxx-14.test 1762s # Running test: glib/gsubprocess.test 1762s TAP version 13 1762s # random seed: R02S7ea46e1f1599d67482645647bcc09714 1762s 1..83 1762s # Start of gsubprocess tests 1762s ok 1 /gsubprocess/noop 1762s ok 2 /gsubprocess/noop-all-to-null 1762s ok 3 /gsubprocess/noop-no-wait 1762s ok 4 /gsubprocess/noop-stdin-inherit 1762s ok 5 /gsubprocess/search-path 1762s ok 6 /gsubprocess/search-path-from-envp 1763s # Executing: glib/gsubprocess.test 1766s ok 7 /gsubprocess/signal 1766s # slow test /gsubprocess/signal executed in 3.21 secs 1766s ok 8 /gsubprocess/exit1 1766s ok 9 /gsubprocess/echo1 1766s ok 10 /gsubprocess/echo-merged 1766s ok 11 /gsubprocess/cat-utf8 1767s ok 12 /gsubprocess/cat-eof 1767s # slow test /gsubprocess/cat-eof executed in 1.01 secs 1768s # Executing: glib/gsubprocess.test 1770s ok 13 /gsubprocess/multi1 1770s # slow test /gsubprocess/multi1 executed in 3.03 secs 1770s ok 14 /gsubprocess/communicate 1773s # Executing: glib/gsubprocess.test 1773s ok 15 /gsubprocess/terminate 1773s # slow test /gsubprocess/terminate executed in 2.90 secs 1773s ok 16 /gsubprocess/env 1773s ok 17 /gsubprocess/cwd 1773s ok 18 /gsubprocess/launcher-close 1773s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1773s ok 19 /gsubprocess/stdout-file 1773s ok 20 /gsubprocess/stdout-fd 1773s ok 21 /gsubprocess/child-setup 1773s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1773s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1773s ok 22 /gsubprocess/launcher-environment 1773s # Start of exit1 tests 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1773s ok 23 /gsubprocess/exit1/cancel 1773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1773s ok 24 /gsubprocess/exit1/cancel_in_cb 1773s # End of exit1 tests 1773s # Start of communicate tests 1773s ok 25 /gsubprocess/communicate/cancelled 1773s ok 26 /gsubprocess/communicate/async 1773s ok 27 /gsubprocess/communicate/utf8 1773s # hello world 1773s ok 28 /gsubprocess/communicate/no-pipes 1773s ok 29 /gsubprocess/communicate/separate-stderr 1773s ok 30 /gsubprocess/communicate/stdout-only 1773s # hello world 1773s ok 31 /gsubprocess/communicate/stderr-only 1773s ok 32 /gsubprocess/communicate/stdout-silence 1773s ok 33 /gsubprocess/communicate/nothing 1773s # Start of async tests 1773s ok 34 /gsubprocess/communicate/async/cancelled 1773s # hello world 1773s ok 35 /gsubprocess/communicate/async/no-pipes 1773s ok 36 /gsubprocess/communicate/async/separate-stderr 1773s ok 37 /gsubprocess/communicate/async/stdout-only 1773s # hello world 1773s ok 38 /gsubprocess/communicate/async/stderr-only 1773s ok 39 /gsubprocess/communicate/async/stdout-silence 1773s # Start of cancelled tests 1773s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1773s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1773s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1773s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1773s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1773s # End of cancelled tests 1773s # End of async tests 1773s # Start of utf8 tests 1773s ok 45 /gsubprocess/communicate/utf8/cancelled 1773s ok 46 /gsubprocess/communicate/utf8/async 1773s # hello world 1773s ok 47 /gsubprocess/communicate/utf8/no-pipes 1773s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1773s ok 49 /gsubprocess/communicate/utf8/stdout-only 1773s # hello world 1773s ok 50 /gsubprocess/communicate/utf8/stderr-only 1773s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1773s ok 52 /gsubprocess/communicate/utf8/invalid 1773s # Start of async tests 1773s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1773s # hello world 1773s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1773s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1773s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1773s # hello world 1773s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1773s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1773s ok 59 /gsubprocess/communicate/utf8/async/invalid 1773s # Start of cancelled tests 1773s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1773s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1773s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1773s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1773s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1773s # End of cancelled tests 1773s # End of async tests 1773s # Start of cancelled tests 1773s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1773s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1773s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1773s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1773s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1773s # End of cancelled tests 1773s # End of utf8 tests 1773s # Start of cancelled tests 1773s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1773s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1773s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1773s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1773s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1773s # End of cancelled tests 1773s # End of communicate tests 1773s # Start of env tests 1773s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1773s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1773s ok 75 /gsubprocess/env/inherit 1773s # End of env tests 1773s # Start of pass-fd tests 1773s ok 76 /gsubprocess/pass-fd/basic 1773s ok 77 /gsubprocess/pass-fd/empty-child-setup 1773s ok 78 /gsubprocess/pass-fd/inherit-fds 1773s # End of pass-fd tests 1773s # Start of fd-conflation tests 1773s ok 79 /gsubprocess/fd-conflation/basic 1773s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1773s ok 81 /gsubprocess/fd-conflation/inherit-fds 1773s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1773s # End of fd-conflation tests 1773s # Start of exit-status tests 1773s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1773s ok 83 /gsubprocess/exit-status/trapped 1773s # End of exit-status tests 1773s # End of gsubprocess tests 1773s ok - glib/gsubprocess.test 1773s # Running test: glib/binding.test 1774s TAP version 13 1774s # random seed: R02S5e9e360d01f4bc090f614db4d4390162 1774s 1..19 1774s # Start of binding tests 1774s ok 1 /binding/default 1774s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1774s ok 2 /binding/canonicalisation 1774s ok 3 /binding/bidirectional 1774s ok 4 /binding/transform 1774s ok 5 /binding/transform-default 1774s ok 6 /binding/transform-closure 1774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1774s ok 7 /binding/chain 1774s ok 8 /binding/sync-create 1774s ok 9 /binding/invert-boolean 1774s ok 10 /binding/same-object 1774s ok 11 /binding/unbind 1774s ok 12 /binding/unbind-weak 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1774s ok 13 /binding/unbind-multiple 1774s ok 14 /binding/fail 1774s ok 15 /binding/interface 1774s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1774s ok 16 /binding/concurrent-unbind 1774s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1774s ok 17 /binding/concurrent-finalizing 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1774s ok 18 /binding/dispose-source 1774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1774s ok 19 /binding/dispose-target 1774s # End of binding tests 1774s ok - glib/binding.test 1774s # Running test: glib/simple-proxy.test 1774s TAP version 13 1774s # random seed: R02S616e0f3b5fad5ca9625343a770ff580c 1774s 1..3 1774s # Start of static-proxy tests 1774s ok 1 /static-proxy/uri 1774s ok 2 /static-proxy/socks 1774s ok 3 /static-proxy/ignore 1774s # End of static-proxy tests 1774s ok - glib/simple-proxy.test 1774s # Running test: glib/gdbus-auth.test 1774s TAP version 13 1774s # random seed: R02S892bfe113dcccaca588b52077f68de30 1774s 1..5 1774s # Start of gdbus tests 1774s # Start of auth tests 1774s # Start of client tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1774s ok 1 /gdbus/auth/client/EXTERNAL 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1774s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1774s # End of client tests 1774s # Start of server tests 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1774s ok 3 /gdbus/auth/server/ANONYMOUS 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1774s ok 4 /gdbus/auth/server/EXTERNAL 1774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_M9UGK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1774s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1774s # End of server tests 1774s # End of auth tests 1774s # End of gdbus tests 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1774s ok - glib/gdbus-auth.test 1774s # Running test: glib/autoptr.test 1774s TAP version 13 1774s # random seed: R02S53649cfbd472f35056e066fb54966b34 1774s 1..6 1774s # Start of autoptr tests 1774s ok 1 /autoptr/autoptr 1774s ok 2 /autoptr/autoptr_steal 1774s ok 3 /autoptr/autolist 1774s ok 4 /autoptr/autoslist 1774s ok 5 /autoptr/autoqueue 1774s ok 6 /autoptr/autoclass 1774s # End of autoptr tests 1774s ok - glib/autoptr.test 1774s # Running test: glib/thread-pool-slow.test 1774s TAP version 13 1774s # random seed: R02Sc0fb3c4fb93bce6194fa1949d1f53763 1774s 1..7 1774s # Start of threadpool tests 1774s ok 1 /threadpool/functions 1774s ok 2 /threadpool/stop-unused 1774s # slow test /threadpool/stop-unused executed in 0.55 secs 1774s ok 3 /threadpool/pools 1774s # [unsorted] ===> pushed new thread with id:64, number of threads:1, unprocessed:0 1774s # [unsorted] ===> pushed new thread with id:15, number of threads:2, unprocessed:1 1774s # [unsorted] ===> pushed new thread with id:86, number of threads:3, unprocessed:2 1774s # [unsorted] ===> pushed new thread with id:20, number of threads:4, unprocessed:3 1774s # [unsorted] ===> pushed new thread with id:34, number of threads:5, unprocessed:4 1774s # [unsorted] ===> pushed new thread with id:98, number of threads:6, unprocessed:5 1774s # [unsorted] ===> pushed new thread with id:25, number of threads:7, unprocessed:6 1774s # [unsorted] ===> pushed new thread with id:88, number of threads:8, unprocessed:7 1774s # [unsorted] ===> pushed new thread with id:82, number of threads:9, unprocessed:8 1774s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:9 1774s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:10 1774s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:11 1774s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:12 1774s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:13 1774s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:14 1774s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:15 1774s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:16 1774s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:17 1774s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:18 1774s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:19 1774s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:20 1774s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:21 1774s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:22 1774s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:23 1774s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:24 1774s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:25 1774s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:26 1774s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:27 1774s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:28 1774s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:29 1774s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:30 1774s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:31 1774s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:32 1774s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:33 1774s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:34 1774s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:35 1774s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:36 1774s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:37 1774s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:38 1774s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:39 1774s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:40 1774s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:41 1774s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:42 1774s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:43 1774s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:44 1774s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:45 1774s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:46 1774s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:47 1774s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:48 1774s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:49 1774s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:50 1774s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:51 1774s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:52 1774s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:53 1774s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:54 1774s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:55 1774s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:56 1774s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:57 1774s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:58 1774s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:59 1774s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:60 1774s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:61 1774s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:62 1774s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:63 1774s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:64 1774s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:65 1774s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:66 1774s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:67 1774s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:68 1774s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:69 1774s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:70 1774s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:71 1774s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:72 1774s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:73 1774s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:74 1774s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:75 1774s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:76 1774s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:77 1774s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:78 1774s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:79 1774s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:80 1774s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:81 1774s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:82 1774s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:83 1774s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:84 1774s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:85 1774s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:86 1774s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:87 1774s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:88 1774s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:89 1774s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:90 1774s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:91 1774s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:92 1774s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:93 1774s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:94 1774s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:95 1774s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:96 1774s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:97 1774s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:98 1774s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:99 1774s ok 4 /threadpool/no-sort 1774s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:1 1774s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:2 1774s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:3 1774s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:4 1774s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:5 1774s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:6 1774s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:7 1774s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:8 1774s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:9 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:10 1774s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:11 1774s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:12 1774s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:13 1774s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:14 1774s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:15 1774s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:16 1774s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:17 1774s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:18 1774s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:19 1774s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:20 1774s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:21 1774s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:22 1774s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:23 1774s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:24 1774s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:25 1774s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:26 1774s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:27 1774s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:28 1774s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:29 1774s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:30 1774s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:31 1774s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:32 1774s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:33 1774s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:34 1774s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:35 1774s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:36 1774s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:37 1774s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:38 1774s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:39 1774s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:40 1774s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:41 1774s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:42 1774s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:43 1774s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:44 1774s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:45 1774s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:46 1774s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:47 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:48 1774s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:49 1774s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:50 1774s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:51 1774s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:52 1774s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:53 1774s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:54 1774s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:55 1774s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:56 1774s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:57 1774s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:58 1774s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:59 1774s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:60 1774s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:61 1774s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:62 1774s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:63 1774s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:64 1774s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:65 1774s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:66 1774s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:67 1774s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:68 1774s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:69 1774s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:70 1774s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:71 1774s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:72 1774s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:73 1774s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:74 1774s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:75 1774s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:76 1774s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:77 1774s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:78 1774s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:79 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:80 1774s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:81 1774s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:82 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:83 1774s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:84 1774s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:85 1774s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:86 1774s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:87 1774s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:88 1774s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:89 1774s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:90 1774s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:91 1774s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:92 1774s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:93 1774s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:94 1774s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:95 1774s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:96 1774s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:97 1774s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:98 1774s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:99 1774s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:100 1774s # Starting thread pool processing 1774s ok 5 /threadpool/sort 1775s ok 6 /threadpool/stop-unused-multiple 1775s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 1775s # Pool idle thread count: 0, unprocessed jobs: 50 1776s # Pool idle thread count: 0, unprocessed jobs: 0 1776s # Pool idle thread count: 0, unprocessed jobs: 0 1776s # Pool idle thread count: 10, unprocessed jobs: 0 1776s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1777s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Executing: glib/thread-pool-slow.test 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1778s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1779s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1780s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1781s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1782s # Pool idle thread count: 10, unprocessed jobs: 0 1783s # Pool idle thread count: 10, unprocessed jobs: 0 1783s # Pool idle thread count: 10, unprocessed jobs: 0 1783s # Executing: glib/thread-pool-slow.test 1783s # Pool idle thread count: 10, unprocessed jobs: 0 1783s # Pool idle thread count: 10, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 0 1784s # Pool idle thread count: 10, unprocessed jobs: 2 1784s # Pool idle thread count: 10, unprocessed jobs: 2 1784s # Pool idle thread count: 8, unprocessed jobs: 0 1784s # Pool idle thread count: 8, unprocessed jobs: 0 1785s # Pool idle thread count: 10, unprocessed jobs: 0 1785s # Pool idle thread count: 10, unprocessed jobs: 0 1785s # Pool idle thread count: 10, unprocessed jobs: 0 1785s # Pool idle thread count: 10, unprocessed jobs: 0 1786s # Pool idle thread count: 10, unprocessed jobs: 0 1786s # Pool idle thread count: 10, unprocessed jobs: 0 1786s # Pool idle thread count: 2, unprocessed jobs: 0 1786s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1787s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Executing: glib/thread-pool-slow.test 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1788s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1789s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1790s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1791s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1792s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Executing: glib/thread-pool-slow.test 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1793s # Pool idle thread count: 2, unprocessed jobs: 0 1794s # Pool idle thread count: 2, unprocessed jobs: 0 1794s # Pool idle thread count: 2, unprocessed jobs: 0 1794s # Pool idle thread count: 2, unprocessed jobs: 0 1794s # Pool idle thread count: 2, unprocessed jobs: 0 1795s ok 7 /threadpool/idle-time 1795s # slow test /threadpool/idle-time executed in 19.54 secs 1795s # End of threadpool tests 1795s ok - glib/thread-pool-slow.test 1795s # Running test: glib/type-flags.test 1795s TAP version 13 1795s # random seed: R02S2115029f65381d60a3d2130b4048966f 1795s 1..4 1795s # Start of type tests 1795s # Start of flags tests 1795s ok 1 /type/flags/interface 1795s ok 2 /type/flags/final 1795s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1795s ok 3 /type/flags/deprecated 1795s # Start of final tests 1795s ok 4 /type/flags/final/instance-check 1795s # End of final tests 1795s # End of flags tests 1795s # End of type tests 1795s ok - glib/type-flags.test 1795s # Running test: glib/gthash.test 1795s TAP version 13 1795s # random seed: R02S1f6f5fd3cf5a9ffa97d2b800d4ab36d9 1795s 1..1 1795s # Start of gthash tests 1795s ok 1 /gthash/build-retrieve 1795s # End of gthash tests 1795s ok - glib/gthash.test 1795s # Running test: glib/io-channel.test 1795s TAP version 13 1795s # random seed: R02Sa20d395f2625a72d0d41c5f5fa8227a1 1795s 1..2 1795s # Start of io-channel tests 1795s # Line one 1795s # 1795s # Line two 1795s # 1795s # Line three 1795s # 1795s # /* Hello */ 1795s # 1795s # \x1234\x567890\x6666 1795s # 1795s # read 62 bytes, wrote 62 bytes 1795s ok 1 /io-channel/read-write 1795s # Start of read-line tests 1795s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1795s ok 2 /io-channel/read-line/embedded-nuls 1795s # End of read-line tests 1795s # End of io-channel tests 1795s ok - glib/io-channel.test 1795s # Running test: glib/stream-rw_all.test 1795s TAP version 13 1795s # random seed: R02Sb00b27da60064484b97848a97b63c327 1795s 1..3 1795s # Start of stream tests 1795s # Start of read_all_async tests 1795s ok 1 /stream/read_all_async/memory 1795s # End of read_all_async tests 1795s # Start of write_all_async tests 1795s ok 2 /stream/write_all_async/memory 1795s # End of write_all_async tests 1795s # Start of read_write_all_async tests 1795s ok 3 /stream/read_write_all_async/pipe 1795s # End of read_write_all_async tests 1795s # End of stream tests 1795s ok - glib/stream-rw_all.test 1795s # Running test: glib/unix-mounts.test 1795s TAP version 13 1795s # random seed: R02S1652d89b0d4abf78436d11bbee73aca7 1795s 1..2 1795s # Start of unix-mounts tests 1795s ok 1 /unix-mounts/is-system-fs-type 1795s ok 2 /unix-mounts/is-system-device-path 1795s # End of unix-mounts tests 1795s ok - glib/unix-mounts.test 1795s # Running test: glib/thumbnail-verification.test 1795s TAP version 13 1795s # random seed: R02S6b28f7c07dc357b2e29983adf8751037 1795s 1..1 1795s # Start of png-thumbs tests 1795s ok 1 /png-thumbs/validity 1795s # End of png-thumbs tests 1795s ok - glib/thumbnail-verification.test 1795s # Running test: glib/autoptr-girepository.test 1795s TAP version 13 1795s # random seed: R02Sd22a81025f9f3ad2a2715a60f85d6703 1795s 1..24 1795s # Start of autoptr tests 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/repository/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 1 /autoptr/repository 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/typelib/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 2 /autoptr/typelib 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/base-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 3 /autoptr/base-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/arg-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 4 /autoptr/arg-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callable-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 5 /autoptr/callable-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/callback-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 6 /autoptr/callback-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/constant-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 7 /autoptr/constant-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/enum-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 8 /autoptr/enum-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/field-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 9 /autoptr/field-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/flags-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 10 /autoptr/flags-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/function-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 11 /autoptr/function-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/interface-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 12 /autoptr/interface-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/object-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 13 /autoptr/object-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/property-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 14 /autoptr/property-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/registered-type-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 15 /autoptr/registered-type-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/signal-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 16 /autoptr/signal-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/struct-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 17 /autoptr/struct-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/type-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 18 /autoptr/type-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/union-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 19 /autoptr/union-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/value-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 20 /autoptr/value-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/autoptr/vfunc-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 21 /autoptr/vfunc-info 1795s # End of autoptr tests 1795s # Start of auto tests 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/auto/arg-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 22 /auto/arg-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/auto/type-info/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 23 /auto/type-info 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Y7PGK2/auto/function-invoker/.dirs/runtime 1795s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1795s ok 24 /auto/function-invoker 1795s # End of auto tests 1795s ok - glib/autoptr-girepository.test 1795s # Running test: glib/utils-c-11.test 1795s TAP version 13 1795s # random seed: R02S657d66bbb8efd44acf170cd2de5c95a2 1795s 1..40 1795s # Start of utils tests 1795s ok 1 /utils/language-names 1795s ok 2 /utils/locale-variants 1795s ok 3 /utils/version 1795s ok 4 /utils/appname 1795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1795s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1795s ok 5 /utils/prgname-thread-safety 1795s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1795s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1795s ok 6 /utils/tmpdir 1795s ok 7 /utils/basic_bits 1795s ok 8 /utils/bits 1795s ok 9 /utils/swap 1795s ok 10 /utils/find-program 1795s ok 11 /utils/find-program-for-path 1795s ok 12 /utils/debug 1795s ok 13 /utils/codeset 1795s ok 14 /utils/codeset2 1795s ok 15 /utils/console-charset 1795s ok 16 /utils/gettext 1795s ok 17 /utils/username 1795s ok 18 /utils/realname 1795s ok 19 /utils/hostname 1795s ok 20 /utils/xdgdirs 1795s ok 21 /utils/specialdir 1795s # NAME: Ubuntu 1795s ok 22 /utils/os-info 1795s ok 23 /utils/clear-pointer 1795s ok 24 /utils/clear-pointer-cast 1795s ok 25 /utils/take-pointer 1795s ok 26 /utils/clear-source 1795s ok 27 /utils/misc-mem 1795s # /utils/aligned-mem summary: Aligned memory allocator 1795s # Alignment must not be zero 1795s # Alignment must be a power of two 1795s # Alignment must be a multiple of sizeof(void*) 1795s ok 28 /utils/aligned-mem 1795s # /utils/free-sized summary: Check that g_free_sized() works 1795s ok 29 /utils/free-sized 1795s ok 30 /utils/nullify 1795s ok 31 /utils/atexit 1795s ok 32 /utils/check-setuid 1795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1795s ok 33 /utils/int-limits 1795s ok 34 /utils/clear-list 1795s ok 35 /utils/clear-slist 1795s # Start of specialdir tests 1795s ok 36 /utils/specialdir/desktop 1795s # End of specialdir tests 1795s # Start of clear-pointer tests 1795s ok 37 /utils/clear-pointer/side-effects 1795s # End of clear-pointer tests 1795s # Start of aligned-mem tests 1795s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1795s ok 38 /utils/aligned-mem/alignment 1795s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1795s ok 39 /utils/aligned-mem/zeroed 1795s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1795s ok 40 /utils/aligned-mem/free-sized 1795s # Start of subprocess tests 1795s # End of subprocess tests 1795s # End of aligned-mem tests 1795s # End of utils tests 1795s ok - glib/utils-c-11.test 1795s # Running test: glib/portal-support-flatpak-none.test 1795s TAP version 13 1795s # random seed: R02S92d928e51bf3f7a23454b3dba95d3a6e 1795s 1..1 1795s # Start of portal-support tests 1795s # Start of flatpak tests 1795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/home 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/cache 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/system-config2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/config 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/system-data2 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/data 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/state 1795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/runtime 1795s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_5IA9J2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1795s ok 1 /portal-support/flatpak/none 1795s # End of flatpak tests 1795s # End of portal-support tests 1795s ok - glib/portal-support-flatpak-none.test 1795s # Running test: glib/gnotification.test 1795s TAP version 13 1795s # random seed: R02Sae24551b3db4de75f1dad8edc4ef719f 1795s 1..2 1795s # Start of gnotification tests 1795s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1795s ok 1 /gnotification/basic 1795s ok 2 /gnotification/properties 1795s # End of gnotification tests 1795s ok - glib/gnotification.test 1795s cleaning up pid 14654 1795s # Running test: glib/macros-c-17.test 1795s TAP version 13 1795s # random seed: R02Sef416dae56687d9978438de37870f60f 1795s 1..4 1795s # Start of C tests 1795s ok 1 /C/standard-17 1795s # End of C tests 1795s # Start of alignof tests 1795s ok 2 /alignof/fallback 1795s # End of alignof tests 1795s # Start of assert tests 1795s ok 3 /assert/static 1795s # End of assert tests 1795s # Start of struct tests 1795s ok 4 /struct/sizeof_member 1795s # End of struct tests 1795s ok - glib/macros-c-17.test 1795s # Running test: glib/macros-c-90.test 1795s TAP version 13 1795s # random seed: R02Sb1b281e08ade4192e53312b01e03f717 1795s 1..4 1795s # Start of C tests 1795s ok 1 /C/standard-90 1795s # End of C tests 1795s # Start of alignof tests 1795s ok 2 /alignof/fallback 1795s # End of alignof tests 1795s # Start of assert tests 1795s ok 3 /assert/static 1795s # End of assert tests 1795s # Start of struct tests 1795s ok 4 /struct/sizeof_member 1795s # End of struct tests 1795s ok - glib/macros-c-90.test 1795s # Running test: glib/overflow.test 1795s TAP version 13 1795s # random seed: R02S258382445ed5700c71ab6bb594e46788 1795s 1..6 1795s # Start of glib tests 1795s # Start of checked-math tests 1795s ok 1 /glib/checked-math/guint-add 1795s ok 2 /glib/checked-math/guint-mul 1795s ok 3 /glib/checked-math/guint64-add 1795s ok 4 /glib/checked-math/guint64-mul 1795s ok 5 /glib/checked-math/gsize-add 1795s ok 6 /glib/checked-math/gsize-mul 1795s # End of checked-math tests 1795s # End of glib tests 1795s ok - glib/overflow.test 1795s # Running test: glib/gmenumodel.test 1795s TAP version 13 1795s # random seed: R02S432e87c632c3d339aaecbf183f02de64 1795s 1..14 1795s # Start of gmenu tests 1797s ok 1 /gmenu/equality 1797s # slow test /gmenu/equality executed in 2.21 secs 1798s # Executing: glib/gmenumodel.test 1800s ok 2 /gmenu/random 1800s # slow test /gmenu/random executed in 2.49 secs 1800s ok 3 /gmenu/attributes 1800s ok 4 /gmenu/links 1800s ok 5 /gmenu/mutable 1800s ok 6 /gmenu/convenience 1800s ok 7 /gmenu/menuitem 1800s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1800s ok 8 /gmenu/input-validation 1800s # Start of dbus tests 1800s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1801s ok 9 /gmenu/dbus/roundtrip 1801s # slow test /gmenu/dbus/roundtrip executed in 1.17 secs 1801s ok 10 /gmenu/dbus/subscriptions 1803s # Executing: glib/gmenumodel.test 1806s ok 11 /gmenu/dbus/threaded 1806s # slow test /gmenu/dbus/threaded executed in 4.57 secs 1806s # Start of peer tests 1807s ok 12 /gmenu/dbus/peer/roundtrip 1807s # slow test /gmenu/dbus/peer/roundtrip executed in 1.10 secs 1807s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1807s # End of peer tests 1807s # End of dbus tests 1807s # Start of attributes tests 1807s ok 14 /gmenu/attributes/iterate 1807s # End of attributes tests 1807s # End of gmenu tests 1807s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1807s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1807s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1807s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1807s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1807s ok - glib/gmenumodel.test 1807s # Running test: glib/contenttype.test 1807s TAP version 13 1807s # random seed: R02S8cf317487fe4d5e23ae8e28d82562457 1807s 1..13 1807s # Start of contenttype tests 1807s ok 1 /contenttype/guess 1807s ok 2 /contenttype/guess_svg_from_data 1807s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1807s ok 4 /contenttype/unknown 1807s ok 5 /contenttype/subtype 1807s ok 6 /contenttype/list 1807s ok 7 /contenttype/executable 1807s ok 8 /contenttype/description 1807s ok 9 /contenttype/icon 1807s ok 10 /contenttype/symbolic-icon 1807s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1807s ok 11 /contenttype/tree 1807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1807s ok 12 /contenttype/tree_invalid_encoding 1807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1807s ok 13 /contenttype/test_type_is_a_special_case 1807s # End of contenttype tests 1807s ok - glib/contenttype.test 1807s # Running test: glib/objects-refcount2.test 1807s TAP version 13 1807s # random seed: R02S5c270dd6757da932db8ab10881e4a51a 1807s 1..1 1807s # Start of gobject tests 1807s # Start of refcount tests 1807s # init 0xb92aa2fa6740 1807s # 1807s # . 1807s # . 1807s # . 1807s # . 1807s # . 1807s # . 1807s # . 1807s # . 1807s # . 1807s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # Executing: glib/objects-refcount2.test 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1808s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1809s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1810s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1811s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1812s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # Executing: glib/objects-refcount2.test 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1813s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1814s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1815s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1816s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1817s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # Executing: glib/objects-refcount2.test 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1818s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1819s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1820s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1821s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1822s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # Executing: glib/objects-refcount2.test 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1823s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1824s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1825s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1826s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1827s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # Executing: glib/objects-refcount2.test 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1828s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1829s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1830s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1831s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1832s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # Executing: glib/objects-refcount2.test 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # . 1833s # dispose 0xb92aa2fa6740! 1833s # 1833s ok 1 /gobject/refcount/object-advanced 1833s # slow test /gobject/refcount/object-advanced executed in 25.85 secs 1833s # End of refcount tests 1833s # End of gobject tests 1833s ok - glib/objects-refcount2.test 1833s # Running test: glib/memory-input-stream.test 1833s TAP version 13 1833s # random seed: R02S293a033c55941939795c3f234286059c 1833s 1..6 1833s # Start of memory-input-stream tests 1833s ok 1 /memory-input-stream/read-chunks 1833s ok 2 /memory-input-stream/async 1833s ok 3 /memory-input-stream/seek 1833s ok 4 /memory-input-stream/truncate 1833s ok 5 /memory-input-stream/read-bytes 1833s ok 6 /memory-input-stream/from-bytes 1833s # End of memory-input-stream tests 1833s ok - glib/memory-input-stream.test 1833s # Running test: glib/performance-threaded.test 1833s Running test "liststore-is-a" 1834s 3877 runs, min/avg/max = 0.252/0.257/0.593 ms 1834s Running test "liststore-interface-peek" 1837s 6597 runs, min/avg/max = 0.148/0.151/0.521 ms 1837s Running test "liststore-interface-peek-same" 1837s 6572 runs, min/avg/max = 0.148/0.152/0.362 ms 1837s ok - glib/performance-threaded.test 1837s # Running test: glib/utf8-performance.test 1837s TAP version 13 1837s # random seed: R02S0799873f940b474ae4ba0eafefeed82f 1837s 1..36 1837s # Start of utf8 tests 1837s # Start of perf tests 1837s # Start of get_char tests 1837s # max perf: 21.5 MB/s 1837s ok 1 /utf8/perf/get_char/ascii 1837s # max perf: 67.0 MB/s 1837s ok 2 /utf8/perf/get_char/latin1 1837s # max perf: 160.0 MB/s 1837s ok 3 /utf8/perf/get_char/cyrillic 1837s # max perf: 156.0 MB/s 1837s ok 4 /utf8/perf/get_char/han 1837s # End of get_char tests 1837s # Start of get_char-backwards tests 1837s # max perf: 43.0 MB/s 1837s ok 5 /utf8/perf/get_char-backwards/ascii 1837s # max perf: inf MB/s 1837s ok 6 /utf8/perf/get_char-backwards/latin1 1837s # max perf: 80.0 MB/s 1837s ok 7 /utf8/perf/get_char-backwards/cyrillic 1837s # max perf: 156.0 MB/s 1837s ok 8 /utf8/perf/get_char-backwards/han 1837s # End of get_char-backwards tests 1837s # Start of get_char_validated tests 1837s # max perf: 43.0 MB/s 1837s ok 9 /utf8/perf/get_char_validated/ascii 1837s # max perf: 67.0 MB/s 1837s ok 10 /utf8/perf/get_char_validated/latin1 1837s # max perf: 160.0 MB/s 1837s ok 11 /utf8/perf/get_char_validated/cyrillic 1837s # max perf: 156.0 MB/s 1837s ok 12 /utf8/perf/get_char_validated/han 1837s # End of get_char_validated tests 1837s # Start of utf8_to_ucs4 tests 1837s # max perf: 21.5 MB/s 1837s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1837s # max perf: 67.0 MB/s 1837s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1837s # max perf: 53.3 MB/s 1837s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1837s # max perf: 78.0 MB/s 1837s ok 16 /utf8/perf/utf8_to_ucs4/han 1837s # End of utf8_to_ucs4 tests 1837s # Start of utf8_to_ucs4-sized tests 1837s # max perf: 43.0 MB/s 1837s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1837s # max perf: 33.5 MB/s 1837s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1837s # max perf: 80.0 MB/s 1837s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1837s # max perf: 78.0 MB/s 1837s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1837s # End of utf8_to_ucs4-sized tests 1837s # Start of utf8_to_ucs4_fast tests 1837s # max perf: 21.5 MB/s 1837s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1837s # max perf: 67.0 MB/s 1837s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1837s # max perf: 160.0 MB/s 1837s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1837s # max perf: 156.0 MB/s 1837s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1837s # End of utf8_to_ucs4_fast tests 1837s # Start of utf8_to_ucs4_fast-sized tests 1837s # max perf: 43.0 MB/s 1837s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1837s # max perf: 67.0 MB/s 1837s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1837s # max perf: 160.0 MB/s 1837s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1837s # max perf: 156.0 MB/s 1837s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1837s # End of utf8_to_ucs4_fast-sized tests 1837s # Start of utf8_validate tests 1837s # max perf: 43.0 MB/s 1837s ok 29 /utf8/perf/utf8_validate/ascii 1837s # max perf: 67.0 MB/s 1837s ok 30 /utf8/perf/utf8_validate/latin1 1837s # max perf: inf MB/s 1837s ok 31 /utf8/perf/utf8_validate/cyrillic 1837s # max perf: inf MB/s 1837s ok 32 /utf8/perf/utf8_validate/han 1837s # End of utf8_validate tests 1837s # Start of utf8_validate-sized tests 1837s # max perf: 43.0 MB/s 1837s ok 33 /utf8/perf/utf8_validate-sized/ascii 1837s # max perf: inf MB/s 1837s ok 34 /utf8/perf/utf8_validate-sized/latin1 1837s # max perf: 160.0 MB/s 1837s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1837s # max perf: inf MB/s 1837s ok 36 /utf8/perf/utf8_validate-sized/han 1837s # End of utf8_validate-sized tests 1837s # End of perf tests 1837s # End of utf8 tests 1837s ok - glib/utf8-performance.test 1837s # Running test: glib/timer.test 1837s TAP version 13 1837s # random seed: R02Sb75f6fd9d94e160c6017fe19c10f74a5 1837s 1..10 1837s # Start of timer tests 1837s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1837s ok 2 /timer/stop 1837s ok 3 /timer/continue 1837s ok 4 /timer/reset 1837s ok 5 /timer/is_active 1837s # End of timer tests 1837s # Start of timeval tests 1837s ok 6 /timeval/add 1837s ok 7 /timeval/from-iso8601 1837s ok 8 /timeval/to-iso8601 1837s # Start of to-iso8601 tests 1837s ok 9 /timeval/to-iso8601/overflow 1837s # End of to-iso8601 tests 1837s # End of timeval tests 1837s # Start of usleep tests 1837s ok 10 /usleep/with-zero-wait 1837s # End of usleep tests 1837s ok - glib/timer.test 1837s # Running test: glib/spawn-multithreaded.test 1837s TAP version 13 1837s # random seed: R02Sf3004b101cc5400930185c691b8e84a0 1837s 1..4 1837s # Start of gthread tests 1837s # Child 14712 (ttl 1) exited, status 0 1838s # Executing: glib/spawn-multithreaded.test 1838s # Child 14713 (ttl 2) exited, status 0 1838s ok 1 /gthread/spawn-childs 1838s # slow test /gthread/spawn-childs executed in 2.01 secs 1838s # Created pid: 14718 (ttl 2) 1838s # Created pid: 14717 (ttl 1) 1839s # Child 14717 (ttl 1) exited, status 0 1840s # Child 14718 (ttl 2) exited, status 0 1840s ok 2 /gthread/spawn-childs-threads 1840s # slow test /gthread/spawn-childs-threads executed in 2.01 secs 1840s ok 3 /gthread/spawn-sync 1840s ok 4 /gthread/spawn-async 1840s # End of gthread tests 1840s ok - glib/spawn-multithreaded.test 1840s # Running test: glib/messages-low-memory.py.test 1840s TAP version 13 1840s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1840s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1840s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1840s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1840s # Return code: -6 1840s # Output: 1840s # Error: GLib-Message: 15:24:01.925: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1840s # GLib-Message: 15:24:01.926: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1840s # ../../../glib/gprintf.c:350: failed to allocate memory 1840s 1..1 1840s ok - glib/messages-low-memory.py.test 1840s # Running test: glib/resources.test 1841s TAP version 13 1841s # random seed: R02Sd349901ed9e2a3c95b42379d49500cb0 1841s 1..17 1841s # Start of resource tests 1841s ok 1 /resource/file 1841s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1841s ok 2 /resource/file-path 1841s ok 3 /resource/data 1841s ok 4 /resource/data_unaligned 1841s ok 5 /resource/data-corrupt 1841s ok 6 /resource/data-empty 1841s ok 7 /resource/registered 1841s ok 8 /resource/manual 1841s ok 9 /resource/manual2 1841s ok 10 /resource/automatic 1841s ok 11 /resource/module 1841s ok 12 /resource/binary-linked 1841s ok 13 /resource/64k 1841s GLib-GIO-Message: 15:24:02.004: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1841s ok 14 /resource/overlay 1841s ok 15 /resource/digits 1841s # Start of uri tests 1841s ok 16 /resource/uri/query-info 1841s ok 17 /resource/uri/file 1841s # End of uri tests 1841s # End of resource tests 1841s ok - glib/resources.test 1841s # Running test: glib/vfs.test 1841s TAP version 13 1841s # random seed: R02S77d4841fe1078aca45bd5cccb57eaa78 1841s 1..3 1841s # Start of gvfs tests 1841s ok 1 /gvfs/local 1841s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1841s ok 2 /gvfs/register-scheme 1841s # Start of resource tests 1841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1841s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1841s ok 3 /gvfs/resource/malformed-escaping 1841s # End of resource tests 1841s # End of gvfs tests 1841s ok - glib/vfs.test 1841s # Running test: glib/module-test-plugin.test 1841s TAP version 13 1841s # random seed: R02Sd251dadd5fec6e6a02aa3bca0c58a0a6 1841s 1..2 1841s # Start of module tests 1841s ok 1 /module/basics 1841s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1841s ok 2 /module/invalid-libtool-archive 1841s # End of module tests 1841s ok - glib/module-test-plugin.test 1841s # Running test: glib/relation.test 1841s TAP version 13 1841s # random seed: R02S0feda57a7867dce5cd41c3dff80e4a4a 1841s 1..1 1841s # Start of glib tests 1841s ok 1 /glib/relation 1841s # End of glib tests 1841s ok - glib/relation.test 1841s # Running test: glib/rwlock.test 1841s TAP version 13 1841s # random seed: R02S552d6988e716cb7eb45cb67ddc49683a 1841s 1..8 1841s # Start of thread tests 1841s ok 1 /thread/rwlock1 1841s ok 2 /thread/rwlock2 1841s ok 3 /thread/rwlock3 1841s ok 4 /thread/rwlock4 1841s ok 5 /thread/rwlock5 1841s ok 6 /thread/rwlock6 1843s # Executing: glib/rwlock.test 1848s # Executing: glib/rwlock.test 1853s # Executing: glib/rwlock.test 1858s # Executing: glib/rwlock.test 1863s # Executing: glib/rwlock.test 1868s # Executing: glib/rwlock.test 1873s # Executing: glib/rwlock.test 1878s # Executing: glib/rwlock.test 1881s ok 7 /thread/rwlock7 1881s # slow test /thread/rwlock7 executed in 40.28 secs 1881s ok 8 /thread/rwlock8 1881s # End of thread tests 1881s ok - glib/rwlock.test 1881s # Running test: glib/fileattributematcher.test 1881s TAP version 13 1881s # random seed: R02S61a85fcf43ca163b6733e01fb8827f76 1881s 1..3 1881s # Start of fileattributematcher tests 1881s ok 1 /fileattributematcher/exact 1881s ok 2 /fileattributematcher/equality 1881s ok 3 /fileattributematcher/subtract 1881s # End of fileattributematcher tests 1881s ok - glib/fileattributematcher.test 1881s # Running test: glib/portal-support-none.test 1881s TAP version 13 1881s # random seed: R02S24de9e51b142bb69efc4b3115c712907 1881s 1..1 1881s # Start of portal-support tests 1881s ok 1 /portal-support/none 1881s # End of portal-support tests 1881s ok - glib/portal-support-none.test 1881s # Running test: glib/objects-refcount1.test 1881s TAP version 13 1881s # random seed: R02Sc1881e610a91abae475e5dddbba54754 1881s 1..1 1881s # Start of gobject tests 1881s # Start of refcount tests 1881s # init 0xc76dbc47b740 1881s # 1881s # init 0xc76dbc47b8d0 1881s # 1883s # Executing: glib/objects-refcount1.test 1886s # dispose 0xc76dbc47b740! 1886s # 1886s # dispose 0xc76dbc47b8d0! 1886s # 1886s ok 1 /gobject/refcount/object-basics 1886s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1886s # End of refcount tests 1886s # End of gobject tests 1886s ok - glib/objects-refcount1.test 1886s # Running test: glib/completion.test 1886s TAP version 13 1886s # random seed: R02S0524dacf66d85380f0831e039276af8c 1886s 1..1 1886s # Start of completion tests 1886s ok 1 /completion/test-completion 1886s # End of completion tests 1886s ok - glib/completion.test 1886s # Running test: glib/portal-support-flatpak-network-only.test 1886s TAP version 13 1886s # random seed: R02S90409e4ea3c3106e52e89a0e42e02e6c 1886s 1..1 1886s # Start of portal-support tests 1886s # Start of flatpak tests 1886s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/home 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/cache 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/system-config2 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/config 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/system-data2 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/data 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/state 1886s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/runtime 1886s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_FI04J2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1886s ok 1 /portal-support/flatpak/network 1886s # End of flatpak tests 1886s # End of portal-support tests 1886s ok - glib/portal-support-flatpak-network-only.test 1886s # Running test: glib/properties-refcount1.test 1886s TAP version 13 1886s # random seed: R02Sb901e5b659930a4e55ece6a73e5f4e8a 1886s 1..1 1886s # Start of gobject tests 1886s # Start of refcount tests 1886s # .c 1886s # .b 1886s # .f 1886s # .e 1886s # .d 1887s # .c 1887s # .b 1887s # .e 1887s # .f 1887s # .d 1887s # .e 1887s # .c 1887s # .b 1887s # .f 1887s # .d 1887s # .e 1887s # .f 1887s # .b 1887s # .d 1887s # .c 1887s # .e 1887s # .f 1887s # .b 1887s # .d 1887s # .c 1887s # .e 1888s # .f 1888s # .b 1888s # .d 1888s # .c 1888s # Executing: glib/properties-refcount1.test 1888s # .e 1888s # .b 1888s # .f 1888s # .d 1888s # .c 1888s # .e 1888s # .b 1888s # .d 1888s # .f 1888s # .c 1888s # .e 1888s # .b 1888s # .f 1888s # .d 1888s # .c 1888s # .e 1888s # .b 1888s # .f 1889s # .d 1889s # .c 1889s # .e 1889s # .b 1889s # .f 1889s # .c 1889s # .d 1889s # .e 1889s # .b 1889s # .f 1889s # .d 1889s # .c 1889s # .e 1889s # .b 1889s # .d 1889s # .c 1889s # .f 1889s ok 1 /gobject/refcount/properties-1 1889s # slow test /gobject/refcount/properties-1 executed in 3.02 secs 1889s # End of refcount tests 1889s # End of gobject tests 1889s ok - glib/properties-refcount1.test 1889s # Running test: glib/task.test 1889s TAP version 13 1889s # random seed: R02Sc902b1d4d88e868d387fd51456e25ea7 1889s 1..36 1889s # Start of gtask tests 1889s ok 1 /gtask/basic 1889s ok 2 /gtask/error 1889s ok 3 /gtask/error-literal 1889s ok 4 /gtask/error-literal-from-variable 1889s ok 5 /gtask/return-from-same-iteration 1889s ok 6 /gtask/return-from-toplevel 1889s ok 7 /gtask/return-from-anon-thread 1889s ok 8 /gtask/return-from-wrong-thread 1889s ok 9 /gtask/no-callback 1889s ok 10 /gtask/report-error 1889s ok 11 /gtask/priority 1889s ok 12 /gtask/name 1889s ok 13 /gtask/static-name 1889s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1889s ok 14 /gtask/asynchronous-cancellation 1889s ok 15 /gtask/check-cancellable 1889s ok 16 /gtask/return-if-cancelled 1890s ok 17 /gtask/run-in-thread 1890s ok 18 /gtask/run-in-thread-sync 1890s ok 19 /gtask/run-in-thread-priority 1890s ok 20 /gtask/run-in-thread-nested 1890s ok 21 /gtask/run-in-thread-overflow 1890s # slow test /gtask/run-in-thread-overflow executed in 0.53 secs 1890s # GLib-GIO-DEBUG: GTask 0xc18e2977a6e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1890s # GLib-GIO-DEBUG: GTask 0xc18e29779460 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1890s ok 22 /gtask/return-on-cancel 1890s # GLib-GIO-DEBUG: GTask 0xc18e29779a30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1890s # GLib-GIO-DEBUG: GTask 0xc18e2977a220 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1890s ok 23 /gtask/return-on-cancel-sync 1890s ok 24 /gtask/return-on-cancel-atomic 1890s ok 25 /gtask/return-pointer 1890s ok 26 /gtask/return-value 1890s ok 27 /gtask/return-prefixed-error 1890s ok 28 /gtask/object-keepalive 1890s ok 29 /gtask/legacy-error 1890s ok 30 /gtask/finalize-without-return 1890s # Start of name tests 1890s ok 31 /gtask/name/macro-wrapper 1890s # End of name tests 1890s # Start of return tests 1890s ok 32 /gtask/return/error-first 1890s ok 33 /gtask/return/value-first 1890s # Start of in-idle tests 1890s ok 34 /gtask/return/in-idle/error-first 1890s ok 35 /gtask/return/in-idle/value-first 1890s # End of in-idle tests 1890s # End of return tests 1890s # Start of attach-source tests 1890s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1890s ok 36 /gtask/attach-source/set-name 1890s # End of attach-source tests 1890s # End of gtask tests 1890s ok - glib/task.test 1890s # Running test: glib/value.test 1890s TAP version 13 1890s # random seed: R02S96b39a74fc9ba9787e8031a546a3afd7 1890s 1..8 1890s # Start of value tests 1890s ok 1 /value/basic 1890s ok 2 /value/collection 1890s ok 3 /value/copying 1890s ok 4 /value/enum-transformation 1890s ok 5 /value/gtype 1890s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1890s ok 6 /value/string 1890s # Next: GObject object in GValue of GObject to GValue of GObject 1890s # Next: GObject object in GValue of GObject to GValue of TestInterface 1890s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1890s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1890s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1890s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1890s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1890s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1890s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1890s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1890s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1890s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1890s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1890s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1890s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1890s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1890s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1890s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1890s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1890s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1890s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1890s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1890s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1890s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1890s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1890s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1890s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1890s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1890s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1890s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1890s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1890s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1890s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1890s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1890s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1890s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1890s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1890s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1890s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1890s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1890s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1890s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1890s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1890s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1890s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1890s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1890s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1890s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1890s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1890s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1890s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1890s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1890s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1890s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1890s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1890s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1890s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1890s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1890s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1890s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1890s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1890s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1890s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1890s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1890s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1890s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1890s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1890s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1890s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1890s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1890s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1890s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1890s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1890s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1890s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1890s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1890s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1890s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1890s ok 7 /value/transform-object 1890s # Start of array tests 1890s ok 8 /value/array/basic 1890s # End of array tests 1890s # End of value tests 1890s ok - glib/value.test 1890s # Running test: glib/atomic-c-17.test 1890s TAP version 13 1890s # random seed: R02Sd6dc75e5d6379ee61ef2df72dd9eb29a 1890s 1..2 1890s # Start of atomic tests 1890s ok 1 /atomic/types 1891s ok 2 /atomic/threaded 1891s # slow test /atomic/threaded executed in 0.67 secs 1891s # End of atomic tests 1891s ok - glib/atomic-c-17.test 1891s # Running test: glib/socket.test 1891s TAP version 13 1891s # random seed: R02S37ca84157e24a9bd74da412b46706de7 1891s 1..28 1891s # Start of socket tests 1892s ok 1 /socket/ipv4_sync 1892s # slow test /socket/ipv4_sync executed in 1.00 secs 1893s # Executing: glib/socket.test 1893s ok 2 /socket/ipv4_async 1893s # slow test /socket/ipv4_async executed in 1.00 secs 1893s ok 3 /socket/ipv6_sync 1893s ok 4 /socket/ipv6_async 1893s ok 5 /socket/ipv6_v4mapped 1894s ok 6 /socket/close_graceful 1894s # slow test /socket/close_graceful executed in 1.00 secs 1894s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1894s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1894s ok 8 /socket/fd_reuse 1894s ok 9 /socket/address 1894s ok 10 /socket/unix-from-fd 1894s ok 11 /socket/unix-connection 1894s ok 12 /socket/unix-connection-ancillary-data 1894s ok 13 /socket/source-postmortem 1894s ok 14 /socket/read_write 1894s ok 15 /socket/read_writev 1894s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1894s ok 16 /socket/receive_bytes 1894s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1894s ok 17 /socket/receive_bytes_from 1894s # Start of ipv4_sync tests 1894s ok 18 /socket/ipv4_sync/datagram 1894s # Start of datagram tests 1895s ok 19 /socket/ipv4_sync/datagram/timeouts 1895s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1895s # End of datagram tests 1895s # End of ipv4_sync tests 1895s # Start of ipv6_sync tests 1895s ok 20 /socket/ipv6_sync/datagram 1895s # Start of datagram tests 1896s ok 21 /socket/ipv6_sync/datagram/timeouts 1896s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1896s # End of datagram tests 1896s # End of ipv6_sync tests 1896s # Start of reuse tests 1896s ok 22 /socket/reuse/tcp 1896s ok 23 /socket/reuse/udp 1896s # End of reuse tests 1896s # Start of get_available tests 1896s ok 24 /socket/get_available/datagram 1896s ok 25 /socket/get_available/stream 1896s # End of get_available tests 1896s # Start of credentials tests 1896s # Supported on this OS: GCredentials:linux-ucred:pid=0 1896s ok 26 /socket/credentials/tcp_client 1896s # Supported on this OS: GCredentials:linux-ucred:pid=0 1896s ok 27 /socket/credentials/tcp_server 1896s # Supported on this OS: GCredentials:linux-ucred:pid=14931,uid=1000,gid=1000 1896s ok 28 /socket/credentials/unix_socketpair 1896s # End of credentials tests 1896s # End of socket tests 1896s ok - glib/socket.test 1896s # Running test: glib/buffered-input-stream.test 1896s TAP version 13 1896s # random seed: R02S9984f842b3082eec12c2d29abdaddb78 1896s 1..10 1896s # Start of buffered-input-stream tests 1896s ok 1 /buffered-input-stream/peek 1896s ok 2 /buffered-input-stream/peek-buffer 1896s ok 3 /buffered-input-stream/set-buffer-size 1896s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1896s ok 4 /buffered-input-stream/read-byte 1896s ok 5 /buffered-input-stream/read 1896s ok 6 /buffered-input-stream/read-async 1896s ok 7 /buffered-input-stream/skip 1896s ok 8 /buffered-input-stream/skip-async 1896s ok 9 /buffered-input-stream/seek 1896s # End of buffered-input-stream tests 1896s # Start of filter-input-stream tests 1896s ok 10 /filter-input-stream/close 1896s # End of filter-input-stream tests 1896s ok - glib/buffered-input-stream.test 1896s # Running test: glib/gdbus-addresses.test 1896s TAP version 13 1896s # random seed: R02Se8c54e641912e90207491fd06fa24f7f 1896s 1..9 1896s # Start of gdbus tests 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/empty-address/.dirs/runtime 1896s ok 1 /gdbus/empty-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unsupported-address/.dirs/runtime 1896s ok 2 /gdbus/unsupported-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/address-parsing/.dirs/runtime 1896s ok 3 /gdbus/address-parsing 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/unix-address/.dirs/runtime 1896s ok 4 /gdbus/unix-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/nonce-tcp-address/.dirs/runtime 1896s ok 5 /gdbus/nonce-tcp-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/tcp-address/.dirs/runtime 1896s ok 6 /gdbus/tcp-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/autolaunch-address/.dirs/runtime 1896s ok 7 /gdbus/autolaunch-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/mixed-address/.dirs/runtime 1896s ok 8 /gdbus/mixed-address 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_WVBYJ2/gdbus/escape-address/.dirs/runtime 1896s ok 9 /gdbus/escape-address 1896s # End of gdbus tests 1896s ok - glib/gdbus-addresses.test 1896s # Running test: glib/portal-support-snap-classic.test 1896s TAP version 13 1896s # random seed: R02S071eca3268554ccc1d397c556d92b3be 1896s 1..3 1896s # Start of portal-support tests 1896s # Start of snap-classic tests 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/config 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/data 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/state 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1896s ok 1 /portal-support/snap-classic/no-snapctl 1896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/home 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/cache 1896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/system-config2 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/config 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/system-data2 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/data 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/state 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/runtime 1897s # Created snap.yaml in /tmp/test_portal-support-snap-classic_A9YYJ2/meta/snap.yaml 1897s # Created snapctl in /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1897s ok 2 /portal-support/snap-classic/none 1897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/home 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/cache 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/system-config2 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/config 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/system-data2 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/data 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/state 1897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/runtime 1897s # Created snap.yaml in /tmp/test_portal-support-snap-classic_A9YYJ2/meta/snap.yaml 1897s # Created snapctl in /tmp/test_portal-support-snap-classic_A9YYJ2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1897s ok 3 /portal-support/snap-classic/all 1897s # End of snap-classic tests 1897s # End of portal-support tests 1897s ok - glib/portal-support-snap-classic.test 1897s # Running test: glib/io-stream.test 1897s TAP version 13 1897s # random seed: R02S3b94303e7504dd5ba12a1a7d53b41791 1897s 1..3 1897s # Start of io-stream tests 1897s ok 1 /io-stream/copy-chunks 1897s # Start of close tests 1897s # Start of async tests 1897s ok 2 /io-stream/close/async/memory 1897s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1897s ok 3 /io-stream/close/async/file 1897s # End of async tests 1897s # End of close tests 1897s # End of io-stream tests 1897s ok - glib/io-stream.test 1897s # Running test: glib/deprecated-properties.test 1897s TAP version 13 1897s # random seed: R02Sa168ea1a8f6777fa99767fed9ffb137f 1897s 1..3 1897s # Start of deprecated-properties tests 1897s ok 1 /deprecated-properties/construct 1897s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1897s ok 2 /deprecated-properties/default-construct 1897s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1897s ok 3 /deprecated-properties/set 1897s # End of deprecated-properties tests 1897s ok - glib/deprecated-properties.test 1897s # Running test: glib/cxx-2b.test 1897s TAP version 13 1897s # random seed: R02Se2c9464340a6492f6003f30013b3c763 1897s 1..2 1897s # Start of gtask tests 1897s # 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. 1897s ok 1 /gtask/name 1897s # Start of name tests 1897s # 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. 1897s ok 2 /gtask/name/macro-wrapper 1897s # End of name tests 1897s # End of gtask tests 1897s ok - glib/cxx-2b.test 1897s # Running test: glib/credentials.test 1897s TAP version 13 1897s # random seed: R02S4e635bded1c4adae42f859700b6ff656 1897s 1..1 1897s # Start of credentials tests 1897s # GCredentials:linux-ucred:pid=14976,uid=1000,gid=1000 1897s # GCredentials:linux-ucred:pid=14976,uid=0,gid=1000 1897s ok 1 /credentials/basic 1897s # End of credentials tests 1897s ok - glib/credentials.test 1897s # Running test: glib/assert-msg-test.py.test 1897s TAP version 13 1897s ok 1 __main__.TestAssertMessage.test_gassert 1897s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1897s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1897s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1897s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1897s # Error: ** 1897s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1897s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1897s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1897s 1..2 1897s ok - glib/assert-msg-test.py.test 1897s # Running test: glib/portal-support-env-var.test 1897s TAP version 13 1897s # random seed: R02S5ebcd1b684a8de04a5e8f430e80a37bb 1897s 1..1 1897s # Start of portal-support tests 1897s ok 1 /portal-support/env-var 1897s # End of portal-support tests 1897s ok - glib/portal-support-env-var.test 1897s # Running test: glib/basic-signals.test 1897s TAP version 13 1897s # random seed: R02S293539ca2c075448d6c655ad701dc769 1897s 1..1 1897s # Start of gobject tests 1897s ok 1 /gobject/basic-signals 1897s # End of gobject tests 1897s ok - glib/basic-signals.test 1897s # Running test: glib/gio-tool.py.test 1897s TAP version 13 1897s ok 1 __main__.TestGioTool.test_help 1897s # tmpdir: /tmp/tmpxdjw_g5p 1897s # gio: /usr/bin/gio 1897s # Running: ['/usr/bin/gio', '--help'] 1897s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1897s # Output: Usage: 1897s # gio COMMAND [ARGS…] 1897s # 1897s # Commands: 1897s # help Print help 1897s # version Print version 1897s # cat Concatenate files to standard output 1897s # copy Copy one or more files 1897s # info Show information about locations 1897s # launch Launch an application from a desktop file 1897s # list List the contents of locations 1897s # mime Get or set the handler for a mimetype 1897s # mkdir Create directories 1897s # monitor Monitor files and directories for changes 1897s # mount Mount or unmount the locations 1897s # move Move one or more files 1897s # open Open files with the default application 1897s # rename Rename a file 1897s # remove Delete one or more files 1897s # save Read from standard input and save 1897s # set Set a file attribute 1897s # trash Move files or directories to the trash 1897s # tree Lists the contents of locations in a tree 1897s # 1897s # Use “gio help COMMAND” to get detailed help. 1897s # Running: ['/usr/bin/gio', 'help'] 1897s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1897s # Output: Usage: 1897s # gio COMMAND [ARGS…] 1897s # 1897s # Commands: 1897s # help Print help 1897s # version Print version 1897s # cat Concatenate files to standard output 1897s # copy Copy one or more files 1897s # info Show information about locations 1897s # launch Launch an application from a desktop file 1897s # list List the contents of locations 1897s # mime Get or set the handler for a mimetype 1897s # mkdir Create directories 1897s # monitor Monitor files and directories for changes 1897s # mount Mount or unmount the locations 1897s # move Move one or more files 1897s # open Open files with the default application 1897s # rename Rename a file 1897s # remove Delete one or more files 1897s # save Read from standard input and save 1897s # set Set a file attribute 1897s # trash Move files or directories to the trash 1897s # tree Lists the contents of locations in a tree 1897s # 1897s # Use “gio help COMMAND” to get detailed help. 1897s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1897s # tmpdir: /tmp/tmpc3_dltra 1897s # gio: /usr/bin/gio 1897s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpc3_dltra/tmp4h9gqh8_'] 1897s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1897s # Output: uri: file:///tmp/tmpc3_dltra/tmp4h9gqh8_ 1897s # local path: /tmp/tmpc3_dltra/tmp4h9gqh8_ 1897s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1897s # attributes: 1897s # standard::content-type: application/x-zerosize 1897s ok 3 __main__.TestGioTool.test_no_args 1897s # tmpdir: /tmp/tmpj845vfap 1897s # gio: /usr/bin/gio 1897s # Running: ['/usr/bin/gio'] 1897s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Hrw4lbOnOc,guid=e47d00dcb05401534f36a9ce65ec7c21', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.c20Xp8/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.O2XJG9MpWs', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.eFIqe5/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>&1 || true; buildtree="/tmp/autopkgtest.c20Xp8/build.lkm/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.c20Xp8/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.c20Xp8/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; unset LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set +C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd "$buildtree"; export \'ADT_TEST_TRIGGERS=dbus/1.14.10-4ubuntu2 glib2.0/2.79.3-3ubuntu3\'; chmod +x /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests; touch /tmp/autopkgtest.c20Xp8/installed-tests-stdout /tmp/autopkgtest.c20Xp8/installed-tests-stderr; /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.c20Xp8/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.c20Xp8/build.lkm/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.c20Xp8/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1897s 1..3 1897s ok - glib/gio-tool.py.test 1897s # Running test: glib/dbus-appinfo.test 1897s TAP version 13 1897s # random seed: R02S24f8e9c572974cdf0e43c40930aa86f2 1897s 1..3 1897s # Start of appinfo tests 1897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1897s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1897s ok 1 /appinfo/dbusappinfo 1897s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1897s dbus-daemon[14992]: [session uid=1000 pid=14992] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=14991 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1897s # Acquired a message bus connection 1897s dbus-daemon[14992]: [session uid=1000 pid=14992] Successfully activated service 'org.freedesktop.portal.Documents' 1897s # Acquired the name org.freedesktop.portal.Documents 1897s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1897s ok 2 /appinfo/flatpak-doc-export 1897s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1897s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1897s ok 3 /appinfo/flatpak-missing-doc-export 1897s # End of appinfo tests 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1897s # Lost the name org.freedesktop.portal.Documents 1897s ok - glib/dbus-appinfo.test 1897s # Running test: glib/closure.test 1897s TAP version 13 1897s # random seed: R02S0700274e02b2fb61c94b72382c84e458 1897s 1..6 1897s # Start of closure tests 1897s ok 1 /closure/idle 1897s ok 2 /closure/timeout 1897s ok 3 /closure/iochannel 1897s ok 4 /closure/child 1897s ok 5 /closure/fd 1897s ok 6 /closure/signal 1897s # End of closure tests 1897s ok - glib/closure.test 1897s # Running test: glib/enums.test 1897s TAP version 13 1897s # random seed: R02Sc7420a11474048edcaff8d253e9cc250 1897s 1..4 1897s # Start of enum tests 1897s ok 1 /enum/basic 1897s ok 2 /enum/define-type 1897s # End of enum tests 1897s # Start of flags tests 1897s ok 3 /flags/basic 1897s ok 4 /flags/define-type 1897s # End of flags tests 1897s ok - glib/enums.test 1897s # Running test: glib/g-file-info.test 1897s TAP version 13 1897s # random seed: R02Sd1e4021bf28beea0282748ae04065c02 1897s 1..6 1897s # Start of g-file-info tests 1897s ok 1 /g-file-info/test_g_file_info 1897s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1897s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1897s ok 2 /g-file-info/xattrs 1897s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1897s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1897s ok 3 /g-file-info/set-modified-date-time-precision 1897s # Start of test_g_file_info tests 1897s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1897s ok 4 /g-file-info/test_g_file_info/modification-time 1897s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1897s ok 5 /g-file-info/test_g_file_info/access-time 1897s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1897s ok 6 /g-file-info/test_g_file_info/creation-time 1897s # End of test_g_file_info tests 1897s # End of g-file-info tests 1897s ok - glib/g-file-info.test 1897s # Running test: glib/utf8-pointer.test 1897s TAP version 13 1897s # random seed: R02Sa21bba77507617b5004cdf6c789a4569 1897s 1..3 1897s # Start of utf8 tests 1898s # Executing: glib/utf8-pointer.test 1899s ok 1 /utf8/offsets 1899s # slow test /utf8/offsets executed in 1.40 secs 1899s ok 2 /utf8/lengths 1899s ok 3 /utf8/find 1899s # End of utf8 tests 1899s ok - glib/utf8-pointer.test 1899s # Running test: glib/hmac.test 1899s TAP version 13 1899s # random seed: R02Sea37e87b042f398e5b02479c62d282d1 1899s 1..37 1899s # Start of hmac tests 1899s ok 1 /hmac/sha1-1 1899s ok 2 /hmac/sha1-2 1899s ok 3 /hmac/sha1-3 1899s ok 4 /hmac/sha1-4 1899s ok 5 /hmac/sha1-5 1899s ok 6 /hmac/sha1-6 1899s ok 7 /hmac/sha1-7 1899s ok 8 /hmac/sha256-1 1899s ok 9 /hmac/sha256-2 1899s ok 10 /hmac/sha256-3 1899s ok 11 /hmac/sha256-4 1899s ok 12 /hmac/sha256-5 1899s ok 13 /hmac/sha256-6 1899s ok 14 /hmac/sha384-1 1899s ok 15 /hmac/sha384-2 1899s ok 16 /hmac/sha384-3 1899s ok 17 /hmac/sha384-4 1899s ok 18 /hmac/sha384-5 1899s ok 19 /hmac/sha384-6 1899s ok 20 /hmac/sha512-1 1899s ok 21 /hmac/sha512-2 1899s ok 22 /hmac/sha512-3 1899s ok 23 /hmac/sha512-4 1899s ok 24 /hmac/sha512-5 1899s ok 25 /hmac/sha512-6 1899s ok 26 /hmac/md5-1 1899s ok 27 /hmac/md5-2 1899s ok 28 /hmac/md5-3 1899s ok 29 /hmac/md5-4 1899s ok 30 /hmac/md5-5 1899s ok 31 /hmac/md5-6 1899s ok 32 /hmac/md5-7 1899s ok 33 /hmac/ref-unref 1899s ok 34 /hmac/copy 1899s ok 35 /hmac/for-data 1899s ok 36 /hmac/for-string 1899s ok 37 /hmac/for-bytes 1899s # End of hmac tests 1899s ok - glib/hmac.test 1899s # Running test: glib/memory-output-stream.test 1899s TAP version 13 1899s # random seed: R02S5b364e5c58fdf9289db434b17e4c1139 1899s 1..10 1899s # Start of memory-output-stream tests 1899s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1899s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1899s ok 1 /memory-output-stream/truncate 1899s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1899s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1899s ok 2 /memory-output-stream/get-data-size 1899s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1899s ok 3 /memory-output-stream/properties 1899s ok 4 /memory-output-stream/write-bytes 1899s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1899s ok 5 /memory-output-stream/write-null 1899s ok 6 /memory-output-stream/writev 1899s ok 7 /memory-output-stream/writev_nonblocking 1899s ok 8 /memory-output-stream/steal_as_bytes 1899s # Start of seek tests 1899s ok 9 /memory-output-stream/seek/fixed 1899s ok 10 /memory-output-stream/seek/resizable 1899s # End of seek tests 1899s # End of memory-output-stream tests 1899s ok - glib/memory-output-stream.test 1899s # Running test: glib/cxx.test 1899s TAP version 13 1899s # random seed: R02Sfec0ed3f4eb18afa38c3f6534229d7ad 1899s 1..2 1899s # Start of gtask tests 1899s # 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. 1899s ok 1 /gtask/name 1899s # Start of name tests 1899s # 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. 1899s ok 2 /gtask/name/macro-wrapper 1899s # End of name tests 1899s # End of gtask tests 1899s ok - glib/cxx.test 1899s # Running test: glib/defaultiface.test 1899s TAP version 13 1899s # random seed: R02S2da74206f8ea85d117c1b5e109ba3060 1899s 1..2 1899s # Start of gobject tests 1899s ok 1 /gobject/static-iface 1899s ok 2 /gobject/dynamic-iface 1899s # End of gobject tests 1899s ok - glib/defaultiface.test 1899s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=273.7s; system=188.8s; maxrss=159872 1899s autopkgtest [15:25:00]: test installed-tests: -----------------------] 1901s autopkgtest [15:25:02]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1901s installed-tests PASS 1901s autopkgtest [15:25:02]: test closure-refcount: preparing testbed 1904s Reading package lists... 1905s Building dependency tree... 1905s Reading state information... 1906s Starting pkgProblemResolver with broken count: 0 1906s Starting 2 pkgProblemResolver with broken count: 0 1906s Done 1909s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1909s 1 not fully installed or removed. 1909s After this operation, 0 B of additional disk space will be used. 1909s Setting up autopkgtest-satdep (0) ... 1915s (Reading database ... 76914 files and directories currently installed.) 1915s Removing autopkgtest-satdep (0) ... 1917s autopkgtest [15:25:18]: test closure-refcount: [----------------------- 1917s Running test: glib/closure-refcount.test 1917s TAP version 13 1917s # random seed: R02Sf98a77ca6c3b448e658151b2da3e1538 1917s 1..1 1917s # Start of closure tests 1917s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1917s # End of closure tests 1917s PASS: glib/closure-refcount.test 1917s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 1917s autopkgtest [15:25:18]: test closure-refcount: -----------------------] 1918s closure-refcount PASS 1918s autopkgtest [15:25:19]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1919s autopkgtest [15:25:20]: test debugcontroller: preparing testbed 1922s Reading package lists... 1922s Building dependency tree... 1922s Reading state information... 1923s Starting pkgProblemResolver with broken count: 0 1924s Starting 2 pkgProblemResolver with broken count: 0 1924s Done 1927s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1927s 1 not fully installed or removed. 1927s After this operation, 0 B of additional disk space will be used. 1927s Setting up autopkgtest-satdep (0) ... 1933s (Reading database ... 76914 files and directories currently installed.) 1933s Removing autopkgtest-satdep (0) ... 1934s autopkgtest [15:25:35]: test debugcontroller: [----------------------- 1935s Running test: glib/debugcontroller.test 1935s TAP version 13 1935s # random seed: R02S66486f2003c051e05cdc1be1926313a2 1935s 1..3 1935s # Start of debug-controller tests 1935s # Start of dbus tests 1935s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1935s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1935s # GLib-GIO-DEBUG: Debug output enabled 1935s # GLib-GIO-DEBUG: Debug output disabled 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s ok 1 /debug-controller/dbus/basic 1935s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1935s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s ok 2 /debug-controller/dbus/duplicate 1935s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1935s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1935s # GLib-GIO-DEBUG: Debug output enabled 1935s # GLib-GIO-DEBUG: Debug output disabled 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1935s ok 3 /debug-controller/dbus/properties 1935s # End of dbus tests 1935s # End of debug-controller tests 1935s PASS: glib/debugcontroller.test 1935s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5888 1935s autopkgtest [15:25:36]: test debugcontroller: -----------------------] 1936s debugcontroller PASS 1936s autopkgtest [15:25:37]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1936s autopkgtest [15:25:37]: test gdbus-server-auth: preparing testbed 1940s Reading package lists... 1940s Building dependency tree... 1940s Reading state information... 1941s Starting pkgProblemResolver with broken count: 0 1942s Starting 2 pkgProblemResolver with broken count: 0 1942s Done 1944s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1944s 1 not fully installed or removed. 1944s After this operation, 0 B of additional disk space will be used. 1944s Setting up autopkgtest-satdep (0) ... 1951s (Reading database ... 76914 files and directories currently installed.) 1951s Removing autopkgtest-satdep (0) ... 1953s autopkgtest [15:25:54]: test gdbus-server-auth: [----------------------- 1953s Running test: glib/gdbus-server-auth.test 1953s TAP version 13 1953s # random seed: R02Sb893b23b9ab8f6a8051f1f6c5760ab31 1953s 1..9 1953s # Start of gdbus tests 1953s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/home 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/cache 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/system-config2 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/config 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/system-data2 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/data 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/state 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/.dirs/runtime 1953s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-6RMXJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1953s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-6RMXJ2/dbus-xMUXpEQp 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15801 1953s ok 1 /gdbus/server-auth 1953s # Start of server-auth tests 1953s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/home 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/cache 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/system-config2 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/config 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/system-data2 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/data 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/state 1953s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/abstract/.dirs/runtime 1953s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-IQZYJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1953s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-IQZYJ2/dbus-JNVamQNv 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1953s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1953s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15801 1953s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1953s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1953s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1953s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15801 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1954s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15801 1954s ok 2 /gdbus/server-auth/abstract 1954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/home 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/cache 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/system-config2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/config 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/system-data2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/data 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/state 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/tcp/.dirs/runtime 1954s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1954s # Connectable address: tcp:host=127.0.0.1,port=46085 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1954s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1954s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1954s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1954s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1954s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1954s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1955s ok 3 /gdbus/server-auth/tcp 1955s # slow test /gdbus/server-auth/tcp executed in 0.99 secs 1955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/home 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/cache 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/system-config2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/config 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/system-data2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/data 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/state 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/.dirs/runtime 1955s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-R1J0J2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1955s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-R1J0J2/dbus-3FbTjD8L 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15801 1955s ok 4 /gdbus/server-auth/anonymous 1955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/home 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/cache 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/system-config2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/config 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/system-data2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/data 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/state 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/.dirs/runtime 1955s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-GMJEK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1955s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-GMJEK2/dbus-0UWvFqvW 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1955s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15801 1955s ok 5 /gdbus/server-auth/external 1955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/home 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/cache 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/system-config2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/config 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/system-data2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/data 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/state 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/.dirs/runtime 1955s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-59MFK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1955s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-59MFK2/dbus-5dlFQNOB 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15801 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1955s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15801 1955s ok 6 /gdbus/server-auth/sha1 1955s # Start of anonymous tests 1955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1955s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1955s # Connectable address: tcp:host=127.0.0.1,port=45419 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1955s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1955s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1955s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1955s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1955s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1956s ok 7 /gdbus/server-auth/anonymous/tcp 1956s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.94 secs 1956s # End of anonymous tests 1956s # Start of external tests 1956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/home 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/config 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/data 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/state 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1956s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-MM3HK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1956s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UOXJ2/gdbus-server-auth-MM3HK2/dbus-SMescftw 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15801 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1956s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15801,uid=1000,gid=1000 1956s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15801 1956s ok 8 /gdbus/server-auth/external/require-same-user 1956s # End of external tests 1956s # Start of sha1 tests 1956s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/home 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/config 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/data 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/state 1956s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UOXJ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1956s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1956s # Connectable address: tcp:host=127.0.0.1,port=34199 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1956s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1956s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1956s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1956s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1957s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1957s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1957s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1957s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1957s ok 9 /gdbus/server-auth/sha1/tcp 1957s # slow test /gdbus/server-auth/sha1/tcp executed in 0.97 secs 1957s # End of sha1 tests 1957s # End of server-auth tests 1957s # End of gdbus tests 1957s PASS: glib/gdbus-server-auth.test 1957s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.5s; maxrss=8576 1957s autopkgtest [15:25:58]: test gdbus-server-auth: -----------------------] 1958s gdbus-server-auth PASS 1958s autopkgtest [15:25:59]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1958s autopkgtest [15:25:59]: test gdbus-threading: preparing testbed 1963s Reading package lists... 1963s Building dependency tree... 1963s Reading state information... 1966s Starting pkgProblemResolver with broken count: 0 1966s Starting 2 pkgProblemResolver with broken count: 0 1966s Done 1968s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1968s 1 not fully installed or removed. 1968s After this operation, 0 B of additional disk space will be used. 1968s Setting up autopkgtest-satdep (0) ... 1975s (Reading database ... 76914 files and directories currently installed.) 1975s Removing autopkgtest-satdep (0) ... 1976s autopkgtest [15:26:17]: test gdbus-threading: [----------------------- 1977s Running test: glib/gdbus-threading.test 1977s TAP version 13 1977s # random seed: R02S0c049de47ccb6e9e35fb82962ac01c3b 1977s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1977s 1..3 1977s # Start of gdbus tests 1977s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/home 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/cache 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/system-config2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/config 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/system-data2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/data 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/state 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_S69FK2/gdbus/delivery-in-thread/.dirs/runtime 1977s ok 1 /gdbus/delivery-in-thread 1977s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/home 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/cache 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/system-config2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/config 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/system-data2 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/data 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/state 1977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_S69FK2/gdbus/method-calls-in-thread/.dirs/runtime 1978s ok 2 /gdbus/method-calls-in-thread 1978s # slow test /gdbus/method-calls-in-thread executed in 0.90 secs 1978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/home 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/cache 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/system-config2 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/config 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/system-data2 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/data 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/state 1978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_S69FK2/gdbus/threaded-singleton/.dirs/runtime 1978s # GLib-GIO-DEBUG: refcount of 0xbf8a61a63100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0xbf8a61a63100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0029d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0029d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc003570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc004f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc004f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc004f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1978s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0012d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0063e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0010c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc003d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc003d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0071d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0038c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1979s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0038c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0038c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1980s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007a20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1981s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0014e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002d10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s Executing: glib/gdbus-threading.test 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1982s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0071f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1983s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1984s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0082e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0080b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0080b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0080b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0014a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0014a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0014a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc004310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1986s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s Executing: glib/gdbus-threading.test 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1987s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0066b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0066b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0066b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc001550 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1988s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006eb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1989s # GLib-GIO-DEBUG: refcount of 0xf5d0fc005ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc002ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1990s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc004310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc004310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1991s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc000f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0088d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s Executing: glib/gdbus-threading.test 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1992s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008750 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc008f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc009210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1993s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc006e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007120 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc007cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1994s # GLib-GIO-DEBUG: refcount of 0xf5d0fc0065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1995s ok 3 /gdbus/threaded-singleton 1995s # slow test /gdbus/threaded-singleton executed in 16.90 secs 1995s # End of gdbus tests 1995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1995s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1995s PASS: glib/gdbus-threading.test 1995s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.7s; system=1.6s; maxrss=5760 1995s autopkgtest [15:26:36]: test gdbus-threading: -----------------------] 1996s autopkgtest [15:26:37]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1996s gdbus-threading PASS 1996s autopkgtest [15:26:37]: test gmenumodel: 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 [15:26:54]: test gmenumodel: [----------------------- 2013s Running test: glib/gmenumodel.test 2013s TAP version 13 2013s # random seed: R02S9203a413f9c4e97166d9ae9167eb7a61 2013s 1..14 2013s # Start of gmenu tests 2016s ok 1 /gmenu/equality 2016s # slow test /gmenu/equality executed in 2.57 secs 2018s Executing: glib/gmenumodel.test 2019s ok 2 /gmenu/random 2019s # slow test /gmenu/random executed in 3.12 secs 2019s ok 3 /gmenu/attributes 2019s ok 4 /gmenu/links 2019s ok 5 /gmenu/mutable 2019s ok 6 /gmenu/convenience 2019s ok 7 /gmenu/menuitem 2019s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2019s ok 8 /gmenu/input-validation 2019s # Start of dbus tests 2019s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 2020s ok 9 /gmenu/dbus/roundtrip 2020s # slow test /gmenu/dbus/roundtrip executed in 1.16 secs 2021s ok 10 /gmenu/dbus/subscriptions 2023s Executing: glib/gmenumodel.test 2025s ok 11 /gmenu/dbus/threaded 2025s # slow test /gmenu/dbus/threaded executed in 4.66 secs 2025s # Start of peer tests 2027s ok 12 /gmenu/dbus/peer/roundtrip 2027s # slow test /gmenu/dbus/peer/roundtrip executed in 1.10 secs 2027s ok 13 /gmenu/dbus/peer/subscriptions 2027s # End of peer tests 2027s # End of dbus tests 2027s # Start of attributes tests 2027s ok 14 /gmenu/attributes/iterate 2027s # End of attributes tests 2027s # End of gmenu tests 2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2027s PASS: glib/gmenumodel.test 2027s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.6s; system=0.7s; maxrss=12416 2027s autopkgtest [15:27:08]: test gmenumodel: -----------------------] 2028s gmenumodel PASS 2028s autopkgtest [15:27:09]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 2028s autopkgtest [15:27:09]: test mainloop: preparing testbed 2032s Reading package lists... 2032s Building dependency tree... 2032s Reading state information... 2033s Starting pkgProblemResolver with broken count: 0 2034s Starting 2 pkgProblemResolver with broken count: 0 2034s Done 2036s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2036s 1 not fully installed or removed. 2036s After this operation, 0 B of additional disk space will be used. 2037s Setting up autopkgtest-satdep (0) ... 2043s (Reading database ... 76914 files and directories currently installed.) 2043s Removing autopkgtest-satdep (0) ... 2045s autopkgtest [15:27:26]: test mainloop: [----------------------- 2045s Running test: glib/mainloop.test 2045s TAP version 13 2045s # random seed: R02Sc75d7141b5a079524cf5fd5f93e1cb28 2045s 1..45 2045s # Start of maincontext tests 2045s ok 1 /maincontext/basic 2045s # Add same-priority sources: 76 2045s # Find each source: 21 2045s # Remove in random order: 103 2045s ok 2 /maincontext/nsources_same_priority 2046s # Add different-priority sources: 56 2046s # Find each source: 21 2046s # Remove in random order: 131 2046s ok 3 /maincontext/nsources_different_priority 2047s # Add sources from threads: 814 2047s # Remove sources from threads: 79 2047s ok 4 /maincontext/nsources_threadpool 2047s # slow test /maincontext/nsources_threadpool executed in 0.93 secs 2047s ok 5 /maincontext/source_finalization 2047s # /maincontext/idle-once summary: Test g_idle_add_once() works 2047s ok 6 /maincontext/idle-once 2047s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2047s ok 7 /maincontext/timeout-once 2047s # Start of source_finalization_from_source tests 2047s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 8 /maincontext/source_finalization_from_source/0 2047s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 9 /maincontext/source_finalization_from_source/1 2047s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 10 /maincontext/source_finalization_from_source/2 2047s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 11 /maincontext/source_finalization_from_source/3 2047s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 12 /maincontext/source_finalization_from_source/4 2047s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 13 /maincontext/source_finalization_from_source/5 2047s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 14 /maincontext/source_finalization_from_source/6 2047s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 15 /maincontext/source_finalization_from_source/7 2047s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 16 /maincontext/source_finalization_from_source/8 2047s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2047s ok 17 /maincontext/source_finalization_from_source/9 2047s # End of source_finalization_from_source tests 2047s # Start of source_finalization_from_dispatch tests 2047s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2047s ok 18 /maincontext/source_finalization_from_dispatch/0 2047s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2047s ok 19 /maincontext/source_finalization_from_dispatch/1 2047s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2047s ok 20 /maincontext/source_finalization_from_dispatch/2 2047s # End of source_finalization_from_dispatch tests 2047s # End of maincontext tests 2047s # Start of mainloop tests 2047s ok 21 /mainloop/basic 2047s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2047s ok 23 /mainloop/priorities 2047s ok 24 /mainloop/invoke 2047s # slow test /mainloop/invoke executed in 0.50 secs 2049s ok 25 /mainloop/child_sources 2049s # slow test /mainloop/child_sources executed in 1.23 secs 2050s Executing: glib/mainloop.test 2051s ok 26 /mainloop/recursive_child_sources 2051s # slow test /mainloop/recursive_child_sources executed in 2.27 secs 2051s ok 27 /mainloop/recursive_loop_child_sources 2051s ok 28 /mainloop/swapping_child_sources 2051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2051s ok 29 /mainloop/blocked_child_sources 2052s ok 30 /mainloop/source_time 2052s # slow test /mainloop/source_time executed in 1.00 secs 2052s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2052s ok 31 /mainloop/overflow 2052s ok 32 /mainloop/ready-time 2052s # slow test /mainloop/ready-time executed in 0.50 secs 2052s ok 33 /mainloop/wakeup 2052s ok 34 /mainloop/remove-invalid 2052s ok 35 /mainloop/unref-while-pending 2055s Executing: glib/mainloop.test 2056s ok 36 /mainloop/unix-fd 2056s # slow test /mainloop/unix-fd executed in 4.10 secs 2056s ok 37 /mainloop/unix-fd-source 2056s ok 38 /mainloop/source-unix-fd-api 2057s ok 39 /mainloop/wait 2057s ok 40 /mainloop/unix-file-poll 2057s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2057s ok 41 /mainloop/unix-fd-priority 2057s ok 42 /mainloop/nfds 2057s ok 43 /mainloop/steal-fd 2057s # Start of ownerless-polling tests 2057s ok 44 /mainloop/ownerless-polling/attach-first 2057s ok 45 /mainloop/ownerless-polling/pop-first 2057s # End of ownerless-polling tests 2057s # End of mainloop tests 2057s PASS: glib/mainloop.test 2057s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.0s; system=3.9s; maxrss=15144 2057s autopkgtest [15:27:38]: test mainloop: -----------------------] 2058s mainloop PASS 2058s autopkgtest [15:27:39]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2059s autopkgtest [15:27:40]: test memory-monitor-dbus: preparing testbed 2062s Reading package lists... 2062s Building dependency tree... 2062s Reading state information... 2063s Starting pkgProblemResolver with broken count: 0 2064s Starting 2 pkgProblemResolver with broken count: 0 2064s 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) ... 2073s (Reading database ... 76914 files and directories currently installed.) 2073s Removing autopkgtest-satdep (0) ... 2075s autopkgtest [15:27:56]: test memory-monitor-dbus: [----------------------- 2075s Running test: glib/memory-monitor-dbus.test 2076s TAP version 13 2076s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2076s # Received memory warning signal, level 2076s # Received memory warning signal, level 2076s # Received memory warning signal, level 2076s 1..1 2076s PASS: glib/memory-monitor-dbus.test 2076s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.1s; maxrss=24704 2076s autopkgtest [15:27:57]: test memory-monitor-dbus: -----------------------] 2077s memory-monitor-dbus PASS 2077s autopkgtest [15:27:58]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2078s autopkgtest [15:27:59]: test socket: preparing testbed 2081s Reading package lists... 2082s Building dependency tree... 2082s Reading state information... 2083s Starting pkgProblemResolver with broken count: 0 2084s Starting 2 pkgProblemResolver with broken count: 0 2084s Done 2086s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2086s 1 not fully installed or removed. 2086s After this operation, 0 B of additional disk space will be used. 2086s Setting up autopkgtest-satdep (0) ... 2093s (Reading database ... 76914 files and directories currently installed.) 2093s Removing autopkgtest-satdep (0) ... 2094s autopkgtest [15:28:15]: test socket: [----------------------- 2094s Running test: glib/socket.test 2094s TAP version 13 2094s # random seed: R02Sb385ed5944d3bed204295892b6dd680c 2094s 1..28 2094s # Start of socket tests 2095s ok 1 /socket/ipv4_sync 2095s # slow test /socket/ipv4_sync executed in 1.00 secs 2096s ok 2 /socket/ipv4_async 2096s # slow test /socket/ipv4_async executed in 1.00 secs 2096s ok 3 /socket/ipv6_sync 2096s ok 4 /socket/ipv6_async 2096s ok 5 /socket/ipv6_v4mapped 2097s ok 6 /socket/close_graceful 2097s # slow test /socket/close_graceful executed in 1.00 secs 2097s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2097s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2097s ok 8 /socket/fd_reuse 2097s ok 9 /socket/address 2097s ok 10 /socket/unix-from-fd 2097s ok 11 /socket/unix-connection 2097s ok 12 /socket/unix-connection-ancillary-data 2097s ok 13 /socket/source-postmortem 2097s ok 14 /socket/read_write 2097s ok 15 /socket/read_writev 2097s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2097s ok 16 /socket/receive_bytes 2097s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2097s ok 17 /socket/receive_bytes_from 2097s # Start of ipv4_sync tests 2097s ok 18 /socket/ipv4_sync/datagram 2097s # Start of datagram tests 2099s ok 19 /socket/ipv4_sync/datagram/timeouts 2099s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2099s # End of datagram tests 2099s # End of ipv4_sync tests 2099s # Start of ipv6_sync tests 2099s ok 20 /socket/ipv6_sync/datagram 2099s # Start of datagram tests 2099s Executing: glib/socket.test 2100s ok 21 /socket/ipv6_sync/datagram/timeouts 2100s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2100s # End of datagram tests 2100s # End of ipv6_sync tests 2100s # Start of reuse tests 2100s ok 22 /socket/reuse/tcp 2100s ok 23 /socket/reuse/udp 2100s # End of reuse tests 2100s # Start of get_available tests 2100s ok 24 /socket/get_available/datagram 2100s ok 25 /socket/get_available/stream 2100s # End of get_available tests 2100s # Start of credentials tests 2100s # Supported on this OS: GCredentials:linux-ucred:pid=0 2100s ok 26 /socket/credentials/tcp_client 2100s # Supported on this OS: GCredentials:linux-ucred:pid=0 2100s ok 27 /socket/credentials/tcp_server 2100s # Supported on this OS: GCredentials:linux-ucred:pid=18165,uid=1000,gid=1000 2100s ok 28 /socket/credentials/unix_socketpair 2100s # End of credentials tests 2100s # End of socket tests 2100s PASS: glib/socket.test 2100s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 2100s autopkgtest [15:28:21]: test socket: -----------------------] 2101s socket PASS 2101s autopkgtest [15:28:22]: test socket: - - - - - - - - - - results - - - - - - - - - - 2101s autopkgtest [15:28:22]: test testfilemonitor: preparing testbed 2104s Reading package lists... 2105s Building dependency tree... 2105s Reading state information... 2106s Starting pkgProblemResolver with broken count: 0 2106s Starting 2 pkgProblemResolver with broken count: 0 2106s Done 2108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2108s 1 not fully installed or removed. 2108s After this operation, 0 B of additional disk space will be used. 2108s Setting up autopkgtest-satdep (0) ... 2115s (Reading database ... 76914 files and directories currently installed.) 2115s Removing autopkgtest-satdep (0) ... 2116s autopkgtest [15:28:37]: test testfilemonitor: [----------------------- 2117s Running test: glib/testfilemonitor.test 2117s TAP version 13 2117s # random seed: R02S1491e2fbf93126f02b8e905c5701a1f3 2117s 1..8 2117s # Start of monitor tests 2117s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2117s # Using temporary directory: /tmp/gio-test-testfilemonitor_21RCK2 2117s # Using GFileMonitor GInotifyFileMonitor 2119s ok 1 /monitor/atomic-replace 2119s # slow test /monitor/atomic-replace executed in 2.01 secs 2119s # Using temporary directory: /tmp/gio-test-testfilemonitor_P8XCK2 2119s # Using GFileMonitor GInotifyFileMonitor 2121s ok 2 /monitor/file-changes 2121s # slow test /monitor/file-changes executed in 2.51 secs 2121s # Using temporary directory: /tmp/gio-test-testfilemonitor_KSR2J2 2121s # Using GFileMonitor GInotifyFileMonitor 2122s Executing: glib/testfilemonitor.test 2125s ok 3 /monitor/dir-monitor 2125s # slow test /monitor/dir-monitor executed in 3.51 secs 2125s # Using temporary directory: /tmp/gio-test-testfilemonitor_R5ADK2 2125s # Using GFileMonitor GInotifyFileMonitor 2127s Executing: glib/testfilemonitor.test 2132s Executing: glib/testfilemonitor.test 2137s Executing: glib/testfilemonitor.test 2142s Executing: glib/testfilemonitor.test 2147s Executing: glib/testfilemonitor.test 2150s ok 4 /monitor/dir-not-existent 2150s # slow test /monitor/dir-not-existent executed in 25.02 secs 2150s # Using temporary directory: /tmp/gio-test-testfilemonitor_UQ5EK2 2150s # Using GFileMonitor 0 GInotifyFileMonitor 2150s # Using GFileMonitor 1 GInotifyFileMonitor 2152s ok 5 /monitor/cross-dir-moves 2152s # slow test /monitor/cross-dir-moves executed in 2.01 secs 2152s # Using temporary directory: /tmp/gio-test-testfilemonitor_EJAFK2 2152s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2152s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2152s ok 6 /monitor/finalize-in-callback 2152s # Using temporary directory: /tmp/gio-test-testfilemonitor_DTUEK2 2152s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2152s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2152s ok 7 /monitor/root 2152s # Start of file tests 2152s # Using temporary directory: /tmp/gio-test-testfilemonitor_51AGK2 2152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2152s # Running with hard link tests 2152s # Using GFileMonitor GInotifyFileMonitor 2152s Executing: glib/testfilemonitor.test 2155s # Event 0 at expected index 7 skipped because it is marked as optional 2155s # Event 2 at expected index 11 skipped because it is marked as optional 2155s ok 8 /monitor/file/hard-links 2155s # slow test /monitor/file/hard-links executed in 3.51 secs 2155s # End of file tests 2155s # End of monitor tests 2155s PASS: glib/testfilemonitor.test 2155s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5248 2156s autopkgtest [15:29:17]: test testfilemonitor: -----------------------] 2156s testfilemonitor PASS 2156s autopkgtest [15:29:17]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2157s autopkgtest [15:29:18]: test thread-pool-slow: preparing testbed 2164s Reading package lists... 2165s Building dependency tree... 2165s Reading state information... 2166s Starting pkgProblemResolver with broken count: 0 2166s Starting 2 pkgProblemResolver with broken count: 0 2166s Done 2169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2169s 1 not fully installed or removed. 2169s After this operation, 0 B of additional disk space will be used. 2169s Setting up autopkgtest-satdep (0) ... 2176s (Reading database ... 76914 files and directories currently installed.) 2176s Removing autopkgtest-satdep (0) ... 2178s autopkgtest [15:29:39]: test thread-pool-slow: [----------------------- 2178s Running test: glib/thread-pool-slow.test 2178s TAP version 13 2178s # random seed: R02S36e046b54b41d0ea06a408266965dcab 2178s 1..7 2178s # Start of threadpool tests 2178s ok 1 /threadpool/functions 2179s ok 2 /threadpool/stop-unused 2179s # slow test /threadpool/stop-unused executed in 0.55 secs 2179s ok 3 /threadpool/pools 2179s # [unsorted] ===> pushed new thread with id:24, number of threads:1, unprocessed:1 2179s # [unsorted] ===> pushed new thread with id:42, number of threads:2, unprocessed:2 2179s # [unsorted] ===> pushed new thread with id:98, number of threads:3, unprocessed:3 2179s # [unsorted] ===> pushed new thread with id:53, number of threads:4, unprocessed:4 2179s # [unsorted] ===> pushed new thread with id:92, number of threads:5, unprocessed:5 2179s # [unsorted] ===> pushed new thread with id:46, number of threads:6, unprocessed:6 2179s # [unsorted] ===> pushed new thread with id:85, number of threads:7, unprocessed:7 2179s # [unsorted] ===> pushed new thread with id:53, number of threads:8, unprocessed:8 2179s # [unsorted] ===> pushed new thread with id:72, number of threads:9, unprocessed:9 2179s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:5 2179s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:6 2179s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:7 2179s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:8 2179s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:9 2179s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:10 2179s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:11 2179s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:12 2179s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:13 2179s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:14 2179s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:15 2179s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:16 2179s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:17 2179s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:18 2179s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:19 2179s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:20 2179s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:21 2179s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:22 2179s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:23 2179s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:24 2179s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:25 2179s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:26 2179s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:27 2179s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:28 2179s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:29 2179s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:30 2179s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:31 2179s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:32 2179s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:33 2179s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:34 2179s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:35 2179s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:36 2179s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:37 2179s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:38 2179s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:39 2179s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:40 2179s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:41 2179s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:42 2179s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 2179s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:44 2179s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:45 2179s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:46 2179s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:47 2179s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:48 2179s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:49 2179s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:50 2179s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:51 2179s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:52 2179s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:53 2179s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:54 2179s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:55 2179s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:56 2179s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:57 2179s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:58 2179s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:59 2179s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:60 2179s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:61 2179s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:62 2179s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:63 2179s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:64 2179s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:65 2179s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:66 2179s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:67 2179s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:68 2179s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:69 2179s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:70 2179s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:71 2179s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:72 2179s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:73 2179s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:74 2179s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:75 2179s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:76 2179s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:77 2179s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:78 2179s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:79 2179s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:80 2179s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:81 2179s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:82 2179s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:83 2179s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:84 2179s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:85 2179s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:86 2179s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:87 2179s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:88 2179s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:89 2179s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:90 2179s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:91 2179s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:92 2179s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:93 2179s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:94 2179s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:95 2179s ok 4 /threadpool/no-sort 2179s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:1 2179s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:2 2179s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:3 2179s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:4 2179s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:5 2179s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:6 2179s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:7 2179s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:8 2179s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:9 2179s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:10 2179s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:11 2179s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:12 2179s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:13 2179s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:14 2179s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:15 2179s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:16 2179s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:17 2179s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:18 2179s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:19 2179s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:20 2179s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:21 2179s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:22 2179s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:23 2179s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:24 2179s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:25 2179s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:26 2179s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:27 2179s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:28 2179s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:29 2179s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:30 2179s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:31 2179s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:32 2179s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:33 2179s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:34 2179s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:35 2179s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:36 2179s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:37 2179s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:38 2179s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:39 2179s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:40 2179s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:41 2179s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:42 2179s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:43 2179s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:44 2179s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:45 2179s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:46 2179s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:47 2179s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:48 2179s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:49 2179s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:50 2179s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:51 2179s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:52 2179s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:53 2179s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:54 2179s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:55 2179s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:56 2179s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:57 2179s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:58 2179s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:59 2179s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:60 2179s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:61 2179s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:62 2179s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:63 2179s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:64 2179s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:65 2179s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:66 2179s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:67 2179s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:68 2179s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:69 2179s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:70 2179s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:71 2179s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:72 2179s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:73 2179s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:74 2179s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:75 2179s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:76 2179s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:77 2179s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:78 2179s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:79 2179s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:80 2179s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:81 2179s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:82 2179s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:83 2179s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:84 2179s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:85 2179s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:86 2179s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:87 2179s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:88 2179s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:89 2179s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:90 2179s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:91 2179s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:92 2179s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:93 2179s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:94 2179s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:95 2179s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:96 2179s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:97 2179s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:98 2179s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:99 2179s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:100 2179s # Starting thread pool processing 2179s ok 5 /threadpool/sort 2180s ok 6 /threadpool/stop-unused-multiple 2180s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 2180s # Pool idle thread count: 0, unprocessed jobs: 43 2180s # Pool idle thread count: 0, unprocessed jobs: 0 2180s # Pool idle thread count: 0, unprocessed jobs: 0 2181s # Pool idle thread count: 10, unprocessed jobs: 0 2181s # Pool idle thread count: 10, unprocessed jobs: 0 2181s # Pool idle thread count: 10, unprocessed jobs: 0 2181s # Pool idle thread count: 10, unprocessed jobs: 0 2182s # Pool idle thread count: 10, unprocessed jobs: 0 2182s # Pool idle thread count: 10, unprocessed jobs: 0 2182s # Pool idle thread count: 10, unprocessed jobs: 0 2182s # Pool idle thread count: 10, unprocessed jobs: 0 2183s # Pool idle thread count: 10, unprocessed jobs: 0 2183s # Pool idle thread count: 10, unprocessed jobs: 0 2183s # Pool idle thread count: 10, unprocessed jobs: 0 2183s # Pool idle thread count: 10, unprocessed jobs: 0 2183s Executing: glib/thread-pool-slow.test 2184s # Pool idle thread count: 10, unprocessed jobs: 0 2184s # Pool idle thread count: 10, unprocessed jobs: 0 2184s # Pool idle thread count: 10, unprocessed jobs: 0 2184s # Pool idle thread count: 10, unprocessed jobs: 0 2185s # Pool idle thread count: 10, unprocessed jobs: 0 2185s # Pool idle thread count: 10, unprocessed jobs: 0 2185s # Pool idle thread count: 10, unprocessed jobs: 0 2185s # Pool idle thread count: 10, unprocessed jobs: 0 2186s # Pool idle thread count: 10, unprocessed jobs: 0 2186s # Pool idle thread count: 10, unprocessed jobs: 0 2186s # Pool idle thread count: 10, unprocessed jobs: 0 2186s # Pool idle thread count: 10, unprocessed jobs: 0 2187s # Pool idle thread count: 10, unprocessed jobs: 0 2187s # Pool idle thread count: 10, unprocessed jobs: 0 2187s # Pool idle thread count: 10, unprocessed jobs: 0 2187s # Pool idle thread count: 10, unprocessed jobs: 0 2188s # Pool idle thread count: 10, unprocessed jobs: 0 2188s # Pool idle thread count: 10, unprocessed jobs: 0 2188s # Pool idle thread count: 10, unprocessed jobs: 0 2188s # Pool idle thread count: 10, unprocessed jobs: 0 2188s Executing: glib/thread-pool-slow.test 2189s # Pool idle thread count: 10, unprocessed jobs: 2 2189s # Pool idle thread count: 10, unprocessed jobs: 2 2189s # Pool idle thread count: 8, unprocessed jobs: 0 2189s # Pool idle thread count: 8, unprocessed jobs: 0 2189s # Pool idle thread count: 10, unprocessed jobs: 0 2189s # Pool idle thread count: 10, unprocessed jobs: 0 2190s # Pool idle thread count: 10, unprocessed jobs: 0 2190s # Pool idle thread count: 10, unprocessed jobs: 0 2190s # Pool idle thread count: 10, unprocessed jobs: 0 2190s # Pool idle thread count: 10, unprocessed jobs: 0 2191s # Pool idle thread count: 2, unprocessed jobs: 0 2191s # Pool idle thread count: 2, unprocessed jobs: 0 2191s # Pool idle thread count: 2, unprocessed jobs: 0 2191s # Pool idle thread count: 2, unprocessed jobs: 0 2192s # Pool idle thread count: 2, unprocessed jobs: 0 2192s # Pool idle thread count: 2, unprocessed jobs: 0 2192s # Pool idle thread count: 2, unprocessed jobs: 0 2192s # Pool idle thread count: 2, unprocessed jobs: 0 2193s # Pool idle thread count: 2, unprocessed jobs: 0 2193s # Pool idle thread count: 2, unprocessed jobs: 0 2193s # Pool idle thread count: 2, unprocessed jobs: 0 2193s # Pool idle thread count: 2, unprocessed jobs: 0 2193s Executing: glib/thread-pool-slow.test 2194s # Pool idle thread count: 2, unprocessed jobs: 0 2194s # Pool idle thread count: 2, unprocessed jobs: 0 2194s # Pool idle thread count: 2, unprocessed jobs: 0 2194s # Pool idle thread count: 2, unprocessed jobs: 0 2195s # Pool idle thread count: 2, unprocessed jobs: 0 2195s # Pool idle thread count: 2, unprocessed jobs: 0 2195s # Pool idle thread count: 2, unprocessed jobs: 0 2195s # Pool idle thread count: 2, unprocessed jobs: 0 2196s # Pool idle thread count: 2, unprocessed jobs: 0 2196s # Pool idle thread count: 2, unprocessed jobs: 0 2196s # Pool idle thread count: 2, unprocessed jobs: 0 2196s # Pool idle thread count: 2, unprocessed jobs: 0 2197s # Pool idle thread count: 2, unprocessed jobs: 0 2197s # Pool idle thread count: 2, unprocessed jobs: 0 2197s # Pool idle thread count: 2, unprocessed jobs: 0 2197s # Pool idle thread count: 2, unprocessed jobs: 0 2198s # Pool idle thread count: 2, unprocessed jobs: 0 2198s # Pool idle thread count: 2, unprocessed jobs: 0 2198s # Pool idle thread count: 2, unprocessed jobs: 0 2198s # Pool idle thread count: 2, unprocessed jobs: 0 2198s Executing: glib/thread-pool-slow.test 2199s # Pool idle thread count: 2, unprocessed jobs: 0 2199s # Pool idle thread count: 2, unprocessed jobs: 0 2199s ok 7 /threadpool/idle-time 2199s # slow test /threadpool/idle-time executed in 19.54 secs 2199s # End of threadpool tests 2199s PASS: glib/thread-pool-slow.test 2199s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=3456 2200s autopkgtest [15:30:01]: test thread-pool-slow: -----------------------] 2200s autopkgtest [15:30:01]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2200s thread-pool-slow PASS 2201s autopkgtest [15:30:02]: test threadtests: preparing testbed 2204s Reading package lists... 2205s Building dependency tree... 2205s Reading state information... 2206s Starting pkgProblemResolver with broken count: 0 2206s Starting 2 pkgProblemResolver with broken count: 0 2206s Done 2209s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2209s 1 not fully installed or removed. 2209s After this operation, 0 B of additional disk space will be used. 2209s Setting up autopkgtest-satdep (0) ... 2215s (Reading database ... 76914 files and directories currently installed.) 2215s Removing autopkgtest-satdep (0) ... 2217s autopkgtest [15:30:18]: test threadtests: [----------------------- 2217s Running test: glib/threadtests.test 2217s TAP version 13 2217s # random seed: R02S727a2c1cb265c650d013f20ccd85be05 2217s 1..5 2217s # Start of GObject tests 2217s ok 1 /GObject/threaded-object-init 2220s ok 2 /GObject/threaded-weak-ref 2220s # slow test /GObject/threaded-weak-ref executed in 2.48 secs 2220s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2220s # /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 2220s ok 3 /GObject/threaded-toggle-notify 2220s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2220s # Start of threaded-weak-ref tests 2220s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2220s # /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. 2220s ok 5 /GObject/threaded-weak-ref/on-finalization 2220s # End of threaded-weak-ref tests 2220s # End of GObject tests 2220s PASS: glib/threadtests.test 2220s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=1.9s; maxrss=3200 2221s autopkgtest [15:30:22]: test threadtests: -----------------------] 2221s autopkgtest [15:30:22]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2221s threadtests PASS 2222s autopkgtest [15:30:23]: test timeout: preparing testbed 2225s Reading package lists... 2225s Building dependency tree... 2225s Reading state information... 2226s Starting pkgProblemResolver with broken count: 0 2227s Starting 2 pkgProblemResolver with broken count: 0 2227s Done 2229s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2229s 1 not fully installed or removed. 2229s After this operation, 0 B of additional disk space will be used. 2229s Setting up autopkgtest-satdep (0) ... 2237s (Reading database ... 76914 files and directories currently installed.) 2237s Removing autopkgtest-satdep (0) ... 2238s autopkgtest [15:30:39]: test timeout: [----------------------- 2239s Running test: glib/timeout.test 2239s TAP version 13 2239s # random seed: R02Sc62e0d02a8f6051f77d96ed045eb7340 2239s 1..5 2239s # Start of timeout tests 2239s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2241s ok 1 /timeout/seconds 2241s # slow test /timeout/seconds executed in 2.10 secs 2243s ok 2 /timeout/seconds-once 2243s # slow test /timeout/seconds-once executed in 2.10 secs 2243s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2244s Executing: glib/timeout.test 2245s ok 3 /timeout/weeks-overflow 2245s # slow test /timeout/weeks-overflow executed in 2.10 secs 2245s ok 4 /timeout/far-future-ready-time 2249s Executing: glib/timeout.test 2254s Executing: glib/timeout.test 2255s ok 5 /timeout/rounding 2255s # slow test /timeout/rounding executed in 10.43 secs 2255s # End of timeout tests 2255s PASS: glib/timeout.test 2255s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2256s autopkgtest [15:30:57]: test timeout: -----------------------] 2256s autopkgtest [15:30:57]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2256s timeout PASS 2257s autopkgtest [15:30:58]: test timer: preparing testbed 2260s Reading package lists... 2261s Building dependency tree... 2261s Reading state information... 2262s Starting pkgProblemResolver with broken count: 0 2262s Starting 2 pkgProblemResolver with broken count: 0 2262s Done 2265s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2265s 1 not fully installed or removed. 2265s After this operation, 0 B of additional disk space will be used. 2265s Setting up autopkgtest-satdep (0) ... 2271s (Reading database ... 76914 files and directories currently installed.) 2271s Removing autopkgtest-satdep (0) ... 2273s autopkgtest [15:31:14]: test timer: [----------------------- 2273s Running test: glib/timer.test 2273s TAP version 13 2273s # random seed: R02S96ef2f81ae84ae1baae0734d0548244e 2273s 1..10 2273s # Start of timer tests 2273s ok 1 /timer/basic 2273s ok 2 /timer/stop 2273s ok 3 /timer/continue 2273s ok 4 /timer/reset 2273s ok 5 /timer/is_active 2273s # End of timer tests 2273s # Start of timeval tests 2273s ok 6 /timeval/add 2273s ok 7 /timeval/from-iso8601 2273s ok 8 /timeval/to-iso8601 2273s # Start of to-iso8601 tests 2273s ok 9 /timeval/to-iso8601/overflow 2273s # End of to-iso8601 tests 2273s # End of timeval tests 2273s # Start of usleep tests 2273s ok 10 /usleep/with-zero-wait 2273s # End of usleep tests 2273s PASS: glib/timer.test 2273s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 2273s autopkgtest [15:31:14]: test timer: -----------------------] 2274s autopkgtest [15:31:15]: test timer: - - - - - - - - - - results - - - - - - - - - - 2274s timer PASS 2274s autopkgtest [15:31:15]: test 1065022-futureproofing: preparing testbed 2548s autopkgtest [15:35:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2548s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 2550s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [429 kB] 2550s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2635 kB] 2551s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 2551s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 2551s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [572 kB] 2551s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 2551s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 2551s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 2551s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2878 kB] 2551s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 2551s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.2 kB] 2551s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 2565s Fetched 6745 kB in 6s (1106 kB/s) 2566s Reading package lists... 2582s Reading package lists... 2584s Building dependency tree... 2584s Reading state information... 2586s Calculating upgrade... 2588s The following package was automatically installed and is no longer required: 2588s ubuntu-advantage-tools 2588s Use 'sudo apt autoremove' to remove it. 2588s The following packages will be REMOVED: 2588s libglib2.0-0 2588s The following NEW packages will be installed: 2588s libglib2.0-0t64 xdg-user-dirs 2588s The following packages will be upgraded: 2588s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 2588s dbus-user-session efibootmgr gir1.2-glib-2.0 libdbus-1-3 libglib2.0-data 2588s ubuntu-minimal ubuntu-standard 2589s 12 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 2589s Need to get 2386 kB of archives. 2589s After this operation, 138 kB of additional disk space will be used. 2589s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 2589s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 2590s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 2590s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-user-session arm64 1.14.10-4ubuntu2 [9960 B] 2590s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-daemon arm64 1.14.10-4ubuntu2 [115 kB] 2590s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-bin arm64 1.14.10-4ubuntu2 [38.8 kB] 2590s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 2590s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 dbus arm64 1.14.10-4ubuntu2 [23.9 kB] 2590s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libdbus-1-3 arm64 1.14.10-4ubuntu2 [210 kB] 2590s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 2590s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-minimal arm64 1.535 [10.5 kB] 2590s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 2590s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-standard arm64 1.535 [10.5 kB] 2590s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 efibootmgr arm64 18-1build1 [31.5 kB] 2593s Fetched 2386 kB in 1s (2292 kB/s) 2594s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2594s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 2594s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 2594s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 2594s udisks2 depends on libglib2.0-0 (>= 2.77.0). 2594s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 2594s python3-gi depends on libglib2.0-0 (>= 2.77.0). 2594s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 2594s netplan.io depends on libglib2.0-0 (>= 2.70.0). 2594s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 2594s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 2594s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 2594s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 2594s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 2594s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 2594s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 2594s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 2594s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 2594s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 2594s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 2594s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 2594s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 2594s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 2594s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 2594s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 2594s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 2594s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 2594s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 2594s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 2594s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 2594s fwupd depends on libglib2.0-0 (>= 2.79.0). 2594s bolt depends on libglib2.0-0 (>= 2.56.0). 2594s 2595s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2595s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 2595s Selecting previously unselected package libglib2.0-0t64:arm64. 2595s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2595s Preparing to unpack .../00-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 2595s 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... 2595s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 2595s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2596s Preparing to unpack .../01-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 2596s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2596s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_arm64.deb ... 2596s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2596s Preparing to unpack .../03-dbus-daemon_1.14.10-4ubuntu2_arm64.deb ... 2596s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2596s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_arm64.deb ... 2596s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2597s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 2597s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2597s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_arm64.deb ... 2597s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2597s Preparing to unpack .../07-libdbus-1-3_1.14.10-4ubuntu2_arm64.deb ... 2597s Unpacking libdbus-1-3:arm64 (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 2597s Preparing to unpack .../08-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 2597s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 2598s Preparing to unpack .../09-ubuntu-minimal_1.535_arm64.deb ... 2598s Unpacking ubuntu-minimal (1.535) over (1.534) ... 2598s Selecting previously unselected package xdg-user-dirs. 2598s Preparing to unpack .../10-xdg-user-dirs_0.18-1_arm64.deb ... 2598s Unpacking xdg-user-dirs (0.18-1) ... 2598s Preparing to unpack .../11-ubuntu-standard_1.535_arm64.deb ... 2598s Unpacking ubuntu-standard (1.535) over (1.534) ... 2598s Preparing to unpack .../12-efibootmgr_18-1build1_arm64.deb ... 2598s Unpacking efibootmgr (18-1build1) over (18-1) ... 2599s Setting up efibootmgr (18-1build1) ... 2599s Setting up ubuntu-minimal (1.535) ... 2599s Setting up xdg-user-dirs (0.18-1) ... 2599s Setting up ubuntu-standard (1.535) ... 2599s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2599s No schema files found: doing nothing. 2599s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 2599s Setting up libdbus-1-3:arm64 (1.14.10-4ubuntu2) ... 2599s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 2599s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 2599s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 2599s Setting up dbus-bin (1.14.10-4ubuntu2) ... 2599s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 2599s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 2599s Setting up dbus (1.14.10-4ubuntu2) ... 2599s A reboot is required to replace the running dbus-daemon. 2599s Please reboot the system when convenient. 2601s Processing triggers for man-db (2.12.0-3) ... 2605s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s 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 2608s Reading package lists... 2609s Building dependency tree... 2609s Reading state information... 2612s The following packages will be REMOVED: 2612s ubuntu-advantage-tools* 2614s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2614s After this operation, 71.7 kB disk space will be freed. 2614s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2614s Removing ubuntu-advantage-tools (31.1) ... 2615s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2615s Purging configuration files for ubuntu-advantage-tools (31.1) ... 2620s sh: Attempting to set up Debian/Ubuntu apt sources automatically 2620s sh: Distribution appears to be Ubuntu 2634s Reading package lists... 2635s Building dependency tree... 2635s Reading state information... 2638s eatmydata is already the newest version (131-1). 2638s dbus is already the newest version (1.14.10-4ubuntu2). 2638s dbus set to manually installed. 2638s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s 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 2638s Reading package lists... 2639s Building dependency tree... 2639s Reading state information... 2642s rng-tools-debian is already the newest version (2.4). 2642s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2642s Reading package lists... 2643s Building dependency tree... 2643s Reading state information... 2646s haveged is already the newest version (1.9.14-1ubuntu1). 2646s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2646s Reading package lists... 2647s Building dependency tree... 2647s Reading state information... 2649s The following packages will be REMOVED: 2650s cloud-init* python3-configobj* python3-debconf* 2651s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 2651s After this operation, 3248 kB disk space will be freed. 2651s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2651s Removing cloud-init (24.1-0ubuntu1) ... 2655s Removing python3-configobj (5.0.8-3) ... 2655s Removing python3-debconf (1.5.86) ... 2656s Processing triggers for man-db (2.12.0-3) ... 2657s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2657s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 2660s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 2660s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 2662s Reading package lists... 2663s Building dependency tree... 2663s Reading state information... 2666s linux-generic is already the newest version (6.8.0-11.11+1). 2666s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2667s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 2667s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 2667s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 2668s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 2668s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 2688s Reading package lists... 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2688s 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 2689s Reading package lists... 2690s Building dependency tree... 2690s Reading state information... 2692s Calculating upgrade... 2694s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2695s Reading package lists... 2696s Building dependency tree... 2696s Reading state information... 2699s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2700s autopkgtest [15:38:21]: rebooting testbed after setup commands that affected boot 2879s autopkgtest [15:41:20]: testbed dpkg architecture: arm64 2890s Reading package lists... 2891s Building dependency tree... 2891s Reading state information... 2892s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 2892s Starting 2 pkgProblemResolver with broken count: 0 2892s Done 2893s Done 2894s Starting pkgProblemResolver with broken count: 0 2895s Starting 2 pkgProblemResolver with broken count: 0 2895s Done 2897s The following additional packages will be installed: 2897s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2897s libdconf1 session-migration 2897s Suggested packages: 2897s fakeroot 2897s The following NEW packages will be installed: 2897s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2897s libdconf1 session-migration 2897s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 2897s 1 not fully installed or removed. 2897s Need to get 144 kB of archives. 2897s After this operation, 671 kB of additional disk space will be used. 2897s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libdconf1 arm64 0.40.0-4 [39.2 kB] 2897s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-service arm64 0.40.0-4 [26.1 kB] 2897s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-gsettings-backend arm64 0.40.0-4 [21.6 kB] 2897s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 dpkg-repack all 1.52 [12.1 kB] 2897s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 session-migration arm64 0.3.6 [9512 B] 2897s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 gsettings-desktop-schemas all 46~beta-3ubuntu1 [35.3 kB] 2899s Fetched 144 kB in 0s (344 kB/s) 2899s Selecting previously unselected package libdconf1:arm64. 2899s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2899s Preparing to unpack .../0-libdconf1_0.40.0-4_arm64.deb ... 2899s Unpacking libdconf1:arm64 (0.40.0-4) ... 2899s Selecting previously unselected package dconf-service. 2899s Preparing to unpack .../1-dconf-service_0.40.0-4_arm64.deb ... 2899s Unpacking dconf-service (0.40.0-4) ... 2900s Selecting previously unselected package dconf-gsettings-backend:arm64. 2900s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4_arm64.deb ... 2900s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4) ... 2900s Selecting previously unselected package dpkg-repack. 2900s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 2900s Unpacking dpkg-repack (1.52) ... 2900s Selecting previously unselected package session-migration. 2900s Preparing to unpack .../4-session-migration_0.3.6_arm64.deb ... 2900s Unpacking session-migration (0.3.6) ... 2900s Selecting previously unselected package gsettings-desktop-schemas. 2900s Preparing to unpack .../5-gsettings-desktop-schemas_46~beta-3ubuntu1_all.deb ... 2900s Unpacking gsettings-desktop-schemas (46~beta-3ubuntu1) ... 2900s Setting up session-migration (0.3.6) ... 2901s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 2901s Setting up dpkg-repack (1.52) ... 2901s Setting up libdconf1:arm64 (0.40.0-4) ... 2901s Setting up dconf-service (0.40.0-4) ... 2901s Setting up dconf-gsettings-backend:arm64 (0.40.0-4) ... 2901s Setting up gsettings-desktop-schemas (46~beta-3ubuntu1) ... 2901s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2901s Processing triggers for man-db (2.12.0-3) ... 2902s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2902s Setting up autopkgtest-satdep (0) ... 2912s (Reading database ... 75509 files and directories currently installed.) 2912s Removing autopkgtest-satdep (0) ... 2935s autopkgtest [15:42:16]: test 1065022-futureproofing: [----------------------- 2936s + export DEBIAN_FRONTEND=noninteractive 2936s + n=0 2936s + failed=0 2936s + binary_package=libglib2.0-0t64 2936s + future_binary_package=libglib2.0-0xyz 2936s dpkg-repack 1.52 2936s + pwd 2936s + srcdir=/tmp/autopkgtest.c20Xp8/build.lkm/src 2936s + mktemp -d 2936s + tmpdir=/tmp/tmp.KHxpKGpeHb 2936s + cd /tmp/tmp.KHxpKGpeHb 2936s + [ -e /tmp/autopkgtest.c20Xp8/build.lkm/src/debian/tests/manual/local-1065022.sources ] 2936s + dpkg-query -W dpkg-repack 2936s + dpkg-repack --generate libglib2.0-0t64 2936s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 2937s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.3wDGGD for libglib2.0-0t64 2937s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.3wDGGD ." 2937s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.3wDGGD/DEBIAN/control 2937s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.3wDGGD/DEBIAN/control 2937s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.3wDGGD/DEBIAN/control 2937s + 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.3wDGGD/DEBIAN/control 2937s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 2937s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.3wDGGD libglib2.0-0xyz.deb 2942s + apt-get -y install ./libglib2.0-0xyz.deb 2943s Reading package lists... 2944s Building dependency tree... 2944s Reading state information... 2946s The following packages were automatically installed and are no longer required: 2946s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 2946s python3-certifi python3-chardet python3-cryptography python3-httplib2 2946s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 2946s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 2946s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 2946s Use 'sudo apt autoremove' to remove them. 2946s Suggested packages: 2946s low-memory-monitor 2946s The following packages will be REMOVED: 2946s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 2946s libglib2.0-0t64 networkd-dispatcher python3-gi 2946s The following NEW packages will be installed: 2946s libglib2.0-0xyz 2947s 0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded. 2947s Need to get 0 B/1527 kB of archives. 2947s After this operation, 2922 kB disk space will be freed. 2947s Get:1 /tmp/tmp.KHxpKGpeHb/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.79.3-3ubuntu3 [1527 kB] 2949s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2949s Removing networkd-dispatcher (2.2.4-1) ... 2951s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 2953s Removing apport (2.28.0-0ubuntu1) ... 2955s Removing python3-gi (3.47.0-3) ... 2956s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 2956s Removing gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 2956s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 2956s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s session-migration depends on libglib2.0-0 (>= 2.51.1); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libdconf1:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s dconf-service depends on libglib2.0-0 (>= 2.55.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s dconf-gsettings-backend:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s bolt depends on libglib2.0-0 (>= 2.56.0); however: 2956s Package libglib2.0-0:arm64 is not installed. 2956s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 2956s 2956s Removing libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2957s Selecting previously unselected package libglib2.0-0xyz:arm64. 2957s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2957s Preparing to unpack .../libglib2.0-0xyz.deb ... 2957s Unpacking libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2957s Setting up libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2957s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2957s Processing triggers for man-db (2.12.0-3) ... 2960s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2960s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2960s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2960s + n=1 2960s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2960s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2960s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2960s + n=2 2960s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2960s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2960s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s + n=3 2960s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s + n=4 2960s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s + n=5 2960s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s + n=6 2960s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s + apt-get -y purge libglib2.0-0t64 2960s ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2960s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2960s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2961s Reading package lists... 2962s Building dependency tree... 2962s Reading state information... 2964s The following packages were automatically installed and are no longer required: 2964s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 2964s python3-certifi python3-chardet python3-cryptography python3-httplib2 2964s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 2964s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 2964s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 2964s Use 'sudo apt autoremove' to remove them. 2964s The following packages will be REMOVED: 2964s libglib2.0-0t64* 2966s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2966s After this operation, 0 B of additional disk space will be used. 2966s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2966s Purging configuration files for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2968s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xmlok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2968s 2968s + n=7 2968s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2968s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2968s + ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2968s assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2968s + n=8 2968s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2968s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 2968s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + n=9 2968s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + n=10 2968s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 2968s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s + n=11 2968s + ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s + ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s + n=12 2968s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 2968s + apt-get -y purge libglib2.0-0xyz 2968s Reading package lists... 2969s Building dependency tree... 2969s Reading state information... 2972s The following packages were automatically installed and are no longer required: 2972s apport-symptoms fwupd-signed jq libarchive13 libatasmart4 libbytesize-common 2972s libbytesize1 libcurl3-gnutls libflashrom1 libftdi1-2 libglib2.0-data 2972s libgpgme11 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1 libonig5 2972s libprotobuf-c1 python3-apport python3-blinker python3-certifi 2972s python3-cffi-backend python3-chardet python3-cryptography python3-httplib2 2972s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 2972s python3-markdown-it python3-mdurl python3-netifaces python3-oauthlib 2972s python3-openssl python3-problem-report python3-pygments python3-pyparsing 2972s python3-requests python3-rich python3-six python3-systemd python3-urllib3 2972s python3-wadllib xdg-user-dirs 2972s Use 'sudo apt autoremove' to remove them. 2972s The following packages will be REMOVED: 2972s bolt* dconf-gsettings-backend* dconf-service* fwupd* 2972s gsettings-desktop-schemas* libblockdev-crypto3* libblockdev-fs3* 2972s libblockdev-loop3* libblockdev-mdraid3* libblockdev-nvme3* 2972s libblockdev-part3* libblockdev-swap3* libblockdev-utils3* libblockdev3* 2972s libdconf1* libfwupd2* libgirepository-1.0-1* libglib2.0-0xyz* 2972s libgudev-1.0-0* libgusb2* libjcat1* libjson-glib-1.0-0* libmbim-glib4* 2972s libmbim-proxy* libmm-glib0* libnetplan0* libpolkit-agent-1-0* 2972s libpolkit-gobject-1-0* libqmi-glib5* libqmi-proxy* libqrtr-glib0* 2972s libudisks2-0* libvolume-key1* libxmlb2* netplan-generator* netplan.io* 2972s python3-dbus* python3-netplan* session-migration* shared-mime-info* 2972s ubuntu-minimal* udisks2* 2973s 0 upgraded, 0 newly installed, 42 to remove and 0 not upgraded. 2973s After this operation, 32.1 MB disk space will be freed. 2974s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2974s Removing bolt (0.9.6-2) ... 2976s Removing gsettings-desktop-schemas (46~beta-3ubuntu1) ... 2976s Removing dconf-gsettings-backend:arm64 (0.40.0-4) ... 2976s Removing dconf-service (0.40.0-4) ... 2976s Removing fwupd (1.9.14-1) ... 2978s Removing udisks2 (2.10.1-1ubuntu2) ... 2980s Removing libblockdev-crypto3:arm64 (3.1.0-1) ... 2981s Removing libblockdev-fs3:arm64 (3.1.0-1) ... 2981s Removing libblockdev-loop3:arm64 (3.1.0-1) ... 2981s Removing libblockdev-mdraid3:arm64 (3.1.0-1) ... 2981s Removing libblockdev-nvme3:arm64 (3.1.0-1) ... 2981s Removing libblockdev-part3:arm64 (3.1.0-1) ... 2981s Removing libblockdev-swap3:arm64 (3.1.0-1) ... 2982s Removing libblockdev3:arm64 (3.1.0-1) ... 2982s Removing libblockdev-utils3:arm64 (3.1.0-1) ... 2982s Removing libdconf1:arm64 (0.40.0-4) ... 2983s Removing libfwupd2:arm64 (1.9.14-1) ... 2983s Removing libgirepository-1.0-1:arm64 (1.79.1-1) ... 2983s Removing shared-mime-info (2.4-1) ... 2983s Removing session-migration (0.3.6) ... 2984s Removing ubuntu-minimal (1.535) ... 2984s Removing netplan.io (0.107.1-3) ... 2984s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 2984s Removing python3-dbus (1.3.2-5build1) ... 2985s Removing libvolume-key1:arm64 (0.3.12-5build2) ... 2985s Removing libgudev-1.0-0:arm64 (1:238-3) ... 2986s Removing libgusb2:arm64 (0.4.8-1) ... 2986s Removing libjcat1:arm64 (0.2.0-2) ... 2986s Removing libjson-glib-1.0-0:arm64 (1.8.0-2) ... 2986s Removing libqmi-proxy (1.34.0-2) ... 2986s Removing libqmi-glib5:arm64 (1.34.0-2) ... 2987s Removing libmbim-proxy (1.30.0-1) ... 2987s Removing libmbim-glib4:arm64 (1.30.0-1) ... 2987s Removing libmm-glib0:arm64 (1.22.0-3) ... 2987s Removing python3-netplan (0.107.1-3) ... 2987s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 2987s Removing netplan-generator (0.107.1-3) ... 2988s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 2988s Removing libnetplan0:arm64 (0.107.1-3) ... 2988s Removing libpolkit-agent-1-0:arm64 (124-1) ... 2988s Removing libpolkit-gobject-1-0:arm64 (124-1) ... 2989s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu2) ... 2989s Removing libudisks2-0:arm64 (2.10.1-1ubuntu2) ... 2989s Removing libxmlb2:arm64 (0.3.15-1) ... 2989s Removing libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2989s Processing triggers for man-db (2.12.0-3) ... 2991s Processing triggers for dbus (1.14.10-4ubuntu2) ... 2992s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2992s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 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.) 2992s Purging configuration files for udisks2 (2.10.1-1ubuntu2) ... 2994s Purging configuration files for session-migration (0.3.6) ... 2994s Purging configuration files for libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 2994s Purging configuration files for libblockdev3:arm64 (3.1.0-1) ... 2994s Purging configuration files for shared-mime-info (2.4-1) ... 2994s Purging configuration files for fwupd (1.9.14-1) ... 2996s Purging configuration files for bolt (0.9.6-2) ... 2997s + assert_notok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2997s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2997s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2997s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2997s 1..16 2997s test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2997s + n=13 2997s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2997s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 2997s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2997s + n=14 2997s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2997s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 2997s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 2997s + n=15 2997s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 2997s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 2997s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 2997s + n=16 2997s + test -e /usr/lib/*/gio/modules/giomodule.cache 2997s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 2997s + echo 1..16 2997s + exit 0 2998s autopkgtest [15:43:19]: test 1065022-futureproofing: -----------------------] 2998s 1065022-futureproofing PASS 2998s autopkgtest [15:43:19]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 2999s autopkgtest [15:43:20]: @@@@@@@@@@@@@@@@@@@@ summary 2999s build PASS (superficial) 2999s build-static PASS (superficial) 2999s installed-tests PASS 2999s closure-refcount PASS 2999s debugcontroller PASS 2999s gdbus-server-auth PASS 2999s gdbus-threading PASS 2999s gmenumodel PASS 2999s mainloop PASS 2999s memory-monitor-dbus PASS 2999s socket PASS 2999s testfilemonitor PASS 2999s thread-pool-slow PASS 2999s threadtests PASS 2999s timeout PASS 2999s timer PASS 2999s 1065022-futureproofing PASS 3012s Creating nova instance adt-noble-arm64-glib2.0-20240309-145321-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)... 3012s Creating nova instance adt-noble-arm64-glib2.0-20240309-145321-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)... 3012s Creating nova instance adt-noble-arm64-glib2.0-20240309-145321-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)...